FrameSource Class
Represents a source of image frame data, used as input to or output from Vision AI operations.
Constructor
FrameSource(format: FrameFormat, frame_callback: FrameSourceCallback | None = None)
Parameters
Name | Description |
---|---|
format
Required
|
Specifies the frame format |
frame_callback
|
The object containing the callback function for the pulling the frame data Default value: None
|
Methods
close |
Closes the frame source for writing. |
close
Closes the frame source for writing.
close() -> None
Attributes
frame_writer
properties
A collection of properties and their values defined for this FrameSource.