Cameras¶
Camera¶
-
class
zoloto.cameras.camera.
Camera
(camera_id, *, calibration_file=None)[source]¶ -
__init__
(camera_id, *, calibration_file=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
- Return type
None
-
get_calibrations
()¶ - Return type
-
get_detector_params
(params)¶ - Return type
-
abstract property
marker_type
¶ - Return type
-
process_frame
(*, frame=None)¶ - Return type
Generator
[Union
[UncalibratedMarker
,Marker
],None
,None
]
-
process_frame_eager
(*, frame=None)¶ - Return type
Generator
[EagerMarker
,None
,None
]
-
Snapshot Camera¶
-
class
zoloto.cameras.camera.
SnapshotCamera
(camera_id, *, calibration_file=None)[source]¶ A modified version of Camera optimised for single use.
Doesn’t keep the camera open between captures
-
__init__
(camera_id, *, calibration_file=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
- Return type
None
-
close
()¶ - Return type
None
-
classmethod
discover
(**kwargs)[source]¶ - Return type
Generator
[SnapshotCamera
,None
,None
]
-
get_calibrations
()¶ - Return type
-
get_detector_params
(params)¶ - Return type
-
abstract property
marker_type
¶ - Return type
-
process_frame
(*, frame=None)¶ - Return type
Generator
[Union
[UncalibratedMarker
,Marker
],None
,None
]
-
process_frame_eager
(*, frame=None)¶ - Return type
Generator
[EagerMarker
,None
,None
]