Skip to content

This repository contains a Flask-based web application for object detection using the YOLO (You Only Look Once) model. The application can process images and video streams, detecting objects and displaying the results.

Notifications You must be signed in to change notification settings

givkashi/Object-Detection-Yolo-Flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Detection Flask Application

This repository contains a Flask-based web application for object detection using the YOLO (You Only Look Once) model. The application can process images and video streams, detecting objects and displaying the results.

Features

  • Upload an image and get the detected objects highlighted.
  • Real-time object detection from a video stream.

Requirements

  • Python 3.6+
  • Flask
  • ultralytics
  • numpy
  • pillow
  • opencv-python
  • werkzeug

Setup

  1. Clone the repository:
git clone https://github.com/givkashi/Object-Detection-Yolo-Flask.git
cd Object-Detection-Yolo-Flask
  1. Download the YOLO weights from [here] and place them in the object_detection directory.

  2. Running the Application To start the Flask application, run:

python app.py

The application will be available at http://localhost:8000.

Usage Image Upload

  1. Open your browser and navigate to http://localhost:8000.
  2. Upload an image file.
  3. The application will process the image and display the detected objects.

Real-time Video Detection

  1. Open your browser and navigate to http://localhost:8000/video.
  2. The application will start the webcam and display the real-time object detection.

About

This repository contains a Flask-based web application for object detection using the YOLO (You Only Look Once) model. The application can process images and video streams, detecting objects and displaying the results.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages