I want to know if it is possible to use opencv gpu functions like those from here? Or I have to wrap it into python class.
8
votes
2 Answers
6
votes
Right now OpenCV 2.4.7 doesn't support the GPU module on OpenCV-Python.
That means that you must write wrappers yourself.
1
votes
To answer the question in the comment made by fbence in the accepted answer, this is now possible with OpenCV 3 and Python 2.7+ or Python 3+. However, the OpenCV 3 GPU module must be compiled from source.
Assuming you are working on a Linux system you can follow these guides:
- For OpenCV 3 GPU and Python 2.7+ follow this guide.
- For OpenCV 3 GPU and Python 3, follow this guide from Step 0 to Step 5.