app/lib/config.dart

8 lines
305 B
Dart
Raw Normal View History

2021-08-21 14:51:10 +02:00
const String model = 'assets/datasets/model.tflite';
const String label = 'assets/datasets/label.txt';
const String inputType = 'decodedWav';
2021-08-24 14:28:19 +02:00
const int numOfInferences = 1;
2021-08-21 14:51:10 +02:00
const int sampleRate = 16000;
const int recordingLength = 16000;
2021-08-24 14:28:19 +02:00
const int bufferSize = 2000;
const double detectionThreshold = 0.5;