Norphel commited on
Commit
8a05b4e
·
verified ·
1 Parent(s): e6d8d9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def calculate_bounding_box_area(results):
50
 
51
  # Get the class ID for the current bounding box
52
  class_ids = box.cls.tolist() # This returns a list of class IDs
53
-
54
  # Convert class ID(s) to class name(s)
55
  for class_id in class_ids:
56
  class_name = model.names[int(class_id)] # Convert class ID to class name
 
50
 
51
  # Get the class ID for the current bounding box
52
  class_ids = box.cls.tolist() # This returns a list of class IDs
53
+ print(class_ids)
54
  # Convert class ID(s) to class name(s)
55
  for class_id in class_ids:
56
  class_name = model.names[int(class_id)] # Convert class ID to class name