MultiTaskYOLOView constructor

const MultiTaskYOLOView({
  1. Key? key,
  2. required String detectModelPath,
  3. required String classifyModelPath,
  4. required String? secondDetectModelPath,
  5. MultiTaskYOLOController? controller,
  6. MultiTaskStreamCallback? onStreamingData,
  7. String lensFacing = 'back',
  8. bool useGpu = true,
  9. double confidenceThreshold = 0.25,
  10. double iouThreshold = 0.7,
  11. double? detectConfidenceThreshold,
  12. double? detectIouThreshold,
  13. double? classifyConfidenceThreshold,
  14. double? secondDetectConfidenceThreshold,
  15. double? secondDetectIouThreshold,
})

Implementation

const MultiTaskYOLOView({
  super.key,
  required this.detectModelPath,
  required this.classifyModelPath,
  required this.secondDetectModelPath,
  this.controller,
  this.onStreamingData,
  this.lensFacing = 'back',
  this.useGpu = true,
  this.confidenceThreshold = 0.25,
  this.iouThreshold = 0.7,
  this.detectConfidenceThreshold,
  this.detectIouThreshold,
  this.classifyConfidenceThreshold,
  this.secondDetectConfidenceThreshold,
  this.secondDetectIouThreshold,
});