Cameras
Camera
- class zoloto.cameras.camera.Camera(camera_id, *, marker_size=None, marker_type, calibration_file=None, resolution=None)[source]
- __init__(camera_id, *, marker_size=None, marker_type, calibration_file=None, resolution=None)[source]
- get_detector_params()
Note: We modify the default parameters slightly to improve detection on markers with hard borders (like the ones generated from zoloto marker-pdfs)
- Return type
- get_visible_markers(*, frame=None)
- process_frame(*, frame=None)
- process_frame_eager(*, frame=None)
- save_frame(filename, *, annotate=False, frame=None)
Snapshot Camera
- class zoloto.cameras.camera.SnapshotCamera(camera_id, *, marker_size=None, marker_type, calibration_file=None, resolution=None)[source]
A modified version of Camera optimised for single use.
Doesn’t keep the camera open between captures
- __init__(camera_id, *, marker_size=None, marker_type, calibration_file=None, resolution=None)[source]
- get_detector_params()
Note: We modify the default parameters slightly to improve detection on markers with hard borders (like the ones generated from zoloto marker-pdfs)
- Return type
- get_visible_markers(*, frame=None)
- process_frame(*, frame=None)
- process_frame_eager(*, frame=None)
- save_frame(filename, *, annotate=False, frame=None)