2
我已經通過執行以下「port install opencv + python27」通過macports安裝OpenCV。使用C並調用cvCaptureFromCAM(0)我可以很好地從凸輪捕獲幀。當我用python的cv.CaptureFromCAM嘗試(0)它具有以下死亡:無法使用opencv初始化mac上的ps3 eye,但c例子工作正常
QTKit didn't find any attached Video Input Devices!
Warning, camera failed to properly initialize!
Cleaned up camera.
Traceback (most recent call last):
File "test.py", line 5, in <module>
temp=cv.CloneImage(frame)
剛剛發現這一點:HTTP:// stackoverflow.com/questions/5041752/opencv-capture-from-usb-not-isight-osx。我將通過自制軟件嘗試32位版本。 – matt
沒有運氣,同樣的錯誤:( – matt