Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[P] Lock Picking Detection Using Machine Learning – Audio Classification

I thought you guys might find this interesting. I slightly modified an image classifier to take audio, then recorded myself sticking keys and picks into locks for 45 minutes respectively. This was in order to create my dataset. I broke those long clips into 5 second segments, which left me with about 1000 clips for training. After 5 minutes of training and 15 epochs, I achieved a little more than 90% accuracy on my training and validation set, which is good enough for a fun project like this.

What this means is that I can put my microphone next to a lock, then detect in live time whether that lock is being picked or if a key is being inserted. I can then record the time the event happened and save the audio clip that triggered the event.

Here is a video demonstration of the project.

Here is an article I wrote where you can see the code.

For anyone that’s into lock picking, I created my training data on Sargent, Corbin Russwin, and Schlage mortise cylinders. I used both single pin picking and raking. I might play around with bumping in the future, if I come back to the project.

submitted by /u/NNFAK
[link] [comments]