All Projects → jamesloyys → Real-Time-Object-Detection

jamesloyys / Real-Time-Object-Detection

Licence: other
A Low Latency Real-Time Object Detection App using your Webcam. Built using TensorFlow and OpenCV.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
Protocol Buffer
295 projects

A Low Latency Real-Time Object Detection App

TLDR

This project uses a multithreaded approach to create a low latency real-time objection detection app. Built using Tensorflow's Object Detection API and OpenCV.

Trying out the app

git clone https://github.com/jamesloyys/Real-Time-Object-Detection.git
cd Real-Time-Object-Detection
python app_threaded.py

Framework & Architecture

Many real-time object detection apps suffer from poor FPS (i.e. laggy video) due to the relatively slow performance of object detection models.

In order to achieve a smoother FPS, this project took a multithreaded approach (specifically, 2 threads) to separate the reading of frames from the webcam from the object detection model, achieving concurrency and parallelism.

This project also uses Tensorflow's newly released MobileNets family of lightweight computer vision models - perfect for the application that we're building here!

Inspirations

This project was inspired by Dat Tran's original work. I learnt alot from his post on Medium and wanted to improve on the FPS further.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].