[英]Python and gpu OpenCV functions
Right now OpenCV 2.4.7 doesn't support the GPU module on OpenCV-Python . 目前, OpenCV 2.4.7不支持OpenCV-Python上的GPU模块 。
That means that you must write wrappers yourself . 这意味着您必须自己编写包装器 。
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+. 要在fbence在接受的答案中的注释中回答问题,现在可以使用OpenCV 3和Python 2.7+或Python 3+。 However, the OpenCV 3 GPU module must be compiled from source. 但是,OpenCV 3 GPU模块必须从源代码编译。
Assuming you are working on a Linux system you can follow these guides: 假设您正在Linux系统上工作,则可以遵循以下指南:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.