MLVideoFeature
class NatML.Features.MLVideoFeature : MLFeature, IMLCloudFeature, IEnumerable<(MLImageFeature feature, long timestamp)>
Creating the Feature
From a Video File
/// <summary>
/// Create an video feature from a video file.
/// </summary>
/// <param name="path">Video file path.</param>
MLVideoFeature (string path);From Streaming Assets
/// <summary>
/// Create a video feature from a video file in the `StreamingAssets` folder.
/// </summary>
/// <param name="relativePath">Relative path to video file in `StreamingAssets` folder.</param>
/// <returns>Video feature or `null` if no valid video can be found at the relative path.</returns>
static Task<MLVideoFeature> FromStreamingAssets (string relativePath);Inspecting the Feature
Feature Type
Video Path
Video Width
Video Height
Video Frame Count
Handling Normalization
Handling Aspect Mode
Enumerating Video Frames
Creating Cloud Features
Last updated