Cameras

Base Camera

class zoloto.cameras.base.BaseCamera(*, marker_size=None, marker_type, calibration_file=None)[source]
__init__(*, marker_size=None, marker_type, calibration_file=None)[source]
abstract capture_frame()[source]
Return type

ndarray[Any, dtype[+ScalarType]]

close()[source]
Return type

None

get_detector_params()[source]

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

aruco_DetectorParameters

get_marker_size(marker_id)[source]
Return type

int

get_visible_markers(*, frame=None)[source]
process_frame(*, frame=None)[source]
process_frame_eager(*, frame=None)[source]
save_frame(filename, *, annotate=False, frame=None)[source]