Tutorial: Implement Object Recognition on Live Stream

The solution is built with TensorFlow, a handy and flexible computing system


Image recognition is very widely used in machine learning. There are many different approaches and solutions to it, but none of them fitted our needs. We needed a completely local solution running on a tiny computer to deliver the recognition results to a cloud service. This article describes our approach to building an object recognition solution with TensorFlow.



The script will skip frames from the camera during evaluation and take the next available frame when the previous evaluation step has completed. For recorded video it won’t skip any frames. For most purposes it’s ok to skip some frames to keep the process running in real-time.

IoT Integration

And of course, it would be nice to integrate an IoT service into this project as well as to deliver the recognition results somewhere in a place where other services can have access to them. There is one more demo script, python daemon.py, that will run a simple server that will display a video stream from a webcam with predictions on .

Want all the latest advances and tech news sent directly to your inbox?