Skip to content

Multi tracking is now possible!!! #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

hdnh2006
Copy link
Contributor

@hdnh2006 hdnh2006 commented Jan 18, 2022

With this PR yolov5 deepsort will be able to track multiple cameras!!!

Just run the code track.py as yolov5 does:
python track.py --source streams.txt
where streams.txt is

rtsp://yoururl.com
rtmp://yoururl2.com

Let me know any suggestion.

@hdnh2006 hdnh2006 changed the title Multi tracking is now possiblegit status! Multi tracking is now possible!!! Jan 18, 2022
@mikel-brostrom
Copy link
Owner

mikel-brostrom commented Feb 1, 2022

This is a nice addition to this repo. Need to check whether this is compatible with the evaluation script

@hdnh2006
Copy link
Contributor Author

hdnh2006 commented Feb 1, 2022

Hi @mikel-brostrom, you can use the parameter --source as input of the code track.py. In the case of my PR, you can pass --source streams.txt, where streams.txt is just a file like the original yolov5 repo does:

rtsp://yoururl1.com
rtsp://yoururl2.com
0 (for webcam)

I already did some suggestion a few months ago (#88 (comment)) but I thought somebody could do the PR for me. I don't have too much time.

I also did a new commit which is able to save each streams, please check my git: https://github.com/hdnh2006/Yolov5_DeepSort_Pytorch

So please Mikel, if you need some help, let me know.

@mikel-brostrom
Copy link
Owner

I also did a new commit which is able to save each streams, please check my git: https://github.com/hdnh2006/Yolov5_DeepSort_Pytorch

I see. I will add the latest updates to the branch. Thank you for your contribution!

@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@mikel-brostrom
Copy link
Owner

Finally got this merged. Had to find time to make sure that all the results from each stream got saved to a separate folders. FYI, crops associated to each stream, class and ID are now saved in dedicated folders as well. Thank for your contribution @hdnh2006 !

@hdnh2006
Copy link
Contributor Author

hdnh2006 commented Apr 8, 2022

I am happy to appear here as a contributor:
image

I actually suggested in the past this modification in a comment: #88 (comment)

Unfortunately my time is limited and I had not been able to do this PR, but this repo has helped me a lot and I wanted to contribute with it.

Congratulations!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants