DetectionsPainter constructor
DetectionsPainter({
- required List<
Face> faces, - required Rect imageRectOnCanvas,
- required Size originalImageSize,
- required bool showBoundingBoxes,
- required bool showMesh,
- required bool showLandmarks,
- required bool showLandmarkLabels,
- required bool showIrises,
- required bool showEyeContours,
- required bool showEyeMesh,
- bool showPoseAndScores = false,
- bool showClassification = false,
- required Color boundingBoxColor,
- required Color landmarkColor,
- required Color meshColor,
- required Color irisColor,
- required Color eyeContourColor,
- required Color eyeMeshColor,
- required double boundingBoxThickness,
- required double landmarkSize,
- required double meshSize,
- required double eyeMeshSize,
Implementation
DetectionsPainter({
required this.faces,
required this.imageRectOnCanvas,
required this.originalImageSize,
required this.showBoundingBoxes,
required this.showMesh,
required this.showLandmarks,
required this.showLandmarkLabels,
required this.showIrises,
required this.showEyeContours,
required this.showEyeMesh,
this.showPoseAndScores = false,
this.showClassification = false,
required this.boundingBoxColor,
required this.landmarkColor,
required this.meshColor,
required this.irisColor,
required this.eyeContourColor,
required this.eyeMeshColor,
required this.boundingBoxThickness,
required this.landmarkSize,
required this.meshSize,
required this.eyeMeshSize,
});