Update app.py
Browse files
app.py
CHANGED
|
@@ -334,7 +334,7 @@ def scan_edges(image):
|
|
| 334 |
# clipLimit=2.0 : caps noise amplification in uniform areas
|
| 335 |
# tileGridSize : 8x8 tiles suit engine-block scale features;
|
| 336 |
# use (16,16) if bearing saddles are small in frame
|
| 337 |
-
clahe = cv2.createCLAHE(clipLimit=9.
|
| 338 |
enhanced = clahe.apply(blurred)
|
| 339 |
|
| 340 |
# 5. Canny on CLAHE-enhanced image
|
|
|
|
| 334 |
# clipLimit=2.0 : caps noise amplification in uniform areas
|
| 335 |
# tileGridSize : 8x8 tiles suit engine-block scale features;
|
| 336 |
# use (16,16) if bearing saddles are small in frame
|
| 337 |
+
clahe = cv2.createCLAHE(clipLimit=9.9, tileGridSize=(8, 8))
|
| 338 |
enhanced = clahe.apply(blurred)
|
| 339 |
|
| 340 |
# 5. Canny on CLAHE-enhanced image
|