Skip to content

mossan-hoshi/cpp-opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppOpenCV

Template Visual Studio C++ solution using OpenCV.

Requirements

  • Windows 10
  • Visual Studio 2019(configurations is x64-Debug or x64-Release)
  • C++14 or over
  • OpenCV (any version which ready for VS2019 and has opencv_world*.dll)
    • We used 4.5.1

Installation(windows)

  1. Clone Repository
  2. Download and Place OpenCV
    • Download OpenCV from official page(For example opencv-4.5.1-vc14_vc15.exe)
    • Execute downloaded file and expand files in lib folder of this repogitory README_step2
  3. Change Project Setting
    • Execute scripts/step3_SetOpencvVersion.batand change OpenCV version information in project setting file(CppOpenCV\CppOpenCV.vcxproj)
      • This batch require the version string of placed OpenCV
      • For example: lib\opencv\build\x64\vc15\bin\opencv_world451.dll then input 451
      • this batch overwrite the project setting file by the replaced template(CppOpenCV\CppOpenCV.vcxproj_sample) content.
        • version string pattern %OPENCV_VERSION% is replaced to inputted string.
    • This step overwite project setting file.If you already changed project files(added source code/change project setting or etc.), you should do this step by manually(change %OPENCV_VERSION% pattern in project setting file to your placed OpenCV version string).
  4. Build and Run
    • x64/Debug or x64/Release are available

About

Template Visual Studio C++ solution using OpenCV.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published