How sanikapatil2007/mosquito_wingbeat_final_model- works
This repository provides audio-based mosquito detection followed by species classification. The documented-in-code command-line workflow accepts an audio file, preprocesses it into a normalized mel spectrogram, runs the mosquito detector, and classifies species only when a mosquito is detected. The tree also contains TensorFlow Lite model artifacts under raspberry_pi/models, but no sampled Raspberry Pi runtime code shows how they are used; those artifacts are therefore shown without inferred connections.
Main entry points: predict.py Prediction CLI · mosquito_detector.keras Mosquito detector · species_classifier.keras Species classifier
Components 7
Audio inference
- Prediction CLI
predict.py - Audio preprocessing
predict.py
Keras models
- Mosquito detector
mosquito_detector.keras - Species classifier
species_classifier.keras
Pi model artifacts
- Pi detector model
raspberry_pi/models/mosquito_detector.tflite - Pi species model
raspberry_pi/models/species_classifier.tflite
Other components
- Audio-file user
Connections 4
- Audio-file user → Prediction CLI: provides audio
predict.py - Prediction CLI → Audio preprocessing: prepares input
predict.py - Prediction CLI → Mosquito detector: runs detection
predict.py - Prediction CLI → Species classifier: classifies positive
predict.py