faceMeshLandmarksOffsets function
List<Offset>
faceMeshLandmarksOffsets(
- FaceMeshResult result, {
- Size? targetSize,
- bool clampToBounds = true,
- int rotationDegrees = 0,
- bool mirrorHorizontal = false,
Converts all landmarks into pixel-space Offsets.
Implementation
List<Offset> faceMeshLandmarksOffsets(
FaceMeshResult result, {
Size? targetSize,
bool clampToBounds = true,
int rotationDegrees = 0,
bool mirrorHorizontal = false,
}) => result.landmarksAsOffsets(
targetSize: targetSize,
clampToBounds: clampToBounds,
rotationDegrees: rotationDegrees,
mirrorHorizontal: mirrorHorizontal,
);