Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

1,828次阅读
没有评论


Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

基于Gradio的YOLOv8通用目标检测与图像分割演示系统

可自定义检测模型、演示便捷、安装简单

Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

🚀 作者简介

曾逸夫,从事人工智能研究与开发;主研领域:计算机视觉;YOLOv8官方开源项目代码贡献人YOLOv5官方开源项目代码贡献人

❤️ Githubhttps://github.com/Zengyf-CVer

🚀更新走势

🤗在线Demo

❤️ 快速体验

本项目提供了在线demo,点击下面的logo,进入Hugging Face Spaces中快速体验:

💎项目流程与用途

📌 项目整体流程

Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

📌 项目示例

❤️ Gradio YOLOv8 Det v0.2.3 界面与检测效果(目标检测)

Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

❤️ Gradio YOLOv8 Det v0.2.3 界面与检测效果(图像分割)

Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

❤️ 快速体验

本项目提供了6个图片示例,用户可以快速体验检测与分割效果:

Gitee 推荐 | 目标检测与图像分割系统 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_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版-中文)
│ ├── util# 工具包
│ │ ├── fonts_opt.py# 字体管理
│ │ └── pdf_opt.py# PDF管理
│ ├── img_examples# 示例图片
│ ├── __init__.py# 初始化文件
│ ├── gradio_yolov8_det.py # v0.2.3主运行文件
│ ├── gyd_fastapi_server.py # Gradio FastAPI运行文件
│ ├── setup.cfg# pre-commit CI检查源配置文件
│ ├── .pre-commit-config.yaml# pre-commit配置文件
│ ├── LICENSE# 项目许可
│ ├── CodeCheck.md# 代码检查
│ ├── .gitignore# git忽略文件
│ ├── README.md# 项目说明
│ └── requirements.txt# 脚本依赖包

🔥安装教程

✅ 第一步:创建conda环境

conda create -n yolo python==3.8
conda activate yolo # 进入环境

✅ 第二步:克隆

git clone https://gitee.com/CV_Lab/gradio-yolov8-det.git

✅ 第三步:安装Gradio YOLOv8 Det依赖

cd gradio-yolov8-det
pip install -r ./requirements.txt -U

⚡使用教程

💡 运行Gradio YOLOv8 Det

📌 运行

python gradio_yolov8_det.py

# 在浏览器中输入:http://127.0.0.1:7860/或者http://127.0.0.1:7861/ 等等(具体观察shell提示)

❗ 注:默认类别文件cls_name_zh.yaml|cls_name.csv

💡 脚本指令操作

❤️ 本项目提供了一些脚本指令,旨在扩展项目的功能。

❗ 注:其中的一些功能是界面组件(按钮、文本框等)无法实现的,需要通过脚本指令完成:

# 共享模式
python gradio_yolov8_det.py -is # 在浏览器中以共享模式打开,https://**.gradio.app/

# 图片输入源切换,默认为图片上传
python gradio_yolov8_det.py -src upload # 图片上传
python gradio_yolov8_det.py -src webcam # webcam拍照

# 输入图片操作模式,默认为图片编辑器
python gradio_yolov8_det.py -it editor # 图片编辑器
python gradio_yolov8_det.py -it select # 区域选择

# 自定义下拉框默认模型名称
python gradio_yolov8_det.py -mn yolov8m

# 自定义NMS置信度阈值
python gradio_yolov8_det.py -conf 0.8

# 自定义NMS IoU阈值
python gradio_yolov8_det.py -iou 0.5

# 设置推理尺寸,默认为640
python gradio_yolov8_det.py -isz 320

# 设置滑块步长,默认为0.05
python gradio_yolov8_det.py -ss 0.01

💡 FastAPI 操作

❤️ 本项目可以内嵌于FastAPI框架

python gyd_fastapi_server.py

📝 项目引用指南

📌 如需引用Gradio YOLOv8 Det v0.2.3,请在相关文章的参考文献中加入下面文字:

