feat: add storage and training modules for snore detection
- Implemented `storage.py` for managing metadata storage, including sample addition, retrieval, and review state management. - Created `training.py` for training a local model using Random Forest, including functions for training and predicting samples. - Developed a web interface in `app.js` for capturing audio samples, managing labels, and training the model. - Added HTML structure in `index.html` for the SnoreStopper control room with sections for sample capture, overnight gathering, training, and status display. - Styled the application with `styles.css` to enhance user experience and interface aesthetics.
This commit is contained in:
0
data/meta/.gitkeep
Normal file
0
data/meta/.gitkeep
Normal file
0
data/models/.gitkeep
Normal file
0
data/models/.gitkeep
Normal file
0
data/raw/.gitkeep
Normal file
0
data/raw/.gitkeep
Normal file
0
data/spectrograms/.gitkeep
Normal file
0
data/spectrograms/.gitkeep
Normal file
Reference in New Issue
Block a user