Commit
·
59003ef
1
Parent(s):
c327093
Update app.py
Browse files
app.py
CHANGED
|
@@ -135,7 +135,7 @@ def generate_ocr(Method,img):
|
|
| 135 |
|
| 136 |
new_data=img.reshape(img.shape)
|
| 137 |
imge = Image.fromarray(new_data.astype(np.uint8),'RGB')
|
| 138 |
-
add_csv = [Method,
|
| 139 |
|
| 140 |
with open(DATA_FILE, "a") as f:
|
| 141 |
writer = csv.writer(f)
|
|
|
|
| 135 |
|
| 136 |
new_data=img.reshape(img.shape)
|
| 137 |
imge = Image.fromarray(new_data.astype(np.uint8),'RGB')
|
| 138 |
+
add_csv = [Method,img,text_output]
|
| 139 |
|
| 140 |
with open(DATA_FILE, "a") as f:
|
| 141 |
writer = csv.writer(f)
|