Giter Site home page Giter Site logo

transformer-man / yolo-deepsort-flask Goto Github PK

View Code? Open in Web Editor NEW
58.0 1.0 6.0 20.15 MB

Target detection and multi target tracking platform based on Yolo DeepSort and Flask.

Python 91.44% Shell 0.09% C++ 1.25% Cuda 2.30% JavaScript 0.74% CSS 0.70% HTML 2.93% C 0.55%
pytorch yolo yolov3 deepsort flask sort deep-sort cnn-model web cnn

yolo-deepsort-flask's Introduction

YOLOv3,DeepSort and Flask Run On The Web Page

Computer terminal

Mobile terminal

Introduction

Combined with yolov3, deep sort and flask, it is a target detection and multi-target tracking platform that can run on Web pages. You can upload pictures or videos. When the image is uploaded, target detection is carried out. When the video is uploaded, multi-target tracking is carried out (the default is pedestrian, which can be changed to other objects). The mobile terminal provides an online shooting interface for real-time target detection and multi-target tracking.

Dependencies

  • torch
  • torchvision
  • numpy
  • opencv-python==4.1.2.30
  • lxml
  • tqdm
  • flask
  • seaborn
  • pillow
  • vizer
  • numba

Quick Start

1. Check all dependencies installed
pip install -r requirements.txt
2. Download YOLOv3 parameters
cd deepsort/detector/YOLOv3/weight/
wget https://pjreddie.com/media/files/yolov3.weights
cd ../../../
3. Download deepsort parameters ckpt.t7
cd deep_sort/deep/checkpoint
# download ckpt.t7 from
https://drive.google.com/drive/folders/1xhG0kRH1EX5B9_Iz8gQJb7UNnn_riXi6 to this folder
cd ../../../
4. Or download the weight file through baidu network disk

提取码:hhbb

yolov3.weight  put in  deepsort/detector/YOLOv3/weight/
ckpt.t7        put in  deep_sort/deep/checkpoint
5. Compile nms module
cd detector/YOLOv3/nms
sh build.sh
cd ../../../

or

cd detector/YOLOv3/nms/ext
python build.py build_ext develop
cd ../../../../
6. Run
python app.py
7. If you want to configure to run on the server, please visit my blog 阿里云ECS部署python,flask项目,简单易懂,无需nginx和uwsgi
8. You can use yolov3 demo
python detector.py

##Result

References

yolo-deepsort-flask's People

Contributors

transformer-man avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

yolo-deepsort-flask's Issues

3

I would like to understand your code and develop a similar project. What knowledge do I need to learn?

app.py vizer file

app.py 54 from vizer.draw import draw_boxes as db。not havue vizer file?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.