Skip to content

Overlay

io.github.lamplis:vision-overlay is built by :vision-overlay. The Kotlin package is io.github.lamplis.vision.overlay. VisionOverlay draws OverlayShape.Rect and OverlayShape.Label from top-left normalized boxes. It does not open the camera. Pass strokeColor, strokeWidth, and labelColor to restyle the boxes.

Vision Lab drawing boxes returned by native OCR

Captured from Vision Lab, the runnable tutorial.