File Cameras

Image File Camera

class zoloto.cameras.file.ImageFileCamera(image_path, *, marker_size=None, marker_type, calibration_file=None)[source]
__init__(image_path, *, marker_size=None, marker_type, calibration_file=None)[source]
capture_frame()[source]
Return type

ndarray[Any, dtype[+ScalarType]]

close()
Return type

None

get_detector_params()
Return type

aruco_DetectorParameters

get_marker_size(marker_id)
Return type

int

get_visible_markers(*, frame=None)
Return type

List[int]

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[Any, dtype[+ScalarType]]

Video File Camera

class zoloto.cameras.file.VideoFileCamera(video_path, *, marker_size=None, marker_type, calibration_file=None)[source]
__init__(video_path, *, marker_size=None, marker_type, calibration_file=None)[source]
__iter__()[source]
Return type

Generator[ndarray[Any, dtype[+ScalarType]], None, None]

capture_frame()
Return type

ndarray[Any, dtype[+ScalarType]]

close()[source]
Return type

None

get_detector_params()
Return type

aruco_DetectorParameters

get_marker_size(marker_id)
Return type

int

get_resolution()[source]
Return type

Tuple[int, int]

get_visible_markers(*, frame=None)
Return type

List[int]

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[Any, dtype[+ScalarType]]

show(annotate=False)
Return type

None