Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
|
159 |
out_img = cv2.imread("output_image.jpg")
|
160 |
-
st.image(out_img
|
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 |
|