flask vue2 基于yolo对象检测系统

boyrobot 294f0e8f9e 0 1 year ago
.github 6d86b295f7 init 1 year ago
.ide 71c15bf3a4 add coding conf 1 year ago
.vscode 6d86b295f7 init 1 year ago
apps 88efa4b0f3 add api 1 year ago
frontend 294f0e8f9e 0 1 year ago
object_detector 6d86b295f7 init 1 year ago
static 6d86b295f7 init 1 year ago
.coding-ci.yml 71c15bf3a4 add coding conf 1 year ago
.dockerignore 6d86b295f7 init 1 year ago
.env 6d86b295f7 init 1 year ago
.gitignore 294f0e8f9e 0 1 year ago
Dockerfile 6d86b295f7 init 1 year ago
README.md 294f0e8f9e 0 1 year ago
app.py 6d86b295f7 init 1 year ago
docker-compose.debug.yml 6d86b295f7 init 1 year ago
docker-compose.yml 6d86b295f7 init 1 year ago
requirements.txt 6d86b295f7 init 1 year ago

README.md

object_detector

基于 yolov5 对象识别系统

Develop

依赖 yolov5 3.0

cd frontend
npm install
export NODE_OPTIONS=--openssl-legacy-provider
npm run serve
npm run build

sudo apt update
sudo apt-get install ffmpeg libsm6 libxext6  -y

cd ..
virtualenv .venv
pip install requirements.txt
cp -R frontend/dist/* ./static
python app.py

YOLOv5模型训练

yolov5m.pt 模型。

YOLOv5模型预测

Reference

License