将OpenCV与RasPiCam和python一起使用


13

有没有人能够让OpenCV使用python直接从RasPiCam板上播放视频?

我已经看到一些涉及解决方法的项目,但是我感兴趣的是能够将RasPiCam板与OpenCV一起使用,就好像它是USB凸轮一样。

理想情况下,我想执行以下操作:

import cv2.cv as cv
capture = cv.CreateCameraCapture(-1) 
#some other code to actually display the video

Answers:



By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.