Base Streaming Camera¶
-
class
openflexure_microscope.camera.base.
TrackerFrame
(size, time)¶ -
size
¶ Alias for field number 0
-
time
¶ Alias for field number 1
-
-
class
openflexure_microscope.camera.base.
FrameStream
(*args, **kwargs)[source]¶ A file-like object used to analyse MJPEG frames.
Instead of analysing a load of real MJPEG frames after they’ve been stored in a BytesIO stream, we tell the camera to write frames to this class instead.
We then do analysis as the frames are written, and discard the heavier image data.
-
class
openflexure_microscope.camera.base.
BaseCamera
[source]¶ Base implementation of StreamingCamera.
-
configuration
¶ The current camera configuration.
-
state
¶ The current read-only camera state.
-
start_worker
(timeout: int = 5) → bool[source]¶ Start the background camera thread if it isn’t running yet.
-