【前言】
本项目来自于开源AI项目:https://gitcode.com/langgptai/ImageDetection。
这是一个基于YOLO(You Only Look Once)的实时目标检测项目,可以处理视频和图片。本项目特别适合想要入门计算机视觉和深度学习的初学者。
本篇旨为带领大家在【米尔-瑞芯微RK3576核心板及开发板】实现YOLO实时目标检测。
【主要功能】
使用【米尔-瑞芯微RK3576核心板及开发板】实现实时分类检测。
【环境要求】
https://mbb.eet-china.com/forum/topic/147562_1_1.html
这一篇我详细介绍了Anaconda环境的创建。请在虚拟环境中安装以下组件:
  • Python 3.8 或更高版本
  • OpenCV (cv2)
  • Ultralytics YOLO
    # 基础依赖
  • pip install torch torchvision
  • pip install transformers
  • pip install pillow
  • pip install opencv-python
  • pip install ultralytics
  • pip install tqdm
  • pip install ffmpeg-python

  • # 如果下载速度慢,可以使用清华源:
  • pip install -i https://pypi.tuna.tsinghua.edu.cn/simple torch torchvision
  • pip install -i https://pypi.tuna.tsinghua.edu.cn/simple transformers pillow opencv-python ultralytics tqdm ffmpeg-python