17 template<
size_t numOfLandmarks>
19 static constexpr uint64_t landmarkCount = numOfLandmarks;
32 *
this = std::move(mv);
35 Landmarks& operator=(
const Landmarks& cp) {
37 std::begin(cp.landmarks),
38 std::end(cp.landmarks),
44 Landmarks& operator=(Landmarks&& mv) {
46 std::begin(mv.landmarks),
47 std::end(mv.landmarks),
Landmarks5 convert(const Landmarks68 &landmarks)
convert landmarks68 into landmarks5
Enumerates detected landmarks. Only valid for template with 5 landmarks.
Definition: Landmarks.h:62
Face landmarks template structure.
Definition: Landmarks.h:18
Not a landmark; counts number of detected landmarks.
Definition: Landmarks.h:69
Mouth right corner. Same as FL_MOUTH_RIGHT_CORENR.
Definition: Landmarks.h:68
Left eye center.
Definition: Landmarks.h:64
Right eye center.
Definition: Landmarks.h:65
Landmarks< 68 > Landmarks68
alias for structure with 68 landmarks
Definition: Landmarks.h:57
Landmarks< 5 > Landmarks5
alias for structure with 5 landmarks
Definition: Landmarks.h:55
Nose tip. Same as FL_NOSE_TIP.
Definition: Landmarks.h:66
Mouth left corner. Same as FL_MOUTH_LEFT_CORNER.
Definition: Landmarks.h:67
Landmark landmarks[landmarkCount]
Detected landmarks.
Definition: Landmarks.h:22
Vector2< float > Landmark
Landmark floating point coordinates type.
Definition: Landmarks.h:10