VideoMetadata¶
- class oci.ai_vision.models.VideoMetadata(**kwargs)¶
Bases:
objectVideo information.
Methods:
__init__(**kwargs)Initializes a new VideoMetadata object with values from keyword arguments.
Attributes:
[Required] Gets the frame_count of this VideoMetadata.
[Required] Gets the frame_height of this VideoMetadata.
[Required] Gets the frame_rate of this VideoMetadata.
[Required] Gets the frame_width of this VideoMetadata.
- __init__(**kwargs)¶
Initializes a new VideoMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
frame_count (int) – The value to assign to the frame_count property of this VideoMetadata.
frame_rate (float) – The value to assign to the frame_rate property of this VideoMetadata.
frame_width (int) – The value to assign to the frame_width property of this VideoMetadata.
frame_height (int) – The value to assign to the frame_height property of this VideoMetadata.
- property frame_count¶
[Required] Gets the frame_count of this VideoMetadata. Total number of frames.
- Returns
The frame_count of this VideoMetadata.
- Return type
int
- property frame_height¶
[Required] Gets the frame_height of this VideoMetadata. Height of each frame.
- Returns
The frame_height of this VideoMetadata.
- Return type
int
- property frame_rate¶
[Required] Gets the frame_rate of this VideoMetadata. Video framerate.
- Returns
The frame_rate of this VideoMetadata.
- Return type
float
- property frame_width¶
[Required] Gets the frame_width of this VideoMetadata. Width of each frame.
- Returns
The frame_width of this VideoMetadata.
- Return type
int