faceMeshLandmarksOffsets function

List<Offset> faceMeshLandmarksOffsets(
  1. FaceMeshResult result, {
  2. Size? targetSize,
  3. 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,
);