The camera back-end for the `freemocap` project - or - An easy and efficient way to connect to one or more cameras and record synchronized videos💀📸
synchronizer.py : creates a class that takes in frame payloads via the method add_frame_payload() and then puts synchronized frame bundles on a queue as they become available. No frame bundles will be placed until all ports have provided at least two frames.
synchronize_frame_payloads.py: an example demonstrating how the Synchronizer can interface with the CameraGroup to create synched frame bundles. For illustration purposes, the synced output is displayed to openCV windows. For later inspection, frame_time and bundle data .csv files are saved to the default session directory.
This PR introduces two modules:
synchronizer.py
: creates a class that takes in frame payloads via the methodadd_frame_payload()
and then puts synchronized frame bundles on a queue as they become available. No frame bundles will be placed until all ports have provided at least two frames.synchronize_frame_payloads.py
: an example demonstrating how the Synchronizer can interface with the CameraGroup to create synched frame bundles. For illustration purposes, the synced output is displayed to openCV windows. For later inspection, frame_time and bundle data.csv
files are saved to the default session directory.