ObjectDetectorSettings

data class ObjectDetectorSettings(val maxObjectDetections: Int = Companion.maxObjectDetections, val sensitivityThreshold: Float = 0.5f, val model: Model = Model.EFFICIENTDETV0, val processor: Delegate = Delegate.GPU, val mediaTypeToAnalyze: RunningMode = RunningMode.LIVE_STREAM)

A class that encapsulates the different settings that can be to detect objects using MediaPipe

Parameters

sensitivityThreshold

the minimum amount of certainty (percentage) of the image detector in order to classify it as an object as X. Detections bellow this amount won't be displayed

Constructors

Link copied to clipboard
constructor(maxObjectDetections: Int = Companion.maxObjectDetections, sensitivityThreshold: Float = 0.5f, model: Model = Model.EFFICIENTDETV0, processor: Delegate = Delegate.GPU, mediaTypeToAnalyze: RunningMode = RunningMode.LIVE_STREAM)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val mediaTypeToAnalyze: RunningMode
Link copied to clipboard
Link copied to clipboard
val processor: Delegate
Link copied to clipboard