yolov8-line-cross/README.md

21 lines
470 B
Markdown
Raw Permalink Normal View History

2023-09-30 11:20:02 +08:00
# YOLOv8 过线检测
基于 YOLOv8 的过线检测,支持自定义划线。
## 开始
建议的 Python 版本为 3.10.x首先创建一个虚拟环境推荐然后按顺序安装以下包
```shell
# GPU 环境
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip install ultralytics
pip install supervision opencv-contrib-python pillow lapx
```
然后可以开始运行
```shell
python predictor.py
```shell