Detecting and classifying dog barks and activities with AI precision.
I took the rough drawing I made in fusion and glued a few pieces of balsa wood together and tossed it into the mill to make something to hold it all to my dogs collar. Little Velcro and we were good to go and what I have here is a small glimpse at one bark aka the NSA (Not So Anthropomorphic) Signal. I have the threshold to record too low right now and it records every sound however with this visualization I can see the amplitude of a bark as well as some panting. I figure these are the high and lows and everything else should be rejected based on volume.
My next step will be to discriminate between a bark, pant, grunt, etc... and the normal background noise (people talking, doors, banging, walking, etc....) . With thresholds adjusted I will strap this back on his collar and get some sounds as UPS man arrives, wanting to go outside, and a resource being "stolen" by another dog.
Can you spot the bark? It's the large green beacon with a red base. The rest is echo's since I have a high ceiling and tile floor. You can also see on the timeline more barking however it is mixed with my other dogs but for this dog he has a distinct bark signature, more to come as I show you comparisons in another log.
ere is the rough idea for the housing that I will place the device in. It needs to be cleaned up a ton with inserts, strap inserts, screw holes, fillets, and of course material type/color changes. The inside will be a true pocket when complete.
Finally got around to install all the software that will be used in the application for the deep learning part.
USB mic was also configured and is working so time to strap this to my dogs neck to get some sample data.
High Level installed items: (will put in a document later)
wget install miniconda2
conda install numpy
conda install scipy
pip install librosa
conda install theano
conda install h5py
figure out how to install tensorflow for timing comparison to theano
pip install keras
-->update ~/.keras/keras.json (backed=theano)
I have started the Fusion 360 part however that will take time as I am new to it. Screws or snaplid, that is the question I need to solve. Most likely screw lid since I will need in it, battery replacement ease in the future, and of course you can't bite it open. Also would ensure any o-ring seal is solid.
This is a work in progress however it gets the general idea across. Most likely I will remove the USB charging and make it a standard plug since this is going on a dogs neck and small debris could get lodged in it and prevent charging.