Easy ML Kit
  • Easy ML Kit
  • Setup
    • Installation
    • Settings
    • Common Errors and Solutions
  • Usage Overview
  • Release Notes
    • 2.3.1
    • 2.3.0
    • 2.2.0
    • 2.1.0
    • 2.0.0
    • 1.2.0
  • Input Sources
    • Image Input Source
    • Live Camera Input Source
    • AR Foundation Camera Input Source
  • Features
    • Barcode Scanner
    • Object Detector and Tracker
    • Text Recognizer
    • Digital Ink Recognizer
Powered by GitBook
On this page
  1. Input Sources

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;
}
Options
Description

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.

PreviousImage Input SourceNextAR Foundation Camera Input Source

Last updated 2 years ago