Skip to content

Commit

Permalink
fix number of persons
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Sep 9, 2024
1 parent 55ddf25 commit e056113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/person/person_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def condition_func(self, total_results):
person_model0 = 0

number_of_persons = 0
for i in range(1, len(total_results[0].boxes)):
for i in range(0, len(total_results[0].boxes)):
box = total_results[0].boxes[i]
if box.cls == person_model0:
number_of_persons += 1
Expand Down

0 comments on commit e056113

Please sign in to comment.