AnimalPoseLandmark class
A single body pose keypoint with 2D coordinates and a confidence score.
Coordinates are in the original image space (pixels).
Constructors
- AnimalPoseLandmark({required AnimalPoseLandmarkType type, required double x, required double y, required double confidence})
- Creates a body pose landmark with 2D coordinates and confidence.
Properties
- confidence → double
-
Model confidence for this keypoint (0.0 to 1.0)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AnimalPoseLandmarkType
-
The body keypoint type this represents
final
- x → double
-
X coordinate in pixels
final
- y → double
-
Y coordinate in pixels
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Serializes this pose landmark to a map for cross-isolate transfer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> map) → AnimalPoseLandmark - Deserializes a pose landmark from a map.