msg
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import cv2
|
|
| 3 |
import numpy as np
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
-
st.
|
| 7 |
|
| 8 |
# Upload image in the sidebar
|
| 9 |
uploaded_file = st.sidebar.file_uploader("Upload an Image", type=["png", "jpg", "jpeg"])
|
|
@@ -13,7 +13,7 @@ if uploaded_file is not None:
|
|
| 13 |
img_array = np.array(image)
|
| 14 |
|
| 15 |
# Select an operation using a dropdown
|
| 16 |
-
option = st.selectbox("Choose an
|
| 17 |
"None", "Convert to Grayscale", "Rotate Image", "Apply Text Overlay", "Blur Image", "Convert to Color Space", "Edge Detection"
|
| 18 |
])
|
| 19 |
|
|
|
|
| 3 |
import numpy as np
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
+
st.title("Image Processing\n(Comparison View)")
|
| 7 |
|
| 8 |
# Upload image in the sidebar
|
| 9 |
uploaded_file = st.sidebar.file_uploader("Upload an Image", type=["png", "jpg", "jpeg"])
|
|
|
|
| 13 |
img_array = np.array(image)
|
| 14 |
|
| 15 |
# Select an operation using a dropdown
|
| 16 |
+
option = st.selectbox("Choose an comparison:", [
|
| 17 |
"None", "Convert to Grayscale", "Rotate Image", "Apply Text Overlay", "Blur Image", "Convert to Color Space", "Edge Detection"
|
| 18 |
])
|
| 19 |
|