Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,10 +49,11 @@ uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png
|
|
| 49 |
if uploaded_file is not None:
|
| 50 |
img=cv2.imread(uploaded_file)
|
| 51 |
|
| 52 |
-
|
|
|
|
| 53 |
|
| 54 |
# output=cv2.imshow("bgr",img)
|
| 55 |
-
|
| 56 |
-
|
| 57 |
|
| 58 |
|
|
|
|
| 49 |
if uploaded_file is not None:
|
| 50 |
img=cv2.imread(uploaded_file)
|
| 51 |
|
| 52 |
+
|
| 53 |
+
st.image(cv2.imshow("jf",img), caption="Uploaded Image (OpenCV)", use_column_width=True)
|
| 54 |
|
| 55 |
# output=cv2.imshow("bgr",img)
|
| 56 |
+
cv2.waitKey(100)
|
| 57 |
+
cv2.destroyAllWindows()
|
| 58 |
|
| 59 |
|