This system is developed to detect whether the user is exhaling or not.
(1) First you need to install:
| Name | git url |
|---|---|
| UniTask | https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask |
| NaughtyAttributes | https://github.com/dbrizov/NaughtyAttributes.git#upm |
| SaveSystem | https://github.com/birdx-007/BreathDetect.git?path=Packages/com.heartofbird.savesystem |
| MediaPipe Unity Plugin | no direct git url, you can check its github repository (https://github.com/homuler/MediaPipeUnityPlugin) for more info |
(2) Install BreathDetect:
git url: https://github.com/birdx-007/BreathDetect.git?path=Packages/com.birdsky.breathdetect
You can clone this repository and open this project with Unity (my editor is 2022.3.17f1c1).
Enter the demo scene and play it to check out how the system work.
Basic detection based on sound intensity threshold.
Optimized audio detection solution combining sound intensity and spectral cosine similarity.
Introducing a video detection method based on facial recognition.
we are still developing this system, and feedback is welcome.