Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,6 @@ def simple_threshold_blue(image_bgr):
|
|
60 |
return perc_blue, mask
|
61 |
|
62 |
|
63 |
-
|
64 |
def plot_color_histogram(image_bgr):
|
65 |
"""
|
66 |
Creates a matplotlib figure of B, G, and R channel histograms.
|
@@ -99,7 +98,7 @@ demonstrating how tools like Python, OpenCV, and Streamlit can automate **qualit
|
|
99 |
|
100 |
Below, you can:
|
101 |
1. **Generate** a synthetic image with random shades of **blue** and **near-white** regions.
|
102 |
-
2. **Analyze** the image using
|
103 |
3. **Visualize** color histograms and masks.
|
104 |
4. See how this **digital transformation** approach can benefit large-scale production lines.
|
105 |
|
|
|
60 |
return perc_blue, mask
|
61 |
|
62 |
|
|
|
63 |
def plot_color_histogram(image_bgr):
|
64 |
"""
|
65 |
Creates a matplotlib figure of B, G, and R channel histograms.
|
|
|
98 |
|
99 |
Below, you can:
|
100 |
1. **Generate** a synthetic image with random shades of **blue** and **near-white** regions.
|
101 |
+
2. **Analyze** the image using **Simple** thresholding.
|
102 |
3. **Visualize** color histograms and masks.
|
103 |
4. See how this **digital transformation** approach can benefit large-scale production lines.
|
104 |
|