ResultBundle

data class ResultBundle(val detectedObjects: ObjectDetectorResult, val processingTimeMs: Long, val inputImageHeight: Int, val inputImageWidth: Int)

Contains the data necessary to outline an object into the screen. Wraps results from inference, the time it takes for inference to be performed, and the input image and height for properly scaling UI to return back to callers

Constructors

Link copied to clipboard
constructor(detectedObjects: ObjectDetectorResult, processingTimeMs: Long, inputImageHeight: Int, inputImageWidth: Int)

Properties

Link copied to clipboard
val detectedObjects: ObjectDetectorResult
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard