Spaces:
Sleeping
Sleeping
Update app.py
Browse files101 unmodified lines102103104105106107108109101 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)col1, col2 = st.columns(2)101 unmodified lines102103104105106107108101 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)}")cv2.rectangle(image, (box[0], box[1]), (box[2], box[3]), class_colors.get(label), 3)col1, col2 = st.columns(2)
app.py+1-2