tzvc commited on
Commit
b32587e
1 Parent(s): 291fec1
Files changed (1) hide show
  1. collect-dataset.py +0 -2
collect-dataset.py CHANGED
@@ -95,8 +95,6 @@ if __name__ == "__main__":
95
  raise ValueError("Image is not square")
96
  image = image.resize((512, 512), resample=Image.LANCZOS)
97
  image_text = pytesseract.image_to_string(image)
98
- print(image.format)
99
- print(image_text)
100
  if (len(image_text) < 3):
101
  image.save(f"./data/{org.get('uuid')}.png", format="PNG")
102
  except Exception as ex:
 
95
  raise ValueError("Image is not square")
96
  image = image.resize((512, 512), resample=Image.LANCZOS)
97
  image_text = pytesseract.image_to_string(image)
 
 
98
  if (len(image_text) < 3):
99
  image.save(f"./data/{org.get('uuid')}.png", format="PNG")
100
  except Exception as ex: