Package-level declarations
Types
Link copied to clipboard
class AnimatedDetectionOutline(val xLeft: Animatable<Float, AnimationVector1D>, val yTop: Animatable<Float, AnimationVector1D>, val width: Animatable<Float, AnimationVector1D>, val height: Animatable<Float, AnimationVector1D>)
Utility class used for animating the bounds of a detection, by using the 4 corners of the box
Link copied to clipboard
class OutlineScaler(val frameWidth: Int, val frameHeight: Int, val containerWidth: Float, val containerHeight: Float)
A utility class to handle the scaling of outlines (the bounding boxes used for object detections) into a container, while keeping the aspect ratio of the original frame (camera ratio)
Functions
Link copied to clipboard
private fun ObjectBoundsBoxOutlinePreview(simulateMovement: Boolean = true, animate: Boolean = true)
Run in interactive mode
Link copied to clipboard
fun ObjectBoundsBoxOutlines(detections: List<Detection>, frameWidth: Int, frameHeight: Int, animate: Boolean = false)