Opencv compilation
Hey Do we need to compile with opencv_contrib?
Do you have list of cmake flags needed to compile opencv for bgslib ?
Also,
After installing opencv on Windows, is it okay if i install bgslib with only these commands:
python setup.py build & python setup.py install
I want to use only python wrappers. Will these commands compile and install backend C++ algorithms and create python wrappers?
Please guide me.
Hi @mitesh741 ,
To compile the C++ code for BGSLibrary successfully, it is essential to build and install the official OpenCV library, even if you only need the Python Wrapper. Please note that the opencv_contrib python package does not include the necessary C++ libraries for compiling OpenCV apps.
Once you have built the BGSLibrary, you can utilize the opencv_contrib package to run the demo scripts. However, it's important to mention that the opencv_contrib package is optional. During the compilation of the official OpenCV library, you have the option to generate the Python wrappers (also known as the cv2 package).