<p align="center">
<a href="https://gitee.com/CV_Lab/gradio-yolov8-det">
<img src="https://pycver.gitee.io/ows-pics/imgs/gradio_yolov8_det_logo.png" alt="Simple Icons" >
</a>
<p align="center">
基于 Gradio 的 YOLOv8 通用计算机视觉演示系统
</p>
<p align="center">
集成目标检测、图像分割和图像分类于一体,可自定义检测模型
</p>
</p>
<p align="center">
<a href="./CodeCheck.md"><img src="https://img.shields.io/badge/CodeCheck-passing-success" alt="code check" /></a>
<a href="https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v2.1.0"><img src="https://img.shields.io/badge/Releases-v2.1.0-green" alt="Releases Version" /></a>
<a href="https://pypi.org/project/gradio-yolov8-det/2.1.0/"><img src="https://badge.fury.io/py/gradio-yolov8-det.svg" alt="PyPI" /></a>
<a href="https://www.modelscope.cn/"><img src="https://img.shields.io/badge/ModelScope-v1.10.0%2B-blue?logo=modelscope
" alt="ModelScope" /></a>
<a href="https://huggingface.co/"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Hugging%20Face-blue" alt="Hugging Face Spaces" /></a>
<a href="https://gitee.com/CV_Lab/gradio-yolov8-det/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-GPL--3.0-blue" alt="License" /></a>
</p>
<p align="center">
<a href="https://github.com/ultralytics/ultralytics"><img src="https://img.shields.io/badge/ultralytics-v8.1.1+-blue" alt="YOLOv8 Version" /></a>
<a href="https://github.com/gradio-app/gradio"><img src="https://img.shields.io/badge/Gradio-4.14.0+-orange" alt="Gradio Version" /></a>
<a href="#"><img src="https://img.shields.io/badge/Python-3.8%2B-blue?logo=python" alt="Python Version" /></a>
<a href="https://pypi.org/project/gradio-yolov8-det"><img src="https://static.pepy.tech/personalized-badge/gradio-yolov8-det?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=PyPI%20downloads" alt="PyPI All Downloads"></a>
<a href="https://snyk.io/advisor/python/gradio-yolov8-det"><img src="https://snyk.io/advisor/python/gradio-yolov8-det/badge.svg" alt="PyPI Package Health"></a>
</p>
<p align="center">
<a href='https://gitee.com/CV_Lab/gradio-yolov8-det/stargazers'><img src='https://gitee.com/CV_Lab/gradio-yolov8-det/badge/star.svg?theme=dark' alt='star'></img></a>
<a href='https://gitee.com/CV_Lab/gradio-yolov8-det/members'><img src='https://gitee.com/CV_Lab/gradio-yolov8-det/badge/fork.svg?theme=dark' alt='fork'></img></a>
</p>
## 🚀 作者简介
曾逸夫,从事人工智能研究与开发;主研领域:计算机视觉;[YOLOv8官方开源项目代码贡献人](https://github.com/ultralytics/ultralytics/graphs/contributors);[YOLOv5官方开源项目代码贡献人](https://github.com/ultralytics/yolov5/graphs/contributors);[Gradio官方开源项目代码贡献人](https://github.com/gradio-app/gradio/graphs/contributors)
❤️ Github:https://github.com/Zengyf-CVer
<h2 align="center">🚀更新走势</h2>
| 日期 | 版本 |
| :--------: | :----------------------------------------------------------: |
| 2024-01-15 | [Gradio YOLOv8 Det v2.1.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v2.1.0) |
| 2024-01-05 | [Gradio YOLOv8 Det v2.0.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v2.0.1) |
| 2024-01-04 | [Gradio YOLOv8 Det v2.0.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v2.0.0) |
| 2024-01-03 | [Gradio YOLOv8 Det v1.3.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.3.1) |
| 2023-12-15 | [Gradio YOLOv8 Det v1.3.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.3.0) |
| 2023-12-07 | [Gradio YOLOv8 Det v1.2.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.2.1) |
| 2023-11-16 | [Gradio YOLOv8 Det v1.2.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.2.0) |
| 2023-11-04 | [Gradio YOLOv8 Det v1.1.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.1.0) |
| 2023-11-01 | [Gradio YOLOv8 Det v1.0.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.0.0) |
| 2023-10-21 | [Gradio YOLOv8 Det v0.2.5](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v0.2.5) |
| 2023-08-14 | [Gradio YOLOv8 Det v0.2.4](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v0.2.4) |
| 2023-04-14 | [Gradio YOLOv8 Det v0.2.3](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.2.3) |
| 2023-01-23 | [Gradio YOLOv8 Det v0.2.2](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.2.2) |
| 2023-01-22 | [Gradio YOLOv8 Det v0.2](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.2) |
| 2023-01-15 | [Gradio YOLOv8 Det v0.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.1) |
<h2 align="center">🤗在线Demo</h2>
### ❤️ 快速体验
📌 本项目提供了**Gradio YOLOv8 Det v1.3.1**版本的**在线demo**,点击下面对应的logo,进入**达摩院 ModelScope(魔搭社区) 或者 Hugging Face Spaces**中快速体验。
📌 如果体验**Gradio YOLOv8 Det v2.x** 以上版本 请使用`pip install gradio-yolov8-det` 安装。
<div align="center">
<a href="https://www.modelscope.cn/studios/ZengyfCVer/gradio-yolov8-det/summary">
<img src="https://pycver.gitee.io/ows-pics/imgs/modelscope.gif" width="50%"/>
</a>
<a href="https://huggingface.co/spaces/Zengyf-CVer/Gradio-YOLOv8-Det">
<img src="https://pycver.gitee.io/ows-pics/imgs/huggingface_logo.png" width=""/>
</a>
</div>
<h2 align="center">💎项目流程与用途</h2>
### 📌 项目整体流程
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/gradio_yolov8_det_v1_1_workflow.png">
</div>
### 📌 项目示例
#### ❤️ Gradio YOLOv8 Det v2.1.0 界面与检测效果(目标检测)
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/gyd_v211_det.png">
</div>
#### ❤️ Gradio YOLOv8 Det v2.1.0 界面与检测效果(图像分割)
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/gyd_v211_seg.png">
</div>
#### ❤️ Gradio YOLOv8 Det v2.1.0 界面与检测效果(图像分类)
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/gyd_v211_clas.png">
</div>
#### ❤️ 快速体验
本项目提供了6个**目标检测和图像分割的图片示例**,用户可以快速体验检测与分割效果:
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/gyd_v211_det_examples.png">
</div>
<div align="center" >
示例界面
</div>
本项目提供了6个**图像分类的图片示例**,用户可以快速体验检测与分割效果:
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/gyd_v211_clas_examples.png">
</div>
<div align="center" >
示例界面
</div>
本项目提供了**在线版的安装教程和使用教程**,用户可以快速查看安装和使用教程:
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/gyd_v211_tutorials.png">
</div>
<div align="center" >
示例界面
</div>
<h2 align="center">💡项目结构</h2>
```
.
├── gradio-yolov8-det # 项目名称
│ ├── gradio_yolov8_det # 项目核心文件
│ │ ├── model_config # 模型配置
│ │ │ ├── model_name_all.yaml # YOLOv8 模型名称(yaml版)
│ │ │ └── model_name_custom.yaml # 自定义模型名称(yaml版)
│ │ ├── cls_name # 类别名称
│ │ │ ├── cls_name_zh.yaml # 类别名称文件(yaml版-中文)
│ │ │ ├── cls_imagenet_name_zh.yaml # ImageNet类别名称文件(yaml版-中文)
│ │ │ ├── cls_name_en.yaml # 类别名称文件(yaml版-英文)
│ │ │ ├── cls_name_ru.yaml # 类别名称文件(yaml版-俄语)
│ │ │ ├── cls_name_es.yaml # 类别名称文件(yaml版-西班牙语)
│ │ │ ├── cls_name_ar.yaml # 类别名称文件(yaml版-阿拉伯语)
│ │ │ ├── cls_name_ko.yaml # 类别名称文件(yaml版-韩语)
│ │ │ ├── cls_name.yaml # 类别名称文件(yaml版-中文-v0.1)
│ │ │ └── cls_name.csv # 类别名称文件(csv版-中文)
│ │ ├── gyd_utils # 工具包
│ │ │ ├── __init__.py # 工具包初始化文件
│ │ │ └── fonts_opt.py # 字体管理
│ │ ├── img_examples # 示例图片
│ │ ├── __init__.py # 初始化文件
│ │ ├── gradio_yolov8_det_v2.py # v2.0.0主运行文件
│ │ └── gyd_style.css # CSS样式文件
│ ├── setup.cfg # pre-commit CI检查源配置文件
│ ├── .pre-commit-config.yaml # pre-commit配置文件
│ ├── LICENSE # 项目许可
│ ├── .gitignore # git忽略文件
│ ├── README.md # 项目说明
│ ├── pyproject.toml # Python Package构建文件
│ ├── Dockerfile # Docker构建工具
│ └── .dockerignore # Docker忽略文件
```
<h2 align="center">🔥安装教程</h2>
### ✅ 第一步:创建conda环境
```shell
conda create -n yolo python=3.8 # 安装python3.8最新版本
```
### ✅ 第二步:激活conda环境
```shell
conda activate yolo
```
### ✅ 第三步:通过 pip 安装 Gradio YOLOv8 Det
```shell
pip install gradio-yolov8-det
```
<h2 align="center">⚡使用教程</h2>
### 💡 运行Gradio YOLOv8 Det
📌 运行
```shell
gradio-yolov8-det
# 在浏览器中输入:http://127.0.0.1:7860/或者http://127.0.0.1:7861/ 等等(具体观察shell提示)
```
### 💡 脚本指令操作
❤️ 本项目提供了一些脚本指令,旨在扩展项目的功能。
❗ 注:其中的一些功能是界面组件(按钮、文本框等)无法实现的,需要通过脚本指令完成:
```shell
# 共享模式
gradio-yolov8-det -is # 在浏览器中以共享模式打开,https://**.gradio.app/
# 自定义模型配置
gradio-yolov8-det -mc ./model_config/model_name_all.yaml
# 自定义下拉框默认模型名称
gradio-yolov8-det -mn yolov8m
# 自定义类别名称
gradio-yolov8-det -cls ./cls_name/cls_name_zh.yaml (目标检测与图像分割)
gradio-yolov8-det -cin ./cls_name/cls_imgnet_name_zh.yaml (图像分类)
# 自定义NMS置信度阈值
gradio-yolov8-det -conf 0.8
# 自定义NMS IoU阈值
gradio-yolov8-det -iou 0.5
# 设置推理尺寸,默认为640
gradio-yolov8-det -isz 320
# 设置最大检测数,默认为50
gradio-yolov8-det -mdn 100
# 设置滑块步长,默认为0.05
gradio-yolov8-det -ss 0.01
```
### 📝 项目引用指南
📌 如需引用Gradio YOLOv8 Det v2.1.0,请在相关文章的**参考文献**中加入下面文字:
```
曾逸夫, (2024) Gradio YOLOv8 Det (Version 2.1.0).https://gitee.com/CV_Lab/gradio-yolov8-det.git.
```
### 💬 技术交流
- 如果你发现任何Gradio YOLOv8 Det存在的问题或者是建议, 欢迎通过[Gitee Issues](https://gitee.com/CV_Lab/gradio-yolov8-det/issues)给我提issues。
- 欢迎加入CV Lab技术交流群
<div align="center" >
<img src="https://pycver.gitee.io/ows-pics/imgs/qq_group.jpg" width="20%">
</div>
Raw data
{
"_id": null,
"home_page": "",
"name": "gradio-yolov8-det",
"maintainer": "\u66fe\u9038\u592b Zeng Yifu",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "YOLOv8,Gradio,\u76ee\u6807\u68c0\u6d4b,\u56fe\u50cf\u5206\u5272,\u56fe\u50cf\u5206\u7c7b",
"author": "\u66fe\u9038\u592b Zeng Yifu",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/43/54/24a0e5a235672f6ab66b5a7f3b425583115e94e01969f435064f0974a99a/gradio-yolov8-det-2.1.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n<a href=\"https://gitee.com/CV_Lab/gradio-yolov8-det\">\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gradio_yolov8_det_logo.png\" alt=\"Simple Icons\" >\n</a>\n<p align=\"center\">\n \u57fa\u4e8e Gradio \u7684 YOLOv8 \u901a\u7528\u8ba1\u7b97\u673a\u89c6\u89c9\u6f14\u793a\u7cfb\u7edf\n</p>\n<p align=\"center\">\n \u96c6\u6210\u76ee\u6807\u68c0\u6d4b\u3001\u56fe\u50cf\u5206\u5272\u548c\u56fe\u50cf\u5206\u7c7b\u4e8e\u4e00\u4f53\uff0c\u53ef\u81ea\u5b9a\u4e49\u68c0\u6d4b\u6a21\u578b\n</p>\n</p>\n<p align=\"center\">\n<a href=\"./CodeCheck.md\"><img src=\"https://img.shields.io/badge/CodeCheck-passing-success\" alt=\"code check\" /></a>\n<a href=\"https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v2.1.0\"><img src=\"https://img.shields.io/badge/Releases-v2.1.0-green\" alt=\"Releases Version\" /></a>\n<a href=\"https://pypi.org/project/gradio-yolov8-det/2.1.0/\"><img src=\"https://badge.fury.io/py/gradio-yolov8-det.svg\" alt=\"PyPI\" /></a>\n<a href=\"https://www.modelscope.cn/\"><img src=\"https://img.shields.io/badge/ModelScope-v1.10.0%2B-blue?logo=modelscope\n\" alt=\"ModelScope\" /></a>\n<a href=\"https://huggingface.co/\"><img src=\"https://img.shields.io/badge/%F0%9F%A4%97-Hugging%20Face-blue\" alt=\"Hugging Face Spaces\" /></a>\n<a href=\"https://gitee.com/CV_Lab/gradio-yolov8-det/blob/master/LICENSE\"><img src=\"https://img.shields.io/badge/License-GPL--3.0-blue\" alt=\"License\" /></a>\n</p>\n<p align=\"center\">\n<a href=\"https://github.com/ultralytics/ultralytics\"><img src=\"https://img.shields.io/badge/ultralytics-v8.1.1+-blue\" alt=\"YOLOv8 Version\" /></a>\n<a href=\"https://github.com/gradio-app/gradio\"><img src=\"https://img.shields.io/badge/Gradio-4.14.0+-orange\" alt=\"Gradio Version\" /></a>\n<a href=\"#\"><img src=\"https://img.shields.io/badge/Python-3.8%2B-blue?logo=python\" alt=\"Python Version\" /></a>\n<a href=\"https://pypi.org/project/gradio-yolov8-det\"><img src=\"https://static.pepy.tech/personalized-badge/gradio-yolov8-det?period=total&units=international_system&left_color=grey&right_color=brightgreen&left_text=PyPI%20downloads\" alt=\"PyPI All Downloads\"></a>\n<a href=\"https://snyk.io/advisor/python/gradio-yolov8-det\"><img src=\"https://snyk.io/advisor/python/gradio-yolov8-det/badge.svg\" alt=\"PyPI Package Health\"></a>\n</p>\n<p align=\"center\">\n<a href='https://gitee.com/CV_Lab/gradio-yolov8-det/stargazers'><img src='https://gitee.com/CV_Lab/gradio-yolov8-det/badge/star.svg?theme=dark' alt='star'></img></a>\n<a href='https://gitee.com/CV_Lab/gradio-yolov8-det/members'><img src='https://gitee.com/CV_Lab/gradio-yolov8-det/badge/fork.svg?theme=dark' alt='fork'></img></a>\n</p>\n\n\n## \ud83d\ude80 \u4f5c\u8005\u7b80\u4ecb\n\n\u66fe\u9038\u592b\uff0c\u4ece\u4e8b\u4eba\u5de5\u667a\u80fd\u7814\u7a76\u4e0e\u5f00\u53d1\uff1b\u4e3b\u7814\u9886\u57df\uff1a\u8ba1\u7b97\u673a\u89c6\u89c9\uff1b[YOLOv8\u5b98\u65b9\u5f00\u6e90\u9879\u76ee\u4ee3\u7801\u8d21\u732e\u4eba](https://github.com/ultralytics/ultralytics/graphs/contributors)\uff1b[YOLOv5\u5b98\u65b9\u5f00\u6e90\u9879\u76ee\u4ee3\u7801\u8d21\u732e\u4eba](https://github.com/ultralytics/yolov5/graphs/contributors)\uff1b[Gradio\u5b98\u65b9\u5f00\u6e90\u9879\u76ee\u4ee3\u7801\u8d21\u732e\u4eba](https://github.com/gradio-app/gradio/graphs/contributors)\n\n\u2764\ufe0f Github\uff1ahttps://github.com/Zengyf-CVer\n\n<h2 align=\"center\">\ud83d\ude80\u66f4\u65b0\u8d70\u52bf</h2>\n\n| \u65e5\u671f | \u7248\u672c |\n| :--------: | :----------------------------------------------------------: |\n| 2024-01-15 | [Gradio YOLOv8 Det v2.1.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v2.1.0) |\n| 2024-01-05 | [Gradio YOLOv8 Det v2.0.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v2.0.1) |\n| 2024-01-04 | [Gradio YOLOv8 Det v2.0.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v2.0.0) |\n| 2024-01-03 | [Gradio YOLOv8 Det v1.3.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.3.1) |\n| 2023-12-15 | [Gradio YOLOv8 Det v1.3.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.3.0) |\n| 2023-12-07 | [Gradio YOLOv8 Det v1.2.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.2.1) |\n| 2023-11-16 | [Gradio YOLOv8 Det v1.2.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.2.0) |\n| 2023-11-04 | [Gradio YOLOv8 Det v1.1.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.1.0) |\n| 2023-11-01 | [Gradio YOLOv8 Det v1.0.0](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v1.0.0) |\n| 2023-10-21 | [Gradio YOLOv8 Det v0.2.5](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v0.2.5) |\n| 2023-08-14 | [Gradio YOLOv8 Det v0.2.4](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/tag/v0.2.4) |\n| 2023-04-14 | [Gradio YOLOv8 Det v0.2.3](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.2.3) |\n| 2023-01-23 | [Gradio YOLOv8 Det v0.2.2](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.2.2) |\n| 2023-01-22 | [Gradio YOLOv8 Det v0.2](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.2) |\n| 2023-01-15 | [Gradio YOLOv8 Det v0.1](https://gitee.com/CV_Lab/gradio-yolov8-det/releases/v0.1) |\n\n<h2 align=\"center\">\ud83e\udd17\u5728\u7ebfDemo</h2>\n\n### \u2764\ufe0f \u5feb\u901f\u4f53\u9a8c\n\n\ud83d\udccc \u672c\u9879\u76ee\u63d0\u4f9b\u4e86**Gradio YOLOv8 Det v1.3.1**\u7248\u672c\u7684**\u5728\u7ebfdemo**\uff0c\u70b9\u51fb\u4e0b\u9762\u5bf9\u5e94\u7684logo\uff0c\u8fdb\u5165**\u8fbe\u6469\u9662 ModelScope\uff08\u9b54\u642d\u793e\u533a\uff09 \u6216\u8005 Hugging Face Spaces**\u4e2d\u5feb\u901f\u4f53\u9a8c\u3002\n\n\ud83d\udccc \u5982\u679c\u4f53\u9a8c**Gradio YOLOv8 Det v2.x** \u4ee5\u4e0a\u7248\u672c \u8bf7\u4f7f\u7528`pip install gradio-yolov8-det` \u5b89\u88c5\u3002\n\n<div align=\"center\">\n<a href=\"https://www.modelscope.cn/studios/ZengyfCVer/gradio-yolov8-det/summary\">\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/modelscope.gif\" width=\"50%\"/>\n</a>\n<a href=\"https://huggingface.co/spaces/Zengyf-CVer/Gradio-YOLOv8-Det\">\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/huggingface_logo.png\" width=\"\"/>\n</a>\n</div>\n\n<h2 align=\"center\">\ud83d\udc8e\u9879\u76ee\u6d41\u7a0b\u4e0e\u7528\u9014</h2>\n\n### \ud83d\udccc \u9879\u76ee\u6574\u4f53\u6d41\u7a0b\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gradio_yolov8_det_v1_1_workflow.png\">\n</div>\n\n### \ud83d\udccc \u9879\u76ee\u793a\u4f8b\n\n#### \u2764\ufe0f Gradio YOLOv8 Det v2.1.0 \u754c\u9762\u4e0e\u68c0\u6d4b\u6548\u679c\uff08\u76ee\u6807\u68c0\u6d4b\uff09\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gyd_v211_det.png\">\n</div>\n\n\n#### \u2764\ufe0f Gradio YOLOv8 Det v2.1.0 \u754c\u9762\u4e0e\u68c0\u6d4b\u6548\u679c\uff08\u56fe\u50cf\u5206\u5272\uff09\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gyd_v211_seg.png\">\n</div>\n\n\n#### \u2764\ufe0f Gradio YOLOv8 Det v2.1.0 \u754c\u9762\u4e0e\u68c0\u6d4b\u6548\u679c\uff08\u56fe\u50cf\u5206\u7c7b\uff09\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gyd_v211_clas.png\">\n</div>\n\n\n#### \u2764\ufe0f \u5feb\u901f\u4f53\u9a8c\n\n\u672c\u9879\u76ee\u63d0\u4f9b\u4e866\u4e2a**\u76ee\u6807\u68c0\u6d4b\u548c\u56fe\u50cf\u5206\u5272\u7684\u56fe\u7247\u793a\u4f8b**\uff0c\u7528\u6237\u53ef\u4ee5\u5feb\u901f\u4f53\u9a8c\u68c0\u6d4b\u4e0e\u5206\u5272\u6548\u679c\uff1a\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gyd_v211_det_examples.png\">\n</div>\n<div align=\"center\" >\n\u793a\u4f8b\u754c\u9762\n</div>\n\n\n\u672c\u9879\u76ee\u63d0\u4f9b\u4e866\u4e2a**\u56fe\u50cf\u5206\u7c7b\u7684\u56fe\u7247\u793a\u4f8b**\uff0c\u7528\u6237\u53ef\u4ee5\u5feb\u901f\u4f53\u9a8c\u68c0\u6d4b\u4e0e\u5206\u5272\u6548\u679c\uff1a\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gyd_v211_clas_examples.png\">\n</div>\n<div align=\"center\" >\n\u793a\u4f8b\u754c\u9762\n</div>\n\n\n\u672c\u9879\u76ee\u63d0\u4f9b\u4e86**\u5728\u7ebf\u7248\u7684\u5b89\u88c5\u6559\u7a0b\u548c\u4f7f\u7528\u6559\u7a0b**\uff0c\u7528\u6237\u53ef\u4ee5\u5feb\u901f\u67e5\u770b\u5b89\u88c5\u548c\u4f7f\u7528\u6559\u7a0b\uff1a\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/gyd_v211_tutorials.png\">\n</div>\n<div align=\"center\" >\n\u793a\u4f8b\u754c\u9762\n</div>\n\n\n<h2 align=\"center\">\ud83d\udca1\u9879\u76ee\u7ed3\u6784</h2>\n\n```\n.\n\u251c\u2500\u2500 gradio-yolov8-det\t\t\t\t\t\t\t\t\t\t\t# \u9879\u76ee\u540d\u79f0\n\u2502 \u251c\u2500\u2500 gradio_yolov8_det\t\t\t\t\t\t\t\t\t\t# \u9879\u76ee\u6838\u5fc3\u6587\u4ef6\n\u2502 \u2502 \u251c\u2500\u2500 model_config\t\t\t\t\t\t\t\t\t\t# \u6a21\u578b\u914d\u7f6e\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 model_name_all.yaml\t\t\t\t\t\t\t# YOLOv8 \u6a21\u578b\u540d\u79f0\uff08yaml\u7248\uff09\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 model_name_custom.yaml\t\t\t\t\t\t\t# \u81ea\u5b9a\u4e49\u6a21\u578b\u540d\u79f0\uff08yaml\u7248\uff09\n\u2502 \u2502 \u251c\u2500\u2500 cls_name\t\t\t\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_name_zh.yaml\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u4e2d\u6587\uff09\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_imagenet_name_zh.yaml\t\t\t\t\t\t# ImageNet\u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u4e2d\u6587\uff09\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_name_en.yaml\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u82f1\u6587\uff09\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_name_ru.yaml\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u4fc4\u8bed\uff09\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_name_es.yaml\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u897f\u73ed\u7259\u8bed\uff09\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_name_ar.yaml\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u963f\u62c9\u4f2f\u8bed\uff09\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_name_ko.yaml\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u97e9\u8bed\uff09\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 cls_name.yaml\t\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08yaml\u7248-\u4e2d\u6587-v0.1\uff09\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 cls_name.csv\t\t\t\t\t\t\t\t\t# \u7c7b\u522b\u540d\u79f0\u6587\u4ef6\uff08csv\u7248-\u4e2d\u6587\uff09\n\u2502 \u2502 \u251c\u2500\u2500 gyd_utils\t\t\t\t\t\t\t\t\t\t\t# \u5de5\u5177\u5305\n\u2502 \u2502 \u2502 \u251c\u2500\u2500 __init__.py\t\t\t\t\t\t\t\t\t# \u5de5\u5177\u5305\u521d\u59cb\u5316\u6587\u4ef6\n\u2502 \u2502 \u2502 \u2514\u2500\u2500 fonts_opt.py\t\t\t\t\t\t\t\t\t# \u5b57\u4f53\u7ba1\u7406\n\u2502 \u2502 \u251c\u2500\u2500 img_examples\t\t\t\t\t\t\t\t\t\t# \u793a\u4f8b\u56fe\u7247\n\u2502 \u2502 \u251c\u2500\u2500 __init__.py\t\t\t\t\t\t\t\t\t\t# \u521d\u59cb\u5316\u6587\u4ef6\n\u2502 \u2502 \u251c\u2500\u2500 gradio_yolov8_det_v2.py\t\t\t\t\t\t\t# v2.0.0\u4e3b\u8fd0\u884c\u6587\u4ef6\n\u2502 \u2502 \u2514\u2500\u2500 gyd_style.css\t\t\t\t\t\t\t\t\t\t# CSS\u6837\u5f0f\u6587\u4ef6\n\u2502 \u251c\u2500\u2500 setup.cfg\t\t\t\t\t\t\t\t\t\t\t\t# pre-commit CI\u68c0\u67e5\u6e90\u914d\u7f6e\u6587\u4ef6\n\u2502 \u251c\u2500\u2500 .pre-commit-config.yaml\t\t\t\t\t\t\t\t# pre-commit\u914d\u7f6e\u6587\u4ef6\n\u2502 \u251c\u2500\u2500 LICENSE\t\t\t\t\t\t\t\t\t\t\t\t# \u9879\u76ee\u8bb8\u53ef\n\u2502 \u251c\u2500\u2500 .gitignore\t\t\t\t\t\t\t\t\t\t\t\t# git\u5ffd\u7565\u6587\u4ef6\n\u2502 \u251c\u2500\u2500 README.md\t\t\t\t\t\t\t\t\t\t\t\t# \u9879\u76ee\u8bf4\u660e\n\u2502 \u251c\u2500\u2500 pyproject.toml\t\t\t\t\t\t\t\t\t\t\t# Python Package\u6784\u5efa\u6587\u4ef6\n\u2502 \u251c\u2500\u2500 Dockerfile\t\t\t\t\t\t\t\t\t\t\t\t# Docker\u6784\u5efa\u5de5\u5177\n\u2502 \u2514\u2500\u2500 .dockerignore\t\t\t\t\t\t\t\t\t\t\t# Docker\u5ffd\u7565\u6587\u4ef6\n```\n\n<h2 align=\"center\">\ud83d\udd25\u5b89\u88c5\u6559\u7a0b</h2>\n\n### \u2705 \u7b2c\u4e00\u6b65\uff1a\u521b\u5efaconda\u73af\u5883\n\n```shell\nconda create -n yolo python=3.8 # \u5b89\u88c5python3.8\u6700\u65b0\u7248\u672c\n```\n\n### \u2705 \u7b2c\u4e8c\u6b65\uff1a\u6fc0\u6d3bconda\u73af\u5883\n\n```shell\nconda activate yolo\n```\n\n### \u2705 \u7b2c\u4e09\u6b65\uff1a\u901a\u8fc7 pip \u5b89\u88c5 Gradio YOLOv8 Det\n\n```shell\npip install gradio-yolov8-det\n```\n\n<h2 align=\"center\">\u26a1\u4f7f\u7528\u6559\u7a0b</h2>\n\n### \ud83d\udca1 \u8fd0\u884cGradio YOLOv8 Det\n\n\ud83d\udccc \u8fd0\u884c\n\n```shell\ngradio-yolov8-det\n# \u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\uff1ahttp://127.0.0.1:7860/\u6216\u8005http://127.0.0.1:7861/ \u7b49\u7b49\uff08\u5177\u4f53\u89c2\u5bdfshell\u63d0\u793a\uff09\n```\n\n### \ud83d\udca1 \u811a\u672c\u6307\u4ee4\u64cd\u4f5c\n\n\u2764\ufe0f \u672c\u9879\u76ee\u63d0\u4f9b\u4e86\u4e00\u4e9b\u811a\u672c\u6307\u4ee4\uff0c\u65e8\u5728\u6269\u5c55\u9879\u76ee\u7684\u529f\u80fd\u3002\n\n\u2757 \u6ce8\uff1a\u5176\u4e2d\u7684\u4e00\u4e9b\u529f\u80fd\u662f\u754c\u9762\u7ec4\u4ef6\uff08\u6309\u94ae\u3001\u6587\u672c\u6846\u7b49\uff09\u65e0\u6cd5\u5b9e\u73b0\u7684\uff0c\u9700\u8981\u901a\u8fc7\u811a\u672c\u6307\u4ee4\u5b8c\u6210\uff1a\n\n```shell\n# \u5171\u4eab\u6a21\u5f0f\ngradio-yolov8-det -is # \u5728\u6d4f\u89c8\u5668\u4e2d\u4ee5\u5171\u4eab\u6a21\u5f0f\u6253\u5f00\uff0chttps://**.gradio.app/\n\n# \u81ea\u5b9a\u4e49\u6a21\u578b\u914d\u7f6e\ngradio-yolov8-det -mc ./model_config/model_name_all.yaml\n\n# \u81ea\u5b9a\u4e49\u4e0b\u62c9\u6846\u9ed8\u8ba4\u6a21\u578b\u540d\u79f0\ngradio-yolov8-det -mn yolov8m\n\n# \u81ea\u5b9a\u4e49\u7c7b\u522b\u540d\u79f0\ngradio-yolov8-det -cls ./cls_name/cls_name_zh.yaml \uff08\u76ee\u6807\u68c0\u6d4b\u4e0e\u56fe\u50cf\u5206\u5272\uff09\ngradio-yolov8-det -cin ./cls_name/cls_imgnet_name_zh.yaml \uff08\u56fe\u50cf\u5206\u7c7b\uff09\n\n# \u81ea\u5b9a\u4e49NMS\u7f6e\u4fe1\u5ea6\u9608\u503c\ngradio-yolov8-det -conf 0.8\n\n# \u81ea\u5b9a\u4e49NMS IoU\u9608\u503c\ngradio-yolov8-det -iou 0.5\n\n# \u8bbe\u7f6e\u63a8\u7406\u5c3a\u5bf8\uff0c\u9ed8\u8ba4\u4e3a640\ngradio-yolov8-det -isz 320\n\n# \u8bbe\u7f6e\u6700\u5927\u68c0\u6d4b\u6570\uff0c\u9ed8\u8ba4\u4e3a50\ngradio-yolov8-det -mdn 100\n\n# \u8bbe\u7f6e\u6ed1\u5757\u6b65\u957f\uff0c\u9ed8\u8ba4\u4e3a0.05\ngradio-yolov8-det -ss 0.01\n```\n\n### \ud83d\udcdd \u9879\u76ee\u5f15\u7528\u6307\u5357\n\n\ud83d\udccc \u5982\u9700\u5f15\u7528Gradio YOLOv8 Det v2.1.0\uff0c\u8bf7\u5728\u76f8\u5173\u6587\u7ae0\u7684**\u53c2\u8003\u6587\u732e**\u4e2d\u52a0\u5165\u4e0b\u9762\u6587\u5b57\uff1a\n\n```\n\u66fe\u9038\u592b, (2024) Gradio YOLOv8 Det (Version 2.1.0).https://gitee.com/CV_Lab/gradio-yolov8-det.git.\n```\n\n### \ud83d\udcac \u6280\u672f\u4ea4\u6d41\n\n- \u5982\u679c\u4f60\u53d1\u73b0\u4efb\u4f55Gradio YOLOv8 Det\u5b58\u5728\u7684\u95ee\u9898\u6216\u8005\u662f\u5efa\u8bae, \u6b22\u8fce\u901a\u8fc7[Gitee Issues](https://gitee.com/CV_Lab/gradio-yolov8-det/issues)\u7ed9\u6211\u63d0issues\u3002\n- \u6b22\u8fce\u52a0\u5165CV Lab\u6280\u672f\u4ea4\u6d41\u7fa4\n\n<div align=\"center\" >\n<img src=\"https://pycver.gitee.io/ows-pics/imgs/qq_group.jpg\" width=\"20%\">\n</div>\n",
"bugtrack_url": null,
"license": "GPL-3.0",
"summary": "\u57fa\u4e8e Gradio \u7684 YOLOv8 \u901a\u7528\u8ba1\u7b97\u673a\u89c6\u89c9\u6f14\u793a\u7cfb\u7edf",
"version": "2.1.0",
"project_urls": {
"Bug Reports": "https://gitee.com/CV_Lab/gradio-yolov8-det/issues",
"Funding": "https://gitee.com/CV_Lab",
"Source": "https://gitee.com/CV_Lab/gradio-yolov8-det"
},
"split_keywords": [
"yolov8",
"gradio",
"\u76ee\u6807\u68c0\u6d4b",
"\u56fe\u50cf\u5206\u5272",
"\u56fe\u50cf\u5206\u7c7b"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d39f4ee940630fd2c572e09371a887ecf7ff96560bf75d0da2766192907eacf8",
"md5": "2bc9d95d0d5298dd2ba4172810835528",
"sha256": "1e9b95eb6ee7e149e8f6c63864c4abe048d3b344913733983d806dbd85490e2d"
},
"downloads": -1,
"filename": "gradio_yolov8_det-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2bc9d95d0d5298dd2ba4172810835528",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3762794,
"upload_time": "2024-01-15T09:07:36",
"upload_time_iso_8601": "2024-01-15T09:07:36.855883Z",
"url": "https://files.pythonhosted.org/packages/d3/9f/4ee940630fd2c572e09371a887ecf7ff96560bf75d0da2766192907eacf8/gradio_yolov8_det-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "435424a0e5a235672f6ab66b5a7f3b425583115e94e01969f435064f0974a99a",
"md5": "aaa835ed56956c7f8077c89bda286eb7",
"sha256": "7d7c6f5c941bd3cb581fdcafe5aed8ab864140bd22649245dbb1c91e477fd334"
},
"downloads": -1,
"filename": "gradio-yolov8-det-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "aaa835ed56956c7f8077c89bda286eb7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3758628,
"upload_time": "2024-01-15T09:07:44",
"upload_time_iso_8601": "2024-01-15T09:07:44.922541Z",
"url": "https://files.pythonhosted.org/packages/43/54/24a0e5a235672f6ab66b5a7f3b425583115e94e01969f435064f0974a99a/gradio-yolov8-det-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-15 09:07:44",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "gradio-yolov8-det"
}