NatML
Search…
⌃K

MLXRCpuImageFeature

class MLXRCpuImageFeature : MLImageFeature, IMLEdgeFeature
This feature provides the ability to perform ML predictions on an ARFoundation XRCpuImage.
This class is distributed in the ai.natml.natml.arfoundation integration library.

Creating the Feature

/// <summary>
/// Create an augmented reality image feature from an ARFoundation `XRCpuImage`.
/// </summary>
/// <param name="image">Augmented reality image.</param>
/// <param name="world">Whether AR image is from world-facing camera.</param>
/// <param name="orientation">Image orientation. If `Unknown`, this will default to the screen orientation.</param>
MLXRCpuImageFeature (XRCpuImage image, bool world = true, ScreenOrientation orientation = 0);
INCOMPLETE.