Closed NyaomiDEV closed 9 months ago
The in-frame faces should be always identifiable with the same ID, or something, until they leave the frame.
I have experimented with that in details, but the problem is much larger than you'd expect. for example, simple scenario with two people: what if one person walks in front of another so they temporarily overlap and then they separate again? which one is which?
i've tried some simple predictive analysis based on trajectory between different frames, but its unreliable. and anything more would require significant calculations that would slow down the app drastically.
and you have all the information available - so you can do that outside of the library - this is not something that i plan to add as a feature inside the library itself.
Issue Description
In tracking multiple faces, when one person leaves the area, all face IDs are shifted by one position down. This makes relying on ID dodgy at times.
Steps to Reproduce
Expected Behavior
The in-frame faces should be always identifiable with the same ID, or something, until they leave the frame.
Environment
js
,esm
,esm-nobundle
)? jsAdditional