Marker Camera

class zoloto.cameras.marker.MarkerCamera(marker_id, marker_size, *, calibration_file=None)[source]

A camera which always returns a single, full-screen marker

BORDER_SIZE = 40
__init__(marker_id, marker_size, *, calibration_file=None)[source]

Initialize self. See help(type(self)) for accurate signature.

Return type

None

capture_frame()[source]
Return type

ndarray

close()
Return type

None

get_calibrations()[source]
Return type

Optional[CalibrationParameters]

get_detector_params(params)
Return type

aruco_DetectorParameters

get_marker_size(marker_id)[source]
Return type

int

get_resolution()[source]
Return type

Tuple[int, int]

get_visible_markers(*, frame=None)
Return type

List[int]

abstract property marker_type
Return type

MarkerType

process_frame(*, frame=None)
Return type

Generator[Union[UncalibratedMarker, Marker], None, None]

process_frame_eager(*, frame=None)
Return type

Generator[EagerMarker, None, None]

save_frame(filename, *, annotate=False, frame=None)
Return type

ndarray