Skip to content

Sure, a basic object detection code with OpenCV, but I bet you weren't able to find one Dockerized and with Flask.

Notifications You must be signed in to change notification settings

martuscellifaria/ObjectDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjectDetection

Sure, a livestream object detection code with OpenCV. I bet you weren't able to find one Dockerized and as a Web Application, so I decided to make it available for you to try it out!. Its window shoud be something like that, maybe less funnier :P: alt text

The output on Telegram, on the other hand, will be something like this: alt text

Installation

Prerequisites
Clone the project
$ git clone https://github.com/dev-gazer/ObjectDetection.git
Start the service
$ cd ObjectDetection/src
$ sudo docker build -t ObjectDetection .
$ sudo docker run -it -p 5000:5000 --device /dev/video0 ObjectDetection

NOTE1: Be aware that you must specify the path to your device in docker run. The command "--device /dev/video0" refers to it. NOTE2: You may need to use a different port than port 5000. In this case use an available port on your host.

Stop the service
$ sudo docker stop ObjectDetection
$ docker rm ObjectDetection

About

Sure, a basic object detection code with OpenCV, but I bet you weren't able to find one Dockerized and with Flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published