Qt-GUI implementation of the YOLOv5 algorithm (ver.6 and ver.5)

Overview

YOLOv5-GUI

🎉 YOLOv5算法(ver.6及ver.5)的Qt-GUI实现 🎉 Qt-GUI implementation of the YOLOv5 algorithm (ver.6 and ver.5).

基于YOLOv5的v5版本和v6版本及Javacr大佬的UI逻辑进行编写

提供深色浅色两个UI。

Provides dark and light UI.

image

Installation and use

1.Fetching projects from git

git clone https://github.com/cnyvfang/YOLOv5-GUI.git

2.Switching the operating directory to the project directory

cd [PyQt5-YOLOv5_V5/PyQt5-YOLOv5_V6]

3.Installation environment

pip install -r requirements.txt

4.Launching applications

python run.py

Attention

GUI默认为深色模式,你也可以通过在run.py的import中修改main_ui_dark为main_ui_light来让程序调整为浅色模式。

The GUI defaults to dark mode, you can also make the program adjust to light mode by changing main_ui_dark to main_ui_light in the import of run.py.

Reference

ultralytics/yolov5

Javacr/PyQt5-YOLOv5

You might also like...
Torchserve server using a YoloV5 model running on docker with GPU and static batch inference to perform production ready inference.
Torchserve server using a YoloV5 model running on docker with GPU and static batch inference to perform production ready inference.

