Skip to content

vipin14119/openCV

Repository files navigation

My opencv basics

How to Compile and run opencv file

  1. Create a project folder , create a .cpp file , create a CMakeLists.txt
  2. Then run cmake .
  3. then run make
  4. Run the executable

My codes Header files

#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>

My codes defined preprocessors patterns

#Define I_Image "Input Image"
#Define O_Image "Output Image"
#Define I[1-9]+ "Input Image [1-9]+"
#Define O[1-9]+ "Output Image [1-9]+"

Functions in this project so far

  1. myReadImage(Mat object, read options)

Use this function when we have to read image 2. myShowImage(image title, Mat object)

Use this function when we have to show image with a title

Releases

No releases published

Packages

No packages published