Unable to cv::cvtColor() from python_module.cpp
Closed this issue · 1 comments
rajivs123 commented
I am trying to call cv::cvtColor() from one of the exposed funtion in python_module.cpp.
After building and getting the pbcvt.so file, from my python module 'import pbcvt' causing following error by the python interpreter:
undefined symbol: _ZN2cv8cvtColorERKNS_11_InputArrayERKNS_12_OutputArrayEii
How to resolve it?
rajivs123 commented
Ok, i am able to resolve it by changing the provided CMakeLists.txt so as to find full opencv components instead of 'core' component only.
find_package(OpenCV REQUIRED)