DetectionOverlayPainter class

Paints detection boxes (source-pixel coordinates) scaled onto the widget.

Constructors

DetectionOverlayPainter({required List detections, List<String> labels = const <String>[], required double sourceWidth, required double sourceHeight})

Properties

detections → List
final
hashCode → int
The hash code for this object.
no setterinherited
labels → List<String>
Class names by id, from detectorLabels; an unknown id shows as its number.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceHeight → double
final
sourceWidth → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paint(dynamic canvas, dynamic size) → void
shouldRepaint(DetectionOverlayPainter oldDelegate) → bool
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited