Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +3 -2
pages/Data Collection.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
| 3 |
# Helper function for subheadings
|
| 4 |
def subheading(text):
|
|
@@ -7,7 +8,7 @@ def subheading(text):
|
|
| 7 |
|
| 8 |
# Sidebar for navigation
|
| 9 |
st.sidebar.title("Navigation")
|
| 10 |
-
page = st.sidebar.radio("Go to", ["Introduction", "Basic Operations","Converting Image to BGR & Gray SCale"])
|
| 11 |
|
| 12 |
# App Title and Description
|
| 13 |
st.title("Image Processing Fundamentals")
|
|
@@ -146,7 +147,7 @@ elif page == "Basic Operations":
|
|
| 146 |
""")
|
| 147 |
|
| 148 |
|
| 149 |
-
elif page ==
|
| 150 |
|
| 151 |
from PIL import Image
|
| 152 |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
import numpy as np
|
| 3 |
|
| 4 |
# Helper function for subheadings
|
| 5 |
def subheading(text):
|
|
|
|
| 8 |
|
| 9 |
# Sidebar for navigation
|
| 10 |
st.sidebar.title("Navigation")
|
| 11 |
+
page = st.sidebar.radio("Go to", ["Introduction", "Basic Operations","Converting Image to Black&White ,BGR & Gray SCale"])
|
| 12 |
|
| 13 |
# App Title and Description
|
| 14 |
st.title("Image Processing Fundamentals")
|
|
|
|
| 147 |
""")
|
| 148 |
|
| 149 |
|
| 150 |
+
elif page =="Converting Image to Black&White ,BGR & Gray SCale":
|
| 151 |
|
| 152 |
from PIL import Image
|
| 153 |
|