Package ai.djl.modality.cv.output
Class Landmark
java.lang.Object
ai.djl.modality.cv.output.Rectangle
ai.djl.modality.cv.output.Landmark
- All Implemented Interfaces:
BoundingBox,Serializable
Landmark is the container that stores the key points for landmark on a single face.- See Also:
-
Constructor Details
-
Landmark
Constructs aLandmarkusing a list of points.- Parameters:
x- the left coordinate of the bounding rectangley- the top coordinate of the bounding rectanglewidth- the width of the bounding rectangleheight- the height of the bounding rectanglepoints- the key points for each face
-
-
Method Details
-
getPath
Returns an iterator object that iterates along theBoundingBoxboundary and provides access to the geometry of theBoundingBoxoutline.- Specified by:
getPathin interfaceBoundingBox- Overrides:
getPathin classRectangle- Returns:
- a
Iterableobject, which independently traverses the geometry of theBoundingBox
-