hari3485 commited on
Commit
ad0c3b0
·
verified ·
1 Parent(s): c68da9f

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +6 -4
pages/Data Collection.py CHANGED
@@ -520,7 +520,7 @@ def image_details_page():
520
  st.markdown("<h3 style='text-align:; color: #4a90e2;'>1. Black and White</h3>", unsafe_allow_html=True)
521
 
522
  st.write("""
523
- - Represents only two colors: **Black (0)** and **White (255)**.
524
  - **Limitation**: It only preserves black and white.
525
  """)
526
 
@@ -530,9 +530,9 @@ def image_details_page():
530
  st.markdown("<h3 style='text-align:; color: #4169E1;'>2. Grayscale</h3>", unsafe_allow_html=True)
531
 
532
  st.write("""
533
- - 0 means Black: It represents the darkest shade in a grayscale image.
534
- - 1 means White: It represents the brightest shade in a grayscale image.
535
- - Values between 1 and 254: These values represent various shades of gray, with increasing brightness as the value approaches 254.
536
  - **Limitation**:
537
  - Gray Scale images cannot preserve coloured images as it is having only gray shades
538
  """)
@@ -548,6 +548,8 @@ def image_details_page():
548
  - The value in each array ranges from R(0,255) ,G(0,255) ,B(0,255)
549
  - By mixing different intensities of red, green, and blue,we can create over **16 million possible colors**.
550
  """)
 
 
551
 
552
 
553
  # Basic Operations Section
 
520
  st.markdown("<h3 style='text-align:; color: #4a90e2;'>1. Black and White</h3>", unsafe_allow_html=True)
521
 
522
  st.write("""
523
+ - Represents only two colors: **Black (0) Pixels** and **White (255) Pixels**.
524
  - **Limitation**: It only preserves black and white.
525
  """)
526
 
 
530
  st.markdown("<h3 style='text-align:; color: #4169E1;'>2. Grayscale</h3>", unsafe_allow_html=True)
531
 
532
  st.write("""
533
+ - 0 pixel value means Black: It represents the darkest shade in a grayscale image.
534
+ - 1 piexel value means White: It represents the brightest shade in a grayscale image.
535
+ - Pixel Values between 1 and 254: These Pixel values represent various shades of gray, with increasing brightness as the value approaches 254.
536
  - **Limitation**:
537
  - Gray Scale images cannot preserve coloured images as it is having only gray shades
538
  """)
 
548
  - The value in each array ranges from R(0,255) ,G(0,255) ,B(0,255)
549
  - By mixing different intensities of red, green, and blue,we can create over **16 million possible colors**.
550
  """)
551
+
552
+ st.image("https://huggingface.co/spaces/hari3485/DiveIntoML/resolve/main/Images/rgb.jpg")
553
 
554
 
555
  # Basic Operations Section