Sanjayraju30 commited on
Commit
4b8d12c
·
verified ·
1 Parent(s): 946777c

Update ocr_engine.py

Browse files
Files changed (1) hide show
  1. 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 looped("Digit image too small for template matching.")
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