DecodedFrame¶
Represents a single decoded video frame, including metadata and raw pixel data.
| Attributes: |
|
|---|
age(reference=None)
¶
Calculates the age of the frame in seconds.
| Parameters: |
|
|---|
| Returns: |
|
|---|
shape()
¶
Returns the shape of the frame as a tuple (height, width, channels).
to_bgr()
¶
Converts the RGB frame to BGR format.
| Returns: |
|
|---|