yolov8-line-cross/README.md

21 lines
470 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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