GeekAlexis / FastMOT

High-performance multiple object tracking based on YOLO, Deep SORT, and KLT 🚀
MIT License
1.12k stars 256 forks source link

Skipping ID #235

Closed AngelaYZhang closed 2 years ago

AngelaYZhang commented 2 years ago

Hello, I'm getting the issue of skipping 'trk_id' numbers and I'm not sure why this is happening. For example when it identifies a person 5, and afterwards identifies person 7 and skips 6. I'm running it on a csi camera so don't have input video, but I have attached what I see in the screen. skipid

Wondering why this happened? It's quite important for me to not have it skip IDs, as I rely on the trk_id for counting the total number of objects identified in the stream.

I'm using the YOLOv4-tiny model (set to just detect human) on jetson nano, haven't changed any other settings (but I believe this also happens with YOLO crowdhuman too)

Thanks in advance!

GeekAlexis commented 2 years ago

Unconfirmed tracks have their IDs skipped. Run with the verbose option and you will see.

AngelaYZhang commented 2 years ago

Hi, thanks for the quick reply! Yes that makes sense now :) I've changed it to count the number of confirmed tracks instead of the IDs to suit for what I need. Thanks and have a great day!

bharathraja commented 1 year ago

@AngelaZha , can you share the code which you changed ?