Skip to content

arguments

CameraName #

Bases: ArgEnum

Supported cameras

Source code in cogip/tools/camera/arguments.py
17
18
19
20
21
class CameraName(ArgEnum):
    """Supported cameras"""

    hbv = Path("/dev/v4l/by-id/usb-HBV_HD_CAMERA_HBV_HD_CAMERA-video-index0")
    sonix = Path("/dev/v4l/by-id/usb-Sonix_Technology_Co.__Ltd._USB_2.0_Camera_SN0001-video-index0")

VideoCodec #

Bases: ArgEnum

Video codecs supported by our cameras

Source code in cogip/tools/camera/arguments.py
 7
 8
 9
10
11
class VideoCodec(ArgEnum):
    """Video codecs supported by our cameras"""

    mjpg = "MJPG"
    yuyv = "YUYV"