springboot-vue-pytorch
springboot-vue-pytorch copied to clipboard
keypoints: java, springboot, vue3, pytorch, yolov5, deepsort
springboot-vue-pytorch
JavaWeb调用深度学习服务得到结果传给前端。 Springboot-pytorch-vue全分离结构,Spring-pytorch之间通过socket通讯(JSON),spring-vue之间通过http通讯。可方便部署深度学习服务到大多数场景,且损耗很低。
Project setup
Vue install
npm install
Vue Compiles and hot-reloads for development
npm run serve
Springboot
use idea open and run
Yolo_deepsort
cd Yolov5_DeepSort_Pytorch
pip install -r requirements.txt
cd yolov5
pip install -r requirements.txt
run
python socketapi.py

Results

TODO
python与java之间改用rpc或者http通信 java增加多线程 强化线程安全