Giter VIP home page Giter VIP logo

yolov8-streamlit-app's Introduction

YOLOv8 Streamlit APP


Ultralytics CI YOLOv8 Citation Docker Pulls
Run on Gradient Open In Colab Open In Kaggle

Introduction

This repository supply a user-friendly interactive interface for YOLOv8 and the interface is powered by Streamlit. It could serve as a resource for future reference while working on your own projects.

Features

  • Feature1: Object detection task.
  • Feature2: Multiple detection models. yolov8n, yolov8s, yolov8m, yolov8l, yolov8x
  • Feature3: Multiple input formats. Image, Video, Webcam

Interactive Interface

Image Input Interface

image_input_demo

Video Input Interface

video_input_demo

Webcam Input Interface

webcam_input_demo

Installation

Create a new conda environment

# create
conda create -n yolov8-streamlit python=3.8 -y

# activate
conda activate yolov8-streamlit

Clone repository

git clone https://github.com/JackDance/YOLOv8-streamlit-app

Install packages

# yolov8 dependencies
pip install ultralytics

# Streamlit dependencies
pip install streamlit

Download Pre-trained YOLOv8 Detection Weights

Create a directory named weights and create a subdirectory named detection and save the downloaded YOLOv8 object detection weights inside this directory. The weight files can be downloaded from the table below.

Model size
(pixels)
mAPval
50-95
Speed
CPU ONNX
(ms)
Speed
A100 TensorRT
(ms)
params
(M)
FLOPs
(B)
YOLOv8n 640 37.3 80.4 0.99 3.2 8.7
YOLOv8s 640 44.9 128.4 1.20 11.2 28.6
YOLOv8m 640 50.2 234.7 1.83 25.9 78.9
YOLOv8l 640 52.9 375.2 2.39 43.7 165.2
YOLOv8x 640 53.9 479.1 3.53 68.2 257.8

Run

streamlit run app.py

Then will start the Streamlit server and open your web browser to the default Streamlit page automatically.

TODO List

  • Add Tracking capability.
  • Add Classification capability.
  • Add Pose estimation capability.

If you also like this project, you may wish to give a star (^.^)โœจ . If any questions, please raise issue~

yolov8-streamlit-app's People

Contributors

jackdance avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.