omarelsayeed
commited on
Commit
•
9d9185f
1
Parent(s):
2a51756
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ def remove_overlapping_and_inside_boxes(boxes, classes):
|
|
149 |
del classes[idx]
|
150 |
|
151 |
return boxes, classes
|
152 |
-
def full_predictions(IMAGE_PATH)
|
153 |
bboxes , classes = detect_layout(IMAGE_PATH , 0.3, 0)
|
154 |
bboxes , classes = remove_overlapping_and_inside_boxes(bboxes,classes)
|
155 |
orders = get_orders(IMAGE_PATH , bboxes)
|
|
|
149 |
del classes[idx]
|
150 |
|
151 |
return boxes, classes
|
152 |
+
def full_predictions(IMAGE_PATH):
|
153 |
bboxes , classes = detect_layout(IMAGE_PATH , 0.3, 0)
|
154 |
bboxes , classes = remove_overlapping_and_inside_boxes(bboxes,classes)
|
155 |
orders = get_orders(IMAGE_PATH , bboxes)
|