- Create a project folder , create a .cpp file , create a CMakeLists.txt
- Then run
cmake .
- then run
make
- Run the executable
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#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]+"
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