dattalab-6-cam / multicamera_acquisition

Synchronized machine vision acquisition across multiple cameras using an arduino (Supports FLIR and Basler)
MIT License
4 stars 5 forks source link

Minor refactor and fix tests #40

Closed jonahpearl closed 5 months ago

jonahpearl commented 6 months ago
jonahpearl commented 6 months ago

These are the required changes from my config:

for camera_name, camera_info in config['cameras'].items():
    camera_info['gamma'] = 1
    camera_info['writer']["rc"] = "cbr"
    camera_info['writer']["bitrate"] = "10M"
    camera_info['writer']["max_video_frames"] = None
    if "writer_depth" in camera_info:
        camera_info['writer_depth']["max_video_frames"] = None