Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -151,11 +151,11 @@ def Plot_Result(raw_plate, digits) :
|
|
151 |
#ax.show()
|
152 |
#fig = plt.imshow(raw_plate)
|
153 |
|
154 |
-
for img in raw_plate:
|
155 |
-
|
156 |
-
image.save('output_image.jpg')
|
157 |
|
158 |
-
|
159 |
st.image('output_image.jpg', caption='This is how your final image looks like 😉')
|
160 |
|
161 |
|
|
|
151 |
#ax.show()
|
152 |
#fig = plt.imshow(raw_plate)
|
153 |
|
154 |
+
#for img in raw_plate:
|
155 |
+
# image = Image.fromarray(img)
|
156 |
+
#image.save('output_image.jpg')
|
157 |
|
158 |
+
raw_plate.save('output_image.jpg')
|
159 |
st.image('output_image.jpg', caption='This is how your final image looks like 😉')
|
160 |
|
161 |
|