Server-client infrastructure to run real-time detection of apneas using YOLO as talken about in the Yolo4Apnea: Real-time Detection of Obstructive Sleep Apnea demo paper.
If this repo fails download, it is also available at https://github.com/shamnvik/Yolo4Apnea
- python3
- npm
cd to server directory and run:
pip install -r requirements.txt
python app.py
cd to client directory and run:
Instantiate:
npm install
npm start
- Press the demo button in the web browser window opened by npm.
- Press play
- See the simulated signal appear in the top graph, and the prediction confidence in the lower graph. The lower graph is expected to stay at 0 most of the time, until an apnea is detected