Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +3 -3
pages/Data Collection.py
CHANGED
|
@@ -527,7 +527,6 @@ def image_details_page():
|
|
| 527 |
st.write("""
|
| 528 |
- Represents only two colors: **Black (0)** and **White (255)**.
|
| 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")
|
|
@@ -536,8 +535,9 @@ def image_details_page():
|
|
| 536 |
st.markdown("<h3 style='text-align:; color: #4169E1;'>2. Grayscale</h3>", unsafe_allow_html=True)
|
| 537 |
|
| 538 |
st.write("""
|
| 539 |
-
- 0 means
|
| 540 |
-
-
|
|
|
|
| 541 |
- **Limitation**:
|
| 542 |
- Gray Scale images cannot preserve coloured images as it is having only gray shades
|
| 543 |
""")
|
|
|
|
| 527 |
st.write("""
|
| 528 |
- Represents only two colors: **Black (0)** and **White (255)**.
|
| 529 |
- **Limitation**: It only preserves black and white.
|
|
|
|
| 530 |
""")
|
| 531 |
|
| 532 |
st.image("https://huggingface.co/spaces/hari3485/DiveIntoML/resolve/main/Images/blackwhite.jpg")
|
|
|
|
| 535 |
st.markdown("<h3 style='text-align:; color: #4169E1;'>2. Grayscale</h3>", unsafe_allow_html=True)
|
| 536 |
|
| 537 |
st.write("""
|
| 538 |
+
- 0 means Black: It represents the darkest shade in a grayscale image.
|
| 539 |
+
- 1 means White: It represents the brightest shade in a grayscale image.
|
| 540 |
+
- Values between 1 and 254: These values represent various shades of gray, with increasing brightness as the value approaches 254.
|
| 541 |
- **Limitation**:
|
| 542 |
- Gray Scale images cannot preserve coloured images as it is having only gray shades
|
| 543 |
""")
|