File Cameras

Image File Camera

class zoloto.cameras.file.ImageFileCamera(image_path, *, calibration_file=None)[source]
__init__(image_path, *, 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()
Return type

Optional[CalibrationParameters]

get_detector_params(params)
Return type

aruco_DetectorParameters

abstract get_marker_size(marker_id)
Return type

int

get_visible_markers(*, frame=None)
Return type

List[int]

abstract property marker_dict
Return type

MarkerDict

process_frame(*, frame=None)
Return type

Generator[Marker, None, None]

process_frame_eager(*, frame=None)
Return type

Generator[Marker, None, None]

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

ndarray

Video File Camera

class zoloto.cameras.file.VideoFileCamera(video_path, *, calibration_file=None)[source]
__init__(video_path, *, calibration_file=None)[source]

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

Return type

None

capture_frame()[source]
Return type

ndarray

close()[source]
Return type

None

get_calibrations()
Return type

Optional[CalibrationParameters]

get_detector_params(params)
Return type

aruco_DetectorParameters

abstract get_marker_size(marker_id)
Return type

int

get_video_capture(video_path)[source]
Return type

VideoCapture

get_visible_markers(*, frame=None)
Return type

List[int]

abstract property marker_dict
Return type

MarkerDict

process_frame(*, frame=None)
Return type

Generator[Marker, None, None]

process_frame_eager(*, frame=None)
Return type

Generator[Marker, None, None]

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

ndarray