Spaces:
Sleeping
Sleeping
Update app.py
Browse files100 unmodified lines101102103104105106107100 unmodified linesbox = denormalize_box(boxes[i], width, height)label = int(labels[i])print(f"→ Label: {label}, Name: {class_labels.get(label)}, Color: {class_colors.get(label)}")color = class_colors.get(label, (255, 255, 255))cv2.rectangle(image, (box[0], box[1]), (box[2], box[3]), color, 3)100 unmodified lines101102103104105106107100 unmodified linesbox = denormalize_box(boxes[i], width, height)label = int(labels[i])print(f"→ Label: {label}, Name: {class_labels.get(label)}, Color: {class_colors.get(label)}")color = class_colors.get(label)cv2.rectangle(image, (box[0], box[1]), (box[2], box[3]), color, 3)
app.py+1-1