mikel-brostrom/Yolov7_StrongSORT_OSNet

Multi-Camera

mingchih1126 opened this issue · 5 comments

Search before asking

  • I have searched the Yolov7_StrongSORT_OSNet issues and found no similar bug report.

Question

How to use Multi-Camera to track pedestrians?
I read the code and didn't find this part!

create a txt file with the streams to track then pass it to the tracker

python track.py --source sources.txt

@mikel-brostrom could you please elaborate on how the sources.txt 's format is.
i am assuming by streams you are referring to the object being viewed from different cameras?

It should contain your sources on separate lines. An example:

https://www.youtube.com/watch?v=FNTHBcHmrIg
https://www.youtube.com/watch?v=WwheIKQGz8U

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

When I do it this way, the two windows that open are black and I have the "No detections" return in the console. In other words, the variable "det" is None and its len is empty. What may be the problem? I tested with local videos and the two links mentioned in this issue.