Category Archives: OpenCV

Sample code for converting image to grey realtime opencv mac

sample code for converting image to grey realtime opencv mac

 

imgproc file not found xcode opencv

imgproc file not found xcode opencv 1. Go to build rules -> Add binary libopencv_imgproc2.4.10.dylib 2. Try changing the path to #include<opencv2/imgproc/imgproc.hpp> Similarly, #include<opencv2/highgui/highgui.hpp>   Note : Any error in Xcode appears like “exit with -1” then understand it’s that library hasn’t been included properly.    

What are namespaces in C++ ?

What are namespaces in C++ ? Consider a situation, when we have two persons with the same name, Steve, in the same class. Whenever we need to differentiate them definitely we would have to use some additional information along with their name, like either the area if they live in different area or their mother… Read More »

What is .hpp header file ?

What is .hpp header file ? .hpp (header file for C plus plus) is a file extension for C++ header files used by MarsDigital C++ (previous Borland C++) Back in the before about 1998, C++ used iostream.h for its streams header. The C++98 standard added namespaces to the language and placed all standard libraries in the… Read More »

What is .cpp file ?

What is .cpp file ? A file name with extension .cpp is a file that contains the source code written in the C++ (CPP – C plus plus) computer programming language. CPP file is one of the file from the many files in a C++ project and when all of them are compiled together, CPP creates… Read More »

Installing OpenCV in Mac OSx tutorial

Installing OpenCV in Mac OSx tutorial – OpenCV 2.4.10 on OSx 10.10 Yosemite Please see the latest blog to install OpenCV 3 on macOS here ! Notes : Consider following suggestions before you start installing OpenCV on your Mac 1. Do not use any “beta” versions – for both OpenCV and XCode (Please Avoid / Use stable… Read More »

Terminal command to navigate in Macintosh drive

You most probably are in your User directory so Macintosh is the root directory so if you want to navigate in it and access any file in it then type “cd /”   Terminal command to navigate in Macintosh drive