deep_sort_pytorch | MOT using deepsort and yolov3 with pytorch | Computer Vision library
kandi X-RAY | deep_sort_pytorch Summary
kandi X-RAY | deep_sort_pytorch Summary
This is an implement of MOT tracking algorithm deep sort. Deep sort is basicly the same with sort but added a CNN model to extract features in image of human part bounded by a detector. This CNN model is indeed a RE-ID model and the detector used in PAPER is FasterRCNN , and the original source code is HERE. However in original code, the CNN model is implemented with tensorflow, which I'm not familier with. SO I re-implemented the CNN feature extraction model with PyTorch, and changed the CNN model a little bit. Also, I use YOLOv3 to generate bboxes instead of FasterRCNN.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of deep_sort_pytorch
deep_sort_pytorch Key Features
deep_sort_pytorch Examples and Code Snippets
Community Discussions
Trending Discussions on deep_sort_pytorch
QUESTION
This is my application architecture:
In my code there is a pedestrian.py
file which uses a while loop to read frames from rtsp link and after doing pedestrian detection process (available in this link), it caches the frame in Redis.
(please note that in the loop each time the output frame is replaced with the previous output from loop. it means that there exists only one frame in redis in any moment.)
Then in flask application, I read processed frame from redis and send it for the clients.
This is the code for my pedestrian detection:
...ANSWER
Answered 2020-May-22 at 22:35I found a way to automate start/stop the pedestrian detection. more details available in my repo:
from os.path import join from os import getenv, environ from dotenv import load_dotenv import argparse from threading import Thread
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install deep_sort_pytorch
Check all dependencies installed
Clone this repository
Download YOLOv3 parameters
Download deepsort parameters ckpt.t7
Compile nms module
Run demo
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page