pawanmau01 commited on
Commit
736601a
1 Parent(s): 7541f68

Remove saving image to disk

Browse files
Files changed (1) hide show
  1. app/services/adhaarServices/ocr.py +1 -1
app/services/adhaarServices/ocr.py CHANGED
@@ -32,7 +32,7 @@ def process_results(results, img):
32
  final_image = all_cropped_images_to_one_image(cropped_images, separator_image_path='app/utils/seprator3.png')
33
 
34
  buffer = BytesIO()
35
- final_image.save(buffer, format=input_image_format)
36
  buffer.seek(0)
37
 
38
  response = analyze_image(buffer.getvalue(), input_image_format)
 
32
  final_image = all_cropped_images_to_one_image(cropped_images, separator_image_path='app/utils/seprator3.png')
33
 
34
  buffer = BytesIO()
35
+ # final_image.save(buffer, format=input_image_format)
36
  buffer.seek(0)
37
 
38
  response = analyze_image(buffer.getvalue(), input_image_format)