Giter VIP home page Giter VIP logo

pyqt5-yolov5-7.0-2's Introduction

TIPS

This repo is based on YOLOv5 v6.1

Download the models of YOLOv5 v6.1 from here,and put the them to the pt folder. When the GUI runs, the existing models will be automatically detected.

Other versions: v5.0, ...

If you're not interested in code, you can use the packaged GUI. Download link: Google Drive or Baidu Netdisk-pwd=6666.

Download the zip file and unzip it to the destination, find and run main.exe

location

Updated Date:2023/2/1

NEU模型链接:

https://pan.baidu.com/s/12Z_Ofz2fUb58M-JXfSLYwQ 提取码:6vii img.png img_1.png img_2.png

Quick Start

conda create -n yolov5_pyqt5 python=3.8
conda activate yolov5_pyqt5
pip install -r requirements.txt
python main.py

About Packaging

  • install pyinstaller
pip install pyinstaller==5.7.0
  • package the GUI
pyinstaller -D -w --add-data="./utils/*;./utils" --add-data="./config/*;./config" --add-data="./icon/*;./icon" --add-data="./pt/*;./pt" --add-data="./imgs/*;./imgs" main.py
  • if no errors occur, the packaged application is in dist/main

Function

  1. support image/video/webcam/rtsp as input
  2. change model
  3. change IoU
  4. change confidence
  5. set latency
  6. paly/pause/stop
  7. result statistics
  8. save detected image/video automatically

You can find ui files in main_win and dialog

pyqt5-yolov5-7.0-2's People

Contributors

javacr avatar songjiahao-wq avatar wp19991 avatar

Stargazers

 avatar  avatar pengewengao avatar  avatar  avatar  avatar liuyang avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pyqt5-yolov5-7.0-2's Issues

Ubuntu下调用摄像头报错:(python3:10313): GLib-CRITICAL **: 16:25:23.958: g_main_context_push_thread_default: assertion 'acquired_context' failed

在windows下运行无问题,但在Ubuntu下调用相机时报错:
(python3:10313): GLib-CRITICAL **: 16:25:23.958: g_main_context_push_thread_default: assertion 'acquired_context' failed
QObject::killTimer: Timers cannot be stopped from another thread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QObject::startTimer: Timers cannot be started from another thread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
QObject::killTimer: Timers cannot be stopped from another thread
QObject::startTimer: Timers cannot be started from another thread
并且会卡在test窗口,请问有没有解决办法呢
image

感谢

很感谢,很棒,但里面好像有点bug,还少点东西。

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.