AR Foundation Camera Input Source

Use ARFoundationCameraInputSource if you want to process the input directly from ar camera feed.

using VoxelBusters.EasyMLKit;
private IInputSource CreateARCameraInputSource()
{
    IInputSource inputSource = new ARFoundationCameraInputSource(arSession, arCameraManager);
    return inputSource;
}

Pass ArSession and ArCameraManager instances for creating the ARFoundationCameraInputSource instance.

You need to have AR Foundation and ARCore XR Plugin packages installed in your project from package manager.

Last updated