Landmark

data class Landmark(val position: PointF, val landmarkType: Int, val sourceWidth: Int, val sourceHeight: Int, val inFrameLikelihood: Float)

Representation of a NormalizedLandmark A Normalized Landmark takes the Width and Height of the Bitmap and creates the positions of the landmarks as percentages to match more of what iOS Does. This allows us to share more of the logic from iOS to Android.

Parameters

position

The position of the landmark normalized to the range 0, 1 in both dimensions.

landmark

The landmark to use.

Constructors

Link copied to clipboard
constructor(position: PointF, landmarkType: Int, sourceWidth: Int, sourceHeight: Int, inFrameLikelihood: Float)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard