DetectionsPainter constructor

DetectionsPainter({
  1. required List<Face> faces,
  2. required Rect imageRectOnCanvas,
  3. required Size originalImageSize,
  4. required bool showBoundingBoxes,
  5. required bool showMesh,
  6. required bool showLandmarks,
  7. required bool showLandmarkLabels,
  8. required bool showIrises,
  9. required bool showEyeContours,
  10. required bool showEyeMesh,
  11. bool showPoseAndScores = false,
  12. bool showClassification = false,
  13. required Color boundingBoxColor,
  14. required Color landmarkColor,
  15. required Color meshColor,
  16. required Color irisColor,
  17. required Color eyeContourColor,
  18. required Color eyeMeshColor,
  19. required double boundingBoxThickness,
  20. required double landmarkSize,
  21. required double meshSize,
  22. 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,
});