Real-Time Speech Activated Object Detection App with OpenCV and TensorFlow

Sem Onyalo
1 min readApr 28, 2018

--

This is a follow-up to this post.

I’ve built upon my app by adding speech recognition.

You can now change the object that’s detection with speech, i.e. say the word of the object you want to detect.

I used the PyAudio package to pull the audio from the microphone and the SpeechRecognition package to do the natural language processing. I’m also using audio prompts from AnglaisFacile.

Shout out to RealPython for their super simple guide to getting set up. On a side note, RealPython looks like a sick resource that I’ll be checking out in the weeks to come.

Source code can be found here.

Next step will most likely be to train my own network so that I can detect some custom objects around my house.

Thanks for reading and stay tuned!

--

--