I'm developing a player tracking software. My goal is to assign a unique id to each player without ever causing it to change.
As you see in this picture, that is the perspective with which I operate, so the problem of players leaving the scene does not arise.
I have tried some tracking algorithms such as DeepSort but every time the tracker loses the player it reassigns a new id (thus incrementing over 22).
Is there a consistent algorithm for this problem?
Thanks in advance