OmidSakaki commited on
Commit
367070b
·
verified ·
1 Parent(s): 67dbe7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -155,9 +155,11 @@ def Plot_Result(raw_plate, digits) :
155
  # image = Image.fromarray(img)
156
  #image.save('output_image.jpg')
157
 
158
- raw_plate.save('output_image.jpg')
 
 
159
  out_img = cv2.imread("output_image.jpg")
160
- st.image(out_img, caption='This is how your final image looks like 😉')
161
 
162
 
163
 
 
155
  # image = Image.fromarray(img)
156
  #image.save('output_image.jpg')
157
 
158
+ filename = 'output_image.jpg'
159
+ cv2.imwrite(filename, raw_plate)
160
+
161
  out_img = cv2.imread("output_image.jpg")
162
+ st.image(out_img)
163
 
164
 
165