YOLOv5 detection interface - PyQt5 implementation

Overview

2021/10/8: 所有代码已上传,直接clone后,运行yolo_win.py即可开启界面。

2021/9/29:加入置信度选择 置信度

界面是在ultralyticsyolov5基础上建立的,界面使用pyqt5实现,内容较简单,娱乐而已。

功能:

  1. 模型选择
  2. 本地文件选择(视频图片均可)
  3. 开关摄像头
  4. 运行/终止
  5. 统计检测结果

界面 默认模型为yolov5s.pt,默认输入文件为电脑摄像头视频

使用视频: https://www.bilibili.com/video/BV1sQ4y1C7Vk?spm_id_from=333.999.0.0

csdn: https://blog.csdn.net/weixin_41735859/article/details/120507779?spm=1001.2014.3001.5501

摄像头检测画面:

摄像头

本地视频检测画面: 本地

本地图片检测画面: 本地

使用

运行yolo_win.py即可开启检测界面。

存在的一个小问题,切换模型或者文件过于频繁,可能会卡住,重启一下即可。

这种情况很少出现,问题不大。

You might also like...
A python implementation of Yolov5 to detect fire or smoke in the wild in Jetson Xavier nx and Jetson nano
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

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

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逻辑进行编写

This is a GUI interface which can process forest fire detection, smoke detection and fire segmentation
This is a GUI interface which can process forest fire detection, smoke detection and fire segmentation

This is a GUI interface which can process forest fire detection, smoke detection and fire segmentation. Yolov5 is used to detect fire and smoke and unet is used to segment fire.

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 deepsort inference,使用YOLOv5+Deepsort实现车辆行人追踪和计数,代码封装成一个Detector类,更容易嵌入到自己的项目中
Yolov5 deepsort inference,使用YOLOv5+Deepsort实现车辆行人追踪和计数,代码封装成一个Detector类,更容易嵌入到自己的项目中

使用YOLOv5+Deepsort实现车辆行人追踪和计数,代码封装成一个Detector类,更容易嵌入到自己的项目中。

yolov5 deepsort 行人 车辆 跟踪 检测 计数
yolov5 deepsort 行人 车辆 跟踪 检测 计数

yolov5 deepsort 行人 车辆 跟踪 检测 计数 实现了 出/入 分别计数。 默认是 南/北 方向检测,若要检测不同位置和方向,可在 main.py 文件第13行和21行,修改2个polygon的点。 默认检测类别:行人、自行车、小汽车、摩托车、公交车、卡车。 检测类别可在 detect

YOLOv5 in PyTorch > ONNX > CoreML > TFLite
YOLOv5 in PyTorch ONNX CoreML TFLite

This repository represents Ultralytics open-source research into future object detection methods, and incorporates lessons learned and best practices evolved over thousands of hours of training and evolution on anonymized client datasets. All code and models are under active development, and are subject to modification or deletion without notice.

YoloV5 implemented by TensorFlow2 , with support for training, evaluation and inference. This repository is based on Ultralytics/yolov5, with adjustments to enable polygon prediction boxes.
This repository is based on Ultralytics/yolov5, with adjustments to enable polygon prediction boxes.

Polygon-Yolov5 This repository is based on Ultralytics/yolov5, with adjustments to enable polygon prediction boxes. Section I. Description The codes a

Comments
  •  UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 294-295: invalid continuation byte

    UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 294-295: invalid continuation byte

    Traceback (most recent call last): File "train.py", line 660, in main(opt) File "train.py", line 558, in main train(opt.hyp, opt, device) File "train.py", line 91, in train data_dict = yaml.safe_load(f) # data dict File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/init.py", line 125, in safe_load return load(stream, SafeLoader) File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/init.py", line 79, in load loader = Loader(stream) File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/loader.py", line 34, in init Reader.init(self, stream) File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 86, in init self.determine_encoding() File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 125, in determine_encoding self.update_raw() File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/site-packages/yaml/reader.py", line 179, in update_raw data = self.stream.read(size) File "/home/scu/anaconda3/envs/torch19_py38/lib/python3.8/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 294-295: invalid continuation byte

    opened by Vananananana 0
  • How to solve the pyqt5-tools stuck on

    How to solve the pyqt5-tools stuck on "Preparing metadata (pyproject.toml) ... \" on MacOS M1 chip?

    (base) kakutooru@MacBook-Air PyQt5-YOLOv5 % pip install PyQt5-tools Looking in indexes: https://pypi.douban.com/simple/ Collecting PyQt5-tools Downloading https://pypi.doubanio.com/packages/b7/70/a25aab849a5e38ae78716acde1f917a14d9d819c8600bbb8cf536781f7c5/pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB) Using cached https://pypi.doubanio.com/packages/36/b8/a255b8160e863678aa7d559a4c8c33b5448a6e270992d1464ec9f87ed633/pyqt5_tools-5.15.4.3.1-py3-none-any.whl (28 kB) Using cached https://pypi.doubanio.com/packages/88/ca/a9cb4816479940d1e0c94c683418c2cc4b4bc2955cd3c5754179a5f95040/pyqt5_tools-5.15.4.3.0.3-py3-none-any.whl (28 kB) Using cached https://pypi.doubanio.com/packages/e5/cb/34b583ce53ca66803cfe904b11ae87633b1e98121a2a54583674514ae29b/pyqt5_tools-5.15.3.3.2-py3-none-any.whl (29 kB) Collecting pyqt5==5.15.3 Downloading https://pypi.doubanio.com/packages/6e/86/d715e71771cece0e060f2ebab20f3ded067b08a0927dfb3143530cae8098/PyQt5-5.15.3.tar.gz (3.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 4.1 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... \

    I am using m1 MacOs13.1.I meet some trouble when I install pyqt5 with pip.I solve the problem follow its method. M1 Mac安装PyQt5的方法

    But I can't install pyqt5-tools. It just stucks at " Preparing metadata (pyproject.toml) ... ".

    Looking forward to a solution.

    opened by 2369257907 1
Owner
null
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
Yolov5-lite - Minimal PyTorch implementation of YOLOv5

Yolov5-Lite: Minimal YOLOv5 + Deep Sort Overview This repo is a shortened versio

Kadir Nar 57 Nov 28, 2022
Add gui for YoloV5 using PyQt5

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

Ruihao Wang 65 Dec 27, 2022
🍅🍅🍅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
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
Drone detection using YOLOv5

This drone detection system uses YOLOv5 which is a family of object detection architectures and we have trained the model on Drone Dataset. Overview I

Tushar Sarkar 27 Dec 20, 2022
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.

null 477 Jan 6, 2023
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

阿才 73 Dec 16, 2022
Yolov5+SlowFast: Realtime Action Detection Based on PytorchVideo

Yolov5+SlowFast: Realtime Action Detection A realtime action detection frame work based on PytorchVideo. Here are some details about our modification:

WuFan 181 Dec 30, 2022
YOLOv5 + ROS2 object detection package

YOLOv5-ROS YOLOv5 + ROS2 object detection package This program changes the input of detect.py (ultralytics/yolov5) to sensor_msgs/Image of ROS2. Requi

Ar-Ray 23 Dec 19, 2022