CameraDetectionPainter constructor

CameraDetectionPainter({
  1. required List<Face> faces,
  2. required Size imageSize,
  3. required double cameraAspectRatio,
  4. required double displayAspectRatio,
  5. required FaceDetectionMode detectionMode,
  6. required int sensorOrientation,
  7. required Orientation deviceOrientation,
  8. required bool isFrontCamera,
  9. required bool mirrorHorizontally,
  10. bool showPoseAndScores = false,
  11. bool showClassification = false,
})

Implementation

CameraDetectionPainter({
  required this.faces,
  required this.imageSize,
  required this.cameraAspectRatio,
  required this.displayAspectRatio,
  required this.detectionMode,
  required this.sensorOrientation,
  required this.deviceOrientation,
  required this.isFrontCamera,
  required this.mirrorHorizontally,
  this.showPoseAndScores = false,
  this.showClassification = false,
});