flask vue2 基于yolo对象检测系统

fish 69c4234d54 Merge branch 'master' of https://git.yoqi.me/lyq/object_detector 3 months ago
.devcontainer 0b19a9eb37 add devcontainer 9 months ago
.github 6d86b295f7 init 10 months ago
.ide f58348824b 0 3 months ago
.vscode 6d86b295f7 init 10 months ago
apps 0b19a9eb37 add devcontainer 9 months ago
docs b8e5acc50a 0 3 months ago
frontend 8ef153f425 0 9 months ago
object_detector 6d86b295f7 init 10 months ago
static 6d86b295f7 init 10 months ago
.coding-ci.yml f58348824b 0 3 months ago
.dockerignore 6d86b295f7 init 10 months ago
.env 6d86b295f7 init 10 months ago
.gitignore 294f0e8f9e 0 9 months ago
Dockerfile 0b19a9eb37 add devcontainer 9 months ago
README.md 0b19a9eb37 add devcontainer 9 months ago
app.py 6d86b295f7 init 10 months ago
docker-compose.debug.yml 6d86b295f7 init 10 months ago
docker-compose.yml 6d86b295f7 init 10 months ago
poetry.lock c5210492c1 0 3 months ago
pyproject.toml c5210492c1 0 3 months ago
requirements.txt 1f73e303a4 fix error 9 months 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
tar -zcf dist.tar.gz dist

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

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

docker:

docker build -t jianboy/objectdetector:latest .

YOLOv5模型训练

yolov5m.pt 模型。

YOLOv5模型预测

Reference

License