saliny127 / object-detection-video

Object Detection in videos with OpenCV, YOLO V3, Docker and Streamlit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Object Detection in Video Stream with YOLO V3

Project Overview

Detecting objects in a video using YOLO V3 algorithm. The approach is quite similar to detecting images with YOLO. We get every frame of a video like an image and detect objects at that frame using yolo. Then draw the boxes, labels and iterate through all the frame in a given video. Adjust the confidence and nms threshold to see how the algorithm's detections change. The annotated video will be stored in the output folder in .mp4 file format. Make sure to add yolov3.weights file to the model folder to build and run with docker.

Run with Docker

from the root directory, run

	docker build -t dannylee1020/object_detection_video .
	docker run -p 8501:8501 dannylee1020/object_detection_video:latest

then visit localhost:8501 for streamlit app

Reference

YOLO
Object Detection with OpenCV
Streamlit

About

Object Detection in videos with OpenCV, YOLO V3, Docker and Streamlit


Languages

Language:Python 92.1%Language:Dockerfile 7.9%