|
@@ -363,7 +363,7 @@ def autotrain(difficult):
|
|
|
key_word[f'{difficult}_{x}'] = word
|
|
|
im = Image.open(fname)
|
|
|
imager.output_image(im)
|
|
|
- pix = im.load()
|
|
|
+ # pix = im.load()
|
|
|
size = im.size
|
|
|
with open('words.txt', 'a') as f:
|
|
|
f.write(f'{difficult}_{x} = {size[0]} x {size[1]} is {word}\n')
|
|
@@ -373,7 +373,7 @@ def autotrain(difficult):
|
|
|
# Output the image
|
|
|
im = Image.open(fname)
|
|
|
imager.output_image(im)
|
|
|
- pix = im.load()
|
|
|
+ # pix = im.load()
|
|
|
size = im.size
|
|
|
# img_s = output_image(pix, size)
|
|
|
# for l in img_s:
|