flask vue2 基于yolo对象检测系统

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