I am trying make the raspberry pi camera work with opencv

后端 未结 5 1499
闹比i
闹比i 2021-01-16 10:31

I tried making this code work with the raspberry pi cam. how do you make the cv2.VideoCapture(0) recognise the raspberry pi camera as the designated camera

         


        
5条回答
  •  礼貌的吻别
    2021-01-16 11:19

    Try the following:

    video_capture = cv2.VideoCapture(
                get_jetson_gstreamer_source(), cv2.CAP_GSTREAMER
            )
    

提交回复
热议问题