Go to file
TaurusXin 395245c666 init repo 2023-09-30 11:20:02 +08:00
.gitignore init repo 2023-09-30 11:20:02 +08:00
README.md init repo 2023-09-30 11:20:02 +08:00
line_selector.py init repo 2023-09-30 11:20:02 +08:00
predictor.py init repo 2023-09-30 11:20:02 +08:00
requirements.txt init repo 2023-09-30 11:20:02 +08:00

README.md

YOLOv8 过线检测

基于 YOLOv8 的过线检测,支持自定义划线。

开始

建议的 Python 版本为 3.10.x首先创建一个虚拟环境推荐然后按顺序安装以下包

# 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

然后可以开始运行

python predictor.py
```shell