Python and gpu OpenCV functions

后端 未结 2 1611
别那么骄傲
别那么骄傲 2020-12-07 01:55

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.

相关标签:
2条回答
  • 2020-12-07 02:08

    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.
    0 讨论(0)
  • 2020-12-07 02:10

    Right now OpenCV 2.4.7 doesn't support the GPU module on OpenCV-Python.

    That means that you must write wrappers yourself.

    0 讨论(0)
提交回复
热议问题