Spaces:
Runtime error
Runtime error
Update utility/utils.py
Browse files161 unmodified lines162163164165166167168161 unmodified lines# Save the image with boxesresult_image_path = os.path.join(RESULT_FOLDER, f'result_{os.path.basename(image_path)}')img_with_boxes.save(result_image_path)# Store the text and image result pathsall_extracted_texts[image_path] = result161 unmodified lines162163164165166167168169161 unmodified lines# Save the image with boxesresult_image_path = os.path.join(RESULT_FOLDER, f'result_{os.path.basename(image_path)}')#img_with_boxes.save(result_image_path)cv2.imwrite(result_image_path, img_with_boxes)# Store the text and image result pathsall_extracted_texts[image_path] = result
utility/utils.py+2-1