Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
update current depth in objectlog
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljhan01 committed Jun 23, 2023
1 parent 941810e commit be5c382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object_log/objectlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def select_target(self, boundingbox_list):
lowest_distance_idx = -1
lowest_depth = float('inf')
for i in range(len(boundingbox_list)):
current_depth = boundingbox_list[i]
current_depth = boundingbox_list[i].get_depth()
if(current_depth < lowest_depth):
lowest_depth = current_depth
lowest_distance_idx = i
Expand Down

0 comments on commit be5c382

Please sign in to comment.