face_mesh_stream_processor
library
Functions
-
createFaceDetectorStreamProcessor(FaceDetectorProcessor processor)
→ FaceDetectorStreamProcessor
-
Creates a detector stream processor for camera/image frames.
-
createFaceMeshStreamProcessor(FaceMeshProcessor processor)
→ FaceMeshStreamProcessor
-
Creates a stream processor for camera/image frames.
-
faceMeshBoundingRect(FaceMeshResult result, {Size? targetSize, bool clampToBounds = true})
→ Rect
-
Returns the face bounding box in pixel coordinates.
-
faceMeshLandmarkOffset(FaceMeshResult result, FaceMeshLandmark landmark, {Size? targetSize, bool clampToBounds = true, int rotationDegrees = 0, bool mirrorHorizontal = false})
→ Offset
-
Converts a landmark to a pixel-space Offset.
-
faceMeshLandmarksOffsets(FaceMeshResult result, {Size? targetSize, bool clampToBounds = true, int rotationDegrees = 0, bool mirrorHorizontal = false})
→ List<Offset>
-
Converts all landmarks into pixel-space Offsets.