Harika22 commited on
Commit
71653b0
·
verified ·
1 Parent(s): 13df172

Update pages/7_Unstructured_data.py

Browse files
Files changed (1) hide show
  1. pages/7_Unstructured_data.py +25 -1
pages/7_Unstructured_data.py CHANGED
@@ -102,7 +102,7 @@ if file_type == "IMAGE":
102
  """,unsafe_allow_html=True)
103
 
104
  st.sidebar.header("Explore Image Data ✨")
105
- data_type1 = st.sidebar.radio("Select Information", ["Image Information","Color Space", "Basic Operations","Image Augumentation"])
106
  if data_type1 == "Image Information":
107
  st.header("**Image Information**")
108
  st.header('**How an image is formed**')
@@ -121,6 +121,30 @@ if file_type == "IMAGE":
121
  - Tabular structure and grid like structure has similar structure but different in interpretation
122
  ''')
123
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
 
125
  elif data_type1 == "Color Space":
126
  st.header('**Color Space**')
 
102
  """,unsafe_allow_html=True)
103
 
104
  st.sidebar.header("Explore Image Data ✨")
105
+ data_type1 = st.sidebar.radio("Select Information", ["Image Information","Basic Operations", "Color Space","Image Augumentation"])
106
  if data_type1 == "Image Information":
107
  st.header("**Image Information**")
108
  st.header('**How an image is formed**')
 
121
  - Tabular structure and grid like structure has similar structure but different in interpretation
122
  ''')
123
 
124
+ elif data_type1 == "Basic Operations":
125
+ st.header('**Basic Operations**')
126
+ st.markdown("""
127
+ - OpenCV offers a variety of tools to work with images, including the ability to load, display, modify, and save them.
128
+ - OpenCV handles both images and videos.
129
+ - Especially images are handled by pil --> pillow
130
+ - These operations are essential for tasks such as image processing, computer vision.
131
+ """)
132
+
133
+ st.markdown("""
134
+ - OpenCV allows users to perform basic operations like reading, displaying, and saving images.
135
+ - Along with that it also performs resizing, cropping, and filtering of images based on requirements.
136
+ - **Key Functions:**
137
+ <ul class="icon-bullet">
138
+ <li>imread() </li>
139
+ <li>imshow() </li>
140
+ <li>imwrite() </li>
141
+ </ul>
142
+
143
+ - **imread()**: Reads an image from the disk, storing it as an array.
144
+ - **imshow()**: Displays the image in a window, allowing for easy visualization.
145
+ - **imwrite()**: Saves the image to a specified location on your storage.
146
+ """, unsafe_allow_html=True)
147
+
148
 
149
  elif data_type1 == "Color Space":
150
  st.header('**Color Space**')