API

Interface IWebXRImageTrackingOptions

Options interface for the background remover plugin

interface IWebXRImageTrackingOptions {
    images: { estimatedRealWorldWidth: number; src: string | ImageBitmap }[];
}
Index
images: { estimatedRealWorldWidth: number; src: string | ImageBitmap }[]

A required array with images to track

Type Declaration

  • estimatedRealWorldWidth: number

    The estimated width in the real world (in meters)

  • src: string | ImageBitmap

    The source of the image. can be a URL or an image bitmap