Default configurable box style.
This is the simplest supervision-js equivalent of a box annotator: it converts detections with rect geometry into renderer-neutral box draw instructions. Use options such as shape, cornerRadius, stroke, and fill for static or per-detection styling.
supervision-js
rect
shape
cornerRadius
stroke
fill
Optional
Default configurable box style.
This is the simplest
supervision-jsequivalent of a box annotator: it converts detections withrectgeometry into renderer-neutral box draw instructions. Use options such asshape,cornerRadius,stroke, andfillfor static or per-detection styling.