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;
}
OptionsDescription

Enable Flash

Pass true to switch on the device flash

Is Front Facing

Pass true to enable front facing camera feed as input

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