Coder Social home page Coder Social logo

mxy493 / yolov5-qt Goto Github PK

View Code? Open in Web Editor NEW
79.0 5.0 14.0 124.38 MB

本项目为基于yolov5的GUI目标识别程序,支持选择要使用的权重文件,设置是否使用GPU、置信度阈值等参数。

License: GNU General Public License v3.0

Python 97.75% NSIS 1.43% Shell 0.59% Dockerfile 0.24%
object-detection yolov5 python

yolov5-qt's Introduction

简述

本项目为基于yolov5的GUI目标识别程序,支持选择要使用的权重文件,设置是否使用GPU、置信度阈值等参数。

注:该Demo为早期版本录制的动画,与新版存在部分差异!

Demo

环境

  • Python 3.8

安装和使用

注意:该程序由我个人开发,存在bug在所难免,但程序迭代了多个版本并一直在优化,因此强烈建议使用最新版代码!

安装依赖:

pip install -r requirements.txt

所有依赖安装成功后,程序即可正常运行!

初次使用需要对软件进行简单的配置,必不可少的是配置目标识别模型文件,模型文件可以从网络上下载,或者自己训练生成。这里为了简单说明本程序的使用方式,使用yolov5官方仓库提供的模型文件为例介绍,yolov5的每一个release都附带了训练好的模型文件可以对常见物体进行目标识别,请自行下载备用!

yolov5官方模型文件下载:https://github.com/ultralytics/yolov5/releases

模型文件准备好后,运行程序并点击主界面Settings按钮,在弹出的Settings对话框中配置Weights配置项,即模型文件的路径,然后点击Ok按钮保存设置,程序会自动加载对应模型文件,主界面有模型加载是否成功的提示。

模型加载成功后就可以点击主界面右下角Open/Close Camera按钮使用电脑的默认摄像头进行实时目标识别,或者你可以取消Use default camera的勾选,并在Source配置项中配置图片路径、视频路径或实时视频流地址后使用!

yolov5-qt's People

Contributors

mxy493 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

yolov5-qt's Issues

Add functionality

Hello, I want to add two more setting modules. The mode switch has been achieved. Is it feasible

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.