Skip to content

basic_bot.debug.test_opencv_capture

This diagnostic script will test the installation of open cv, and its ability to capture a 10sec video from a camera and save it to a file.

usage:

   python -m basic_bot.debug.test_opencv_capture 0
where 0 (default; optional) is the video channel to use.

from https://www.geeksforgeeks.org/saving-a-video-using-opencv/

video

type: ignore[call-arg]