JetsonHacksNano / CSI-Camera

Simple example of using a CSI-Camera (like the Raspberry Pi Version 2 camera) with the NVIDIA Jetson Developer Kit
Other
817 stars 287 forks source link

Unable to open camera #27

Open hbzhang opened 4 years ago

hbzhang commented 4 years ago

when I run this,

python simple_camera.py

I got:

nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)60/1 ! nvvidconv flip-method=0 ! video/x-raw, width=(int)1280, height=(int)720, format=(string)BGRx ! videoconvert ! video/x-raw, format=(string)BGR ! appsink Unable to open camera

Why? Thanks

BaptisteAmato commented 4 years ago

Hi,

Which version of OpenCV are you using? I had the same problem while using cv2 3.2, it worked after upgrading it.

xuecheng990531 commented 2 years ago

when I install opencv_contribute_python,it dosen't work

jaysojitrak commented 2 years ago

hello @BaptisteAmato ,

which version did you use to install

thanks in advance