Heatmaps bug fix (#17634)
This commit is contained in:
parent
35b6fed814
commit
bde3105813
2 changed files with 3 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ class ObjectCounter(BaseSolution):
|
|||
>>> track_id = 1
|
||||
>>> prev_position = (120, 220)
|
||||
>>> cls = 0
|
||||
>>> counter.count_objects(track_line, box, track_id, prev_position, cls)
|
||||
>>> counter.count_objects(current_centroid, track_id, prev_position, cls)
|
||||
"""
|
||||
if prev_position is None or track_id in self.counted_ids:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue