What counts as a "SWITCH"?
See original GitHub issueAdding on to #159, I’m wondering what counts as a “SWITCH”.
I looked at the docstring for the code here, but it still doesn’t seem right. If I’m reading this correctly, then the following scenario would be a switch:
Instance i
in frame t
is assigned to track_id 0
. At frame t + 1
, instance i
is assigned to track_id 1
.
Another possibility for a switch (or actually 2 switches) is if instance i
and instance j
at frame t
are assigned to track_ids 0
and 1
, respectively. And at frame t + 1
, instance i
is now assigned to 1
, and instance j
is now assigned to 0
.
Figure 1. A possible switch.
For the image above, I would think it would log the event as a switch because the first update would map Oid=0
to Hid=0
and Oid=1
to Hid=1
. Then, the 2nd update will map Oid=0
to Hid=1
and Oid=0
to Hid=1
(which will probably result in some error). Because Oid=0
is now mapped to Hid-1
instead of Hid=0
, shouldn’t this be logged as a switch?
Thanks.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
Thanks @jvlmdr 😃
Are you happy for me to close this issue? Thanks!