Commit
·
34c18af
1
Parent(s):
c3961ea
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,8 @@ def save_details(Method,text_output,img):
|
|
| 128 |
modified_picture_path = splitted_path[0] + curr_datetime + splitted_path[1]
|
| 129 |
cv2.imwrite("myimage.jpg", img)
|
| 130 |
with open('savedata.txt', 'w') as f:
|
| 131 |
-
|
|
|
|
| 132 |
print("write Successfully")
|
| 133 |
# img = Image.open(r"/home/user/app/")
|
| 134 |
# img.save(modified_picture_path)
|
|
|
|
| 128 |
modified_picture_path = splitted_path[0] + curr_datetime + splitted_path[1]
|
| 129 |
cv2.imwrite("myimage.jpg", img)
|
| 130 |
with open('savedata.txt', 'w') as f:
|
| 131 |
+
print("write test")
|
| 132 |
+
f.write("testdata")
|
| 133 |
print("write Successfully")
|
| 134 |
# img = Image.open(r"/home/user/app/")
|
| 135 |
# img.save(modified_picture_path)
|