Live Camera Input Source

Use LiveCameraInputSource if you want to process the input directly from live camera feed.

using VoxelBusters.EasyMLKit;
private IInputSource CreateLiveCameraInputSource()
{
    IInputSource inputSource = new LiveCameraInputSource()
    {
        EnableFlash = false,
        IsFrontFacing = false
    };

    return inputSource;
}

Currently, this input type is not supported on iOS. We are considering to offer native camera texture instead of webcam texture for performance reasons.

Last updated