my
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ def process_image():
|
|
166 |
iou = inter_area / float(bbox1_area + bbox2_area - inter_area) if (bbox1_area + bbox2_area - inter_area) > 0 else 0
|
167 |
return iou
|
168 |
|
169 |
-
image_path = "./app/data1" + ii
|
170 |
csv_file_path = output_csv_path = './app/Folder2/' + ii + 'bounding_boxes_with_recognition.csv'
|
171 |
image = cv2.imread(image_path)
|
172 |
font = cv2.FONT_HERSHEY_SIMPLEX
|
|
|
166 |
iou = inter_area / float(bbox1_area + bbox2_area - inter_area) if (bbox1_area + bbox2_area - inter_area) > 0 else 0
|
167 |
return iou
|
168 |
|
169 |
+
image_path = "./app/data1/" + ii
|
170 |
csv_file_path = output_csv_path = './app/Folder2/' + ii + 'bounding_boxes_with_recognition.csv'
|
171 |
image = cv2.imread(image_path)
|
172 |
font = cv2.FONT_HERSHEY_SIMPLEX
|