Skip to content

This is a simple user interface for YOLOv8, a popular object detection system. The program allows the user to select a video or image file and a YOLO model file, and then run YOLO on the selected input using the specified model. The output of YOLO is displayed in the GUI window, along with a progress bar that updates as YOLO processes the input.

Notifications You must be signed in to change notification settings

initdebugs/YoloV8-User-Interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoloV8 User Interface

This is a simple user interface for YOLOv8, a popular object detection system. The user can select a video or image file and a YOLO model file, and then run YOLO on the selected input using the specified model. The output of YOLO is displayed in the GUI window, along with a progress bar that updates as YOLO processes the input.

image

Installation

To use this program, you will need to install Python 3 and several Python packages. You can do this using the following commands:

pip install PySimpleGUI Ultralytics

Usage

To run the program, simply run the main.py file: python main.py

Once the program is running, please select if you want to start a Training or Detection.

Training:

At first, select if you want to create an Object Detection model or a Segmentation model (remember to select the one fitting for your dataset and annotation format). Then, select the .yaml file for your dataset. Please choose which model size you want: s is smallest (faster training and interference, lowest accuracy), x is biggest (slower training and interference, highest accuracy). Also choose how many epochs you want to train. To start the training, press the Train button. This will run YOLO on the selected dataset with the provided parameters.

Detection:

At first, select if you want to do Object Detection or Segmentation (remember to use the correct model type). You can use the "Browse Video/Image" and "Browse Model" buttons to select the input video/image and the YOLO model file, respectively. You can also choose whether to use the GPU for processing and whether to show the output in a window using the checkboxes. To start processing, click the "Process" button. This will run YOLO on the selected input using the specified model.

Pretrained models

This section shows a table of some models I trained myself using YoloV8. You can download these and use in the User Interface.

Object detection models:

Model Link
TrafficDetection_8S Google Drive
TrafficDetection_8L Google Drive
DollarBillDetection_8S Google Drive
FurnitureDetection_8S Google Drive
EarphoneDetection_8S Google Drive
FurnitureDetection_8S Google Drive

Segmenation models:

Model Link
RoadSegmentation_8S Google Drive

Models:

TrafficDetection: The Traffic Detection model detects common traffic objects. Such as cars, trucks, pedestrians, common traffic signs, traffic lights. This model is trained on my own dataset. Roboflow project

RoadSegmentation: The Road Detection model detects the road in dashcam videos and overlays it using Instance Segmentation. This model is trained on my own dataset. Roboflow project

DollarBillDetection: The Dollar Bill Detection model recognizes different American Dollar bills. This model is trained by me. I used the dataset created by Alex Hyams on Roboflow. Roboflow Project

FurnitureDetection: The Furniture Detection model detects several different kinds of furniture, such as tables, chairs, etc. The model is trained by me. I used the dataset created by Roboflow 100 on Roboflow. Roboflow Project

EarphoneDetection: The Earphone Detection model detects earphones/earbuds in picures and videos. The model is trained by me. I used the dataset created by meta on Roboflow. Roboflow Project

ConeDetection: The Cone Detection model detects safety cones in images and videos. The model is trained by me. I used the dataset created by Roboflow. Roboflow Project

About

This is a simple user interface for YOLOv8, a popular object detection system. The program allows the user to select a video or image file and a YOLO model file, and then run YOLO on the selected input using the specified model. The output of YOLO is displayed in the GUI window, along with a progress bar that updates as YOLO processes the input.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages