Baby cry detection detects baby cry in a video file, and add the results as subtitle and generate an output video. It includes audio activity detection (VAD) and a CNN model on the log-mel-spectrogram.
Use the package manager pip to install dependent packages
pip install librosa
pip install moviepy
pip soundfile, resampy
It also depends on ffmpeg, and imageMagicK. You need to modify a imageMagicK permission file.
- Change the video source file directory
- Run python test-cry-detection-video.py