How can we use opencv cuda module from python? [closed]
Hi, I need to use the cv::cuda::HOG from python to get the HOG descriptor from an image. I tried using Python.Boost for creating a wrapper for a C++ function which gets the hog descriptor using opencv cuda module and then importing this function in python. However, I get the following error:ImportError: ../build/lib.linux-x86_64-2.7/pyBoostHOG.so: undefined symbol: _ZN2cv4cuda6Stream4NullEv.
Is there any other way to do this?
Well I have solved this problem. A undefined symbol in .so file error refers to absence of required libraries . The symbol can be used to decode which library needs to be included.
I find correct file to include and i was trying to include it before comping my C++ class. But I have another problem:
.../include/opencv2/core/cuda.hpp:317: Error: Syntax error in input(1).
Where do you include these file and how you solve this particular error (which wrapper, where do you include these file form opencv?).
Thanks in advance.