How b-kaushik21/bird-detection-from-bird-chirping works
Project Type and Purpose
• This is an open-source machine-learning research pipeline implemented as Jupyter notebooks.
• Purpose: ingest raw bird-chirp audio, preprocess into spectrogram/MFCC features, train a deep learning classifier (CNN, LSTM, Transformer), and evaluate performance.
File Structure
• Top-level artifacts:
– WUS-BirdDetectionFromBirdChirping-colab.ipynb (end-to-end Colab notebook)
– DL_Assignment_1.ipynb (likely a local assignment notebook)
– README.md (project description and instructions)
• No separate code modules or microservices—logic is notebook-driven.
• Dependencies: librosa, numpy, pandas, matplotlib, scikit-learn, tensorflow.
Pull Architecture Insights from README
• Data source: Kaggle Bird Song Data Set (5 classes).
• Preprocessing: Mel-spectrogram, MFCC extraction.
• Models: Custom CNN (future: LSTM/Transformer).
• Evaluation: accuracy, confusion matrix, loss.
• Future scope: real-time detection, REST API/web UI (Streamlit/Flask), mobile.
Main Components
a. External Data Source
– Raw audio files (Kaggle dataset)
b. Data Ingestion & Storage
– Notebook cells that load raw .wav files into a data frame or array
– Storage of raw audio (local FS, Colab FS)
c. Preprocessing & Feature Extraction
– Blocks that convert audio → Mel-spectrograms / MFCCs
d. Model Training
– TensorFlow/Keras CNN (or future LSTM/Transformer)
e. Model Evaluation
– Computes metrics, produces confusion matrix plots
f. Model Artifacts
– Trained model weights (.h5 or SavedModel)
g. (Optional) Deployment Layer
– Future: REST API (Flask/Streamlit)
– UI component (web/mobile app)
Architectural Patterns
• Batch-processing pipeline (linear ETL → train → evaluate)
• Notebook-oriented research workflow (cells orchestrate each stage)
• Modular separation: data, features, model, evaluation, deployment