Detection class
A single object detection result from a detection model.
Contains the detected class ID, confidence score, and bounding box coordinates.
Properties
-
bboxXYXY
→ List<
double> -
Bounding box in XYXY format
[x1, y1, x2, y2]in pixel coordinates.final - cls → int
-
Detected class ID.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double
-
Confidence score for the detection (0.0 to 1.0).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited