Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +5 -0
pages/Data Collection.py
CHANGED
|
@@ -529,6 +529,8 @@ def image_details_page():
|
|
| 529 |
- **Limitation**: It only preserves black and white.
|
| 530 |
- For example, by using the image's width and height (rows and columns), we can create a **2D array** where each pixel is represented by either 0 (black) or 255 (white).
|
| 531 |
""")
|
|
|
|
|
|
|
| 532 |
|
| 533 |
# Subheading for Grayscale color space
|
| 534 |
st.markdown("<h3 style='text-align:; color: #4169E1;'>2. Grayscale</h3>", unsafe_allow_html=True)
|
|
@@ -539,6 +541,9 @@ def image_details_page():
|
|
| 539 |
- **Limitation**:
|
| 540 |
- Gray Scale images cannot preserve coloured images as it is having only gray shades
|
| 541 |
""")
|
|
|
|
|
|
|
|
|
|
| 542 |
|
| 543 |
# Subheading for RGB color space
|
| 544 |
st.markdown("<h3 style='text-align:; color: #483D8B;'>3. RGB </h3>", unsafe_allow_html=True)
|
|
|
|
| 529 |
- **Limitation**: It only preserves black and white.
|
| 530 |
- For example, by using the image's width and height (rows and columns), we can create a **2D array** where each pixel is represented by either 0 (black) or 255 (white).
|
| 531 |
""")
|
| 532 |
+
|
| 533 |
+
st.image("https://huggingface.co/spaces/hari3485/DiveIntoML/resolve/main/Images/blackwhite.jpg")
|
| 534 |
|
| 535 |
# Subheading for Grayscale color space
|
| 536 |
st.markdown("<h3 style='text-align:; color: #4169E1;'>2. Grayscale</h3>", unsafe_allow_html=True)
|
|
|
|
| 541 |
- **Limitation**:
|
| 542 |
- Gray Scale images cannot preserve coloured images as it is having only gray shades
|
| 543 |
""")
|
| 544 |
+
|
| 545 |
+
st.image("https://huggingface.co/spaces/hari3485/DiveIntoML/resolve/main/Images/grayscale.jpeg")
|
| 546 |
+
|
| 547 |
|
| 548 |
# Subheading for RGB color space
|
| 549 |
st.markdown("<h3 style='text-align:; color: #483D8B;'>3. RGB </h3>", unsafe_allow_html=True)
|