# realtime_object_recognition **Repository Path**: adam1iu/realtime_object_recognition ## Basic Information - **Project Name**: realtime_object_recognition - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Realtime Obejct Recognition Realtime object recognition using the OpenCV 3.3 dnn module + pretrained MobileNetSSD caffemodel. [![Realtime object recognition](https://img.youtube.com/vi/LGUR4Rn_kWs/0.jpg)](https://www.youtube.com/watch?v=LGUR4Rn_kWs) ## Installation All the dependencies can be installed using `pip`. Just use the following command from the root directory of the project. ```bash pip3 install -r requirements.txt ``` **NOTE:** At the time of this writing, `public.py` is broken. If you have a problem installing it, check this [workaround here](https://github.com/C-Aniruddh/realtime_object_recognition/issues/1). ## How to run this script? There are two options for video source: * Webcam * Android device running IP Camera (https://play.google.com/store/apps/details?id=com.pas.webcam&hl=en) To run the script using webcam as source : ```bash python3 real_time_object_detection.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel --source webcam ``` To run the script using IP Webcam as source, open the `real_time_object_detection.py` and edit the following line to match your host : ```python host = 'http://192.168.0.101:8080/' ``` Then to run the script using IP as source : ```bash python3 real_time_object_detection.py --prototxt MobileNetSSD_deploy.prototxt.txt --model MobileNetSSD_deploy.caffemodel --source web ``` For any questions, create an issue in this repository.