MLVideoType
class NatML.Types.MLVideoType : MLImageType
The video type describes video features.
Creating the Type
The video type can be created with video information, or by inspecting a video file:
From Video Info
/// <summary>
/// Create an video feature type.
/// </summary>
/// <param name="width">Video width.</param>
/// <param name="height">Video height.</param>
/// <param name="frames">Video frame count.</param>
MLVideoType (int width, int height, int frames);INCOMPLETE.
/// <summary>
/// Create an video feature type.
/// </summary>
/// <param name="width">Video width.</param>
/// <param name="height">Video height.</param>
/// <param name="frames">Video frame count.</param>
/// <param name="type">Video frame data type.</param>
MLVideoType (int width, int height, int frames, Type type);INCOMPLETE.
From a Video File
INCOMPLETE.
From a VideoClip
INCOMPLETE.
From Streaming Assets
INCOMPLETE.
Inspecting the Type
Refer to the MLFeatureType class for more information.
Inspecting the Video
The feature type reports information about the video it refers to:
Video Width
Refer to the Image Width section of the MLImageType class for more information.
Video Height
Refer to the Image Height section of the MLImageType class for more information.
Video Channels
Refer to the Image Channels section of the MLImageType class for more information.
Video Frames
The video type reports the number of frames contained in the video.
Pixel Layout
Refer to the Pixel Layout section of the MLImageType class for more information.
Last updated