曾逸夫, (2023) Gradio YOLOv8 Det (Version 0.2.3).https://gitee.com/CV_Lab/gradio-yolov8-det.git.

💬 技术交流

  • 如果你发现任何Gradio YOLOv8 Det存在的问题或者是建议, 欢迎通过Gitee Issues给我提issues。
  • 欢迎加入CV Lab技术交流群
Gitee 推荐 | 目标检测与图像分割系统 Gradio YOLOv8 Det

Read More 

正文完
可以使用微信扫码关注公众号(ID:xzluomor)
post-qrcode
 0
评论(没有评论)

文心AIGC

2023 年 4 月
 12
3456789
10111213141516
17181920212223
24252627282930
文心AIGC
文心AIGC
人工智能ChatGPT,AIGC指利用人工智能技术来生成内容,其中包括文字、语音、代码、图像、视频、机器人动作等等。被认为是继PGC、UGC之后的新型内容创作方式。AIGC作为元宇宙的新方向,近几年迭代速度呈现指数级爆发,谷歌、Meta、百度等平台型巨头持续布局
文章搜索
热门文章
潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026

潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026

潞晨尤洋:日常办公没必要上私有模型,这三类企业才需要 | MEET2026 Jay 2025-12-22 09...
面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25

面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25

面向「空天具身智能」,北航团队提出星座规划新基准丨NeurIPS’25 鹭羽 2025-12-13 22:37...
商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1

商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1

商汤Seko2.0重磅发布,合作短剧登顶抖音AI短剧榜No.1 十三 2025-12-15 14:13:14 ...
跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026

跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026

跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026 一水 2025-1...
10亿美元OpenAI股权兑换迪士尼版权!米老鼠救Sora来了

10亿美元OpenAI股权兑换迪士尼版权!米老鼠救Sora来了

10亿美元OpenAI股权兑换迪士尼版权!米老鼠救Sora来了 一水 2025-12-12 13:56:19 ...
最新评论
ufabet ufabet มีเกมให้เลือกเล่นมากมาย: เกมเดิมพันหลากหลาย ครบทุกค่ายดัง
tornado crypto mixer tornado crypto mixer Discover the power of privacy with TornadoCash! Learn how this decentralized mixer ensures your transactions remain confidential.
ดูบอลสด ดูบอลสด Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Pretty! This has been a really wonderful post. Many thanks for providing these details.
ดูบอลสด ดูบอลสด Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
Obrazy Sztuka Nowoczesna Obrazy Sztuka Nowoczesna Thank you for this wonderful contribution to the topic. Your ability to explain complex ideas simply is admirable.
ufabet ufabet Hi there to all, for the reason that I am genuinely keen of reading this website’s post to be updated on a regular basis. It carries pleasant stuff.
ufabet ufabet You’re so awesome! I don’t believe I have read a single thing like that before. So great to find someone with some original thoughts on this topic. Really.. thank you for starting this up. This website is something that is needed on the internet, someone with a little originality!
ufabet ufabet Very well presented. Every quote was awesome and thanks for sharing the content. Keep sharing and keep motivating others.
热评文章
跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026

跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026

跳过“逐字生成”!蚂蚁集团赵俊博:扩散模型让我们能直接修改Token | MEET2026 一水 2025-1...
10亿美元OpenAI股权兑换迪士尼版权!米老鼠救Sora来了

10亿美元OpenAI股权兑换迪士尼版权!米老鼠救Sora来了

10亿美元OpenAI股权兑换迪士尼版权!米老鼠救Sora来了 一水 2025-12-12 13:56:19 ...
IDC MarketScape: 容联云位居“中国AI赋能的联络中心”领导者类别

IDC MarketScape: 容联云位居“中国AI赋能的联络中心”领导者类别

IDC MarketScape: 容联云位居“中国AI赋能的联络中心”领导者类别 量子位的朋友们 2025-1...