Skip to main content

ARDK for Android/com.nianticlabs.ardk.objectdetection/ObjectDetectionConfig

ObjectDetectionConfig

[androidJvm]
class ObjectDetectionConfig(val frameRate: Int, val framesUntilSeen: Int, val framesUntilDiscarded: Int)

Wrapper for the native ARDK_ObjectDetection_Configuration type.

Constructors​

ObjectDetectionConfig[androidJvm]
constructor(frameRate: Int, framesUntilSeen: Int, framesUntilDiscarded: Int)

Properties​

NameSummary
frameRate[androidJvm]
val frameRate: Int
Inference frequency
framesUntilDiscarded[androidJvm]
val framesUntilDiscarded: Int
Number of frames until object is discarded
framesUntilSeen[androidJvm]
val framesUntilSeen: Int
Number of frames until object is seen