Code Monkey home page Code Monkey logo

imgconverttojpg's Introduction

ImgConvert - Steps to setup OpenCV in Visual Studio C++ Project

Step 1: Navigate to https://github.com/opencv/opencv and Goto Releases and download latest virsion of OpenCV (.exe file). Install downloaded OpenCV in your Computer.

Step 2: Setup Environmental Veriable (Eg. C:\opencv\build\x64\vc15\bin)

Step 3: Create C++ Project in Visual Studio and After successfully created a project Right Click on the project and Goto the Properties (Project>Properties).

Step 4: Right Click on Project in the right side (Project > Properties > VC++ Directories >)

Step 5: Within "VC++ Directories" >

Click on "Include Directories" and Click Edit > Click on New Line and Paste the Directory Path. (Eg. C:\opencv\build\include)

Click on "Library Directories" and Click Edit > Click on New Line and Paste the Directory Path. (Eg. C:\opencv\build\x64\vc15\lib)

Step 6: Navigate to Linker > Input -- With in Input Click on Additional Dependencies and click Edit. And Add Dependency name. (Eg. opencv_world451d.lib;)

This file name will be found in OpenCV Directory (Eg. C:\opencv\build\x64\vc15\bin)

Within the following Path, "opencv_world451d.dll" -> similar kind of file will be present (File name may vary according to the versions).

Copy the file name and follow the step 6. But note, change file extention ".dll" to ".lib" while adding into Additional Dependencies.

Step 7: By now, Successfully Seted up OpenCV in the Visual Studio C++ Project.

imgconverttojpg's People

Contributors

rakeshgunnam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.