CameraDetectionPainter constructor
CameraDetectionPainter({
- required List<
Face> faces, - required Size imageSize,
- required double cameraAspectRatio,
- required double displayAspectRatio,
- required FaceDetectionMode detectionMode,
- required int sensorOrientation,
- required Orientation deviceOrientation,
- required bool isFrontCamera,
- required bool mirrorHorizontally,
- bool showPoseAndScores = false,
- 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,
});