Skip to content

Commit

Permalink
fixed string
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervanLunteren authored Oct 19, 2023
1 parent 0e0651f commit d9cabf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classify_detections.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def fetch_label_map_from_json(path_to_json):
label_map = data['detection_categories']
return label_map

# crop detection with equal sides
# crop detection with equal sides (Thanks Dan Morris)
def remove_background(img, bbox_norm):
img_w, img_h = img.size
xmin = int(bbox_norm[0] * img_w)
Expand Down

0 comments on commit d9cabf4

Please sign in to comment.