WebashalarForML commited on
Commit
461f0f8
·
verified ·
1 Parent(s): 8f2e7a3

Update utility/utils.py

Browse files
Files changed (1) hide show
  1. utility/utils.py +1 -1
utility/utils.py CHANGED
@@ -167,7 +167,7 @@ def extract_text_from_images(image_paths):
167
  #print(unique_id)
168
 
169
  # Save the image with boxes
170
- result_image_path = os.path.join(RESULT_FOLDER, f'result_{os.path.basename(image_path)}')
171
  #img_with_boxes.save(result_image_path)
172
  cv2.imwrite(result_image_path, img_with_boxes)
173
 
 
167
  #print(unique_id)
168
 
169
  # Save the image with boxes
170
+ result_image_path = os.path.join(RESULT_FOLDER, f'result_{unique_id}_{os.path.basename(image_path)}')
171
  #img_with_boxes.save(result_image_path)
172
  cv2.imwrite(result_image_path, img_with_boxes)
173