How to use cap = cv2.VideoCapture(0) in Google Colab

前端 未结 2 1224
走了就别回头了
走了就别回头了 2020-12-06 02:38

cap = cv2.VideoCapture(0) is not opening web camera when executing the command in Google Colab.

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-06 03:13

    1. Go to Google Colaboratory

    2. Create a new notebook

    3. Click snippet panel

    4. Click Camera Capture. Click insert

    5. Run script: Shift + Enter

提交回复
热议问题