mcglabs / petbot-bark

PetBot - detect if your pet is vocalizing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#PetBot bark

A repository for PetBot bark recognition software.

Here we store code to recognize dog barks from a microphone on the raspberry pi.

Included in this repository is:

  • src/listen_for_bark_gpu.c - The main executable, listens over ALSA and runs the LR model in realtime (pi-GPU accelerated or CPU)
  • src/run_model.c - Load LR model and run on output from capture
  • src/capture.c - Listen on microphone and collect data already passed through FFT
  • src/classify.py - Train a LR (Logistic regression) model on output of capture
  • model/ - Contains trained LR models

Run by using:

sudo ./listen_for_bark

License

All content here is copyright Michael (Misko) Dzamba 2014. Unless otherwise stated in the headers. Please feel free to use any of my code or trained models for any personal projects. If you would like to package parts of this software with your product please contact me for further details.

About

PetBot - detect if your pet is vocalizing


Languages

Language:C 85.0%Language:Python 13.9%Language:C++ 0.7%Language:Shell 0.3%