earshot_classifier 0.1.0
earshot_classifier: ^0.1.0 copied to clipboard
Pre-release: on-device sound classification for Flutter, with Apple SoundAnalysis and YAMNet backends. No network.
example/README.md
earshot_classifier example #
import 'package:earshot_classifier/earshot_classifier.dart';
const EarshotClassifier().detections().listen((detection) {
// sound is null when the label maps to no EarshotSound.
print('${detection.group}: ${detection.sound ?? detection.rawLabel}');
});
A complete Flutter app that uses the earshot packages lives in examples/earshot_example.