English | 繁體中文
Create a virtual environment equipped with python version 3.10, then activate environment.
conda create --name yolov8-gui python=3.10
conda activate yolov8-gui
pip install pyside6
pip install chardet
pip install pytube
pip install ultralytics==8.2.66
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
Traditional Chinese
python main.py
English
python main_en.py
It is recommended to use native Python to create a virtual environment and install Python 3.10.
python -m venv venv
(your YOLOv8-GUI-PySide6-main PATH)\venv\Scripts\activate.bat
pip install pyside6
pip install chardet
pip install pytube
pip install ultralytics==8.2.66
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118
pip install lapx
pip install auto-py-to-exe
auto-py-to-exe
Script Location
(your YOLOv8-GUI-PySide6-main PATH)\main.py
Add additional directories by clicking "Add Folder".
(your YOLOv8-GUI-PySide6-main PATH)\venv\Lib\site-packages\ultralytics
Click "Convert".
Copy the config, img, models, ui, and utils directories to (your YOLOv8-GUI-PySide6-main PATH)\output\main.
Run main.exe to start the application.
ultralytics
follows theAGPL-3.0
, if you need commercial use, you need to obtain its license.- If you expect to use your own model, you need to use
ultralytics
to train the yolov5/6(only det)/8/9(det&seg)/10(only det) model first, and then put the trained.pt
file into themodels/*
folder. - There are still some bugs in the software, and I will continue to optimize and add some more interesting functions as my time allows.
- If you check the save results, they will be saved in the
./run
path - The UI design file is
home.ui
, if you modify it, you need to use thepyside6-uic home.ui > ui/home.py
command to regenerate the.py
file - The resource file is
resources.qrc
, if you modify the default icon, you need to use thepyside6-rcc resoures.qrc > ui/resources_rc.py
command to regenerate the.py
file - In the Oriented bounding box (obb) mode in
Detect mode
, if you want to use your own trained obb model, you need to addobb
to the filename, such asyolov8n-obb.pt
. If "obb" is not added, it will only enter the general detection mode.
- Image Classification
- Object Detection
- Object Detection(OBB)
- Pose Estimation
- Instance Segmentation
- Object Tracking
- Single File Detection
- Folder(batch) detection function
- Support Dragging File Input
- Camera Input Support
- Support for 'chose_rtsp' and 'load_rtsp' Functions
- Monitor system hardware usage
- Graph showing changes in target quantity