Commit Graph

4 Commits

Author SHA1 Message Date
wwh
1813bc8c0b refactor: 重构图片检测功能,拆分组件并优化返回格式
1. 后端api修改:将图片结果返回从文件路径改为base64格式,移除本地文件存储
2. 新增图片检测组件ImageDetection.vue,封装独立的图片检测UI逻辑
3. 重构Home页面,使用tab切换图片/视频检测模块,简化原有布局
4. 更新web包名与rollup依赖版本
2026-05-18 15:15:29 +08:00
wwh
364b4ac189 feat: Add AI model files with Git LFS
Add 5 YOLO model files for video detection:
- fire_detection/best.pt (61MB) - YOLOv10 fire and smoke detection
- helmet_detection/yolov8n.pt (6.2MB) - YOLOv8 helmet detection
- crowd_detection/yolov8l.pt (84MB) - YOLOv8 crowd gathering detection
- smoking_detection/smoking_yolov8n.pt (5.9MB) - YOLOv8 smoking detection
- loitering_detection/yolov8n.pt (6.2MB) - YOLOv8 loitering detection

Configure Git LFS to track *.pt files
Update .gitignore to allow .pt files (now managed by LFS)
2026-05-18 11:21:22 +08:00
wwh
54ac754660 docs: Add model setup documentation and script
- Add models/README.md with model file information
- Add scripts/setup-models.sh for easy model linking
- Document how to obtain and setup model files
2026-05-18 10:56:40 +08:00
wwh
8fb58c75fe Initial commit: Video detection platform with YOLO models
Features:
- Fire detection (YOLOv10)
- Helmet detection (YOLOv8)
- Crowd detection (YOLOv8)
- Smoking detection (YOLOv8)
- Loitering detection (YOLOv8)

Tech Stack:
- Frontend: Vue 3 + Vite + Element Plus
- Backend: FastAPI + WebSocket
- Monorepo: pnpm workspace + Turbo
- Docker support included
2026-05-18 10:54:10 +08:00