AnimatedDetectionOutline

Utility class used for animating the bounds of a detection, by using the 4 corners of the box

Constructors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun updateBoundingBox(newBox: RectF): Job

4 coroutines are required so the 4 values are updated in parallel, since animateTo is a suspend func. Otherwise, it will be visible how each value (and dimension) updates in steps