Yolov5 running on TorchServe (GPU compatible) ! This is a dockerfile to run TorchServe for Yolo v5 object detection model. (TorchServe (PyTorch librar

YoloV5 implemented by TensorFlow2 , with support for training, evaluation and inference. joint detection and semantic segmentation, based on ultralytics/yolov5,
joint detection and semantic segmentation, based on ultralytics/yolov5,

Multi YOLO V5——Detection and Semantic Segmentation Overeview This is my undergraduate graduation project which based on ultralytics YOLO V5 tag v5.0.

YOLOv5 🚀 is a family of object detection architectures and models pretrained on the COCO dataset
YOLOv5 🚀 is a family of object detection architectures and models pretrained on the COCO dataset

YOLOv5 🚀 is a family of object detection architectures and models pretrained on the COCO dataset, and represents Ultralytics open-source research int

A graphical Semi-automatic annotation tool based on labelImg and Yolov5
A graphical Semi-automatic annotation tool based on labelImg and Yolov5

💕YOLOV5 semi-automatic annotation tool (Based on labelImg)

shufflev2-yolov5:lighter, faster and easier to deploy
shufflev2-yolov5:lighter, faster and easier to deploy

shufflev2-yolov5: lighter, faster and easier to deploy. Evolved from yolov5 and the size of model is only 1.7M (int8) and 3.3M (fp16). It can reach 10+ FPS on the Raspberry Pi 4B when the input size is 320×320~

YOLOv5 Series Multi-backbone, Pruning and quantization Compression Tool Box.

YOLOv5-Compression Update News Requirements 环境安装 pip install -r requirements.txt Evaluation metric Visdrone Model mAP mAP@50 Parameters(M) GFLOPs FPS@

Playing around with FastAPI and streamlit to create a YoloV5 object detector

FastAPI-Streamlit-based-YoloV5-detector Playing around with FastAPI and streamlit to create a YoloV5 object detector It turns out that a User Interfac

AgeGuesser: deep learning based age estimation system. Powered by EfficientNet and Yolov5

AgeGuesser AgeGuesser is an end-to-end, deep-learning based Age Estimation system, presented at the CAIP 2021 conference. You can find the related pap

Comments
  • The code stop detecting after frame 105

    The code stop detecting after frame 105

    i run the code V6 using local video the code runs well but it just stop detection after frame 105( i edit the code to check where it stooped) where is the problem

    opened by totoadel 1
  • Solve the problem that the camera cannot output

    Solve the problem that the camera cannot output

    https://github.com/cnyvfang/YOLOv5-GUI/blob/bb8ef15893f24b318a2876fd487c3a4b6f636ada/PyQt5-YOLOv5_V6/run.py#L85

    change this code to dataset = LoadWebcam(pipe='0', img_size=imgsz, stride=stride)

    opened by XTWLP 0
  • when i use camera i got this error

    when i use camera i got this error

    Thanks for your work i try v6 when i run the code using camer i got this error

    `Fusing layers...
    Model Summary: 213 layers, 1769989 parameters, 0 gradients, 4.2 GFLOPs
    1/1: 0...  Success (inf frames 640x480 at 30.00 FPS)
    
    
    Traceback (most recent call last):
      File "C:\Program Files\Python38\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
        return func(*args, **kwargs)
      File "run2.py", line 120, in run
        annotator = Annotator(im0, line_width=line_thickness, example=str(names))
      File "D:\python_work\GUI\orginal\PyQt5-YOLOv5_V6\utils\plots.py", line 74, in __init__
        assert im.data.contiguous, 'Image not contiguous. Apply np.ascontiguousarray(im) to Annotator() input images.'
    AttributeError: 'list' object has no attribute 'data`
    
    opened by totoadel 5
Owner
EricFang
Coding the world.
EricFang
🍅🍅🍅YOLOv5-Lite: lighter, faster and easier to deploy. Evolved from yolov5 and the size of model is only 1.7M (int8) and 3.3M (fp16). It can reach 10+ FPS on the Raspberry Pi 4B when the input size is 320×320~

YOLOv5-Lite:lighter, faster and easier to deploy Perform a series of ablation experiments on yolov5 to make it lighter (smaller Flops, lower memory, a

pogg 1.5k Jan 5, 2023
Multi-task yolov5 with detection and segmentation based on yolov5

YOLOv5DS Multi-task yolov5 with detection and segmentation based on yolov5(branch v6.0) decoupled head anchor free segmentation head README中文 Ablation

null 150 Dec 30, 2022
TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head for Object Detection on Drone-Captured Scenarios

TPH-YOLOv5 This repo is the implementation of "TPH-YOLOv5: Improved YOLOv5 Based on Transformer Prediction Head for Object Detection on Drone-Captured

cv516Buaa 439 Dec 22, 2022
Genetic Algorithm, Particle Swarm Optimization, Simulated Annealing, Ant Colony Optimization Algorithm,Immune Algorithm, Artificial Fish Swarm Algorithm, Differential Evolution and TSP(Traveling salesman)

scikit-opt Swarm Intelligence in Python (Genetic Algorithm, Particle Swarm Optimization, Simulated Annealing, Ant Colony Algorithm, Immune Algorithm,A

郭飞 3.7k Jan 3, 2023
Add gui for YoloV5 using PyQt5

<<<<<<< HEAD 更新2021.08.16 **添加图片和视频保存功能: 1.图片和视频按照当前系统时间进行命名 2.各自检测结果存放入output文件夹 3.摄像头检测的默认设备序号更改为0,减少调试报错 温馨提示: 1.项目放置在全英文路径下,防止项目报错 2.默认使用cpu进行检测,自

Ruihao Wang 65 Dec 27, 2022
A Python training and inference implementation of Yolov5 helmet detection in Jetson Xavier nx and Jetson nano

yolov5-helmet-detection-python A Python implementation of Yolov5 to detect head or helmet in the wild in Jetson Xavier nx and Jetson nano. In Jetson X

null 12 Dec 5, 2022
A python implementation of Yolov5 to detect fire or smoke in the wild in Jetson Xavier nx and Jetson nano

yolov5-fire-smoke-detect-python A python implementation of Yolov5 to detect fire or smoke in the wild in Jetson Xavier nx and Jetson nano You can see

null 20 Dec 15, 2022
YOLOv5 detection interface - PyQt5 implementation

所有代码已上传,直接clone后,运行yolo_win.py即可开启界面。 2021/9/29:加入置信度选择 界面是在ultralytics的yolov5基础上建立的,界面使用pyqt5实现,内容较简单,娱乐而已。 功能: 模型选择 本地文件选择(视频图片均可) 开关摄像头

null 487 Dec 27, 2022
Simple Linear 2nd ODE Solver GUI - A 2nd constant coefficient linear ODE solver with simple GUI using euler's method

Simple_Linear_2nd_ODE_Solver_GUI Description It is a 2nd constant coefficient li

:) 4 Feb 5, 2022
This YoloV5 based model is fit to detect people and different types of land vehicles, and displaying their density on a fitted map, according to their coordinates and detected labels.

This YoloV5 based model is fit to detect people and different types of land vehicles, and displaying their density on a fitted map, according to their

Liron Bdolah 8 May 22, 2022