Spaces:
Sleeping
Sleeping
Update ocr_engine.py
Browse files- ocr_engine.py +1 -1
ocr_engine.py
CHANGED
@@ -134,7 +134,7 @@ def detect_digit_template(digit_img, brightness):
|
|
134 |
try:
|
135 |
h, w = digit_img.shape
|
136 |
if h < 5 or w < 2:
|
137 |
-
logging.debug
|
138 |
return None
|
139 |
|
140 |
# Expanded digit templates for seven-segment display variations
|
|
|
134 |
try:
|
135 |
h, w = digit_img.shape
|
136 |
if h < 5 or w < 2:
|
137 |
+
logging.debug("Digit image too small for template matching.")
|
138 |
return None
|
139 |
|
140 |
# Expanded digit templates for seven-segment display variations
|