FrameSource Class
Represents a source of image frame data, used as input to or output from Vision AI operations.
- Inheritance
-
builtins.objectFrameSource
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.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python