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