Skip to content

leonardochang36/opencv-cpp-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV Template

A simple C++ project to serve as a starting point for an OpenCV project. I use CMake to simplify the compilation process.

Prerequisites

  • CMake
  • OpenCV

How to compile

CMake reads the CMakeLists.txt we have in the project and creates a Makefile that can be used to build the project.

We first create a directory to store build files:

$ mkdir build

Run CMake from the build directory:

$ cd build
$ cmake ..

Build the project:

$ cmake --build . --config Release

Run:

$ ./my_project

You must be able to see your camera feed and a negative feed.

HAPPY CODING!!

About

A simple C++ template project to serve as a starting point for an OpenCV project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published