SengTak commited on
Commit
a05b8a9
·
1 Parent(s): 9c967ac

add debug info for init ppocr

Browse files
Files changed (1) hide show
  1. app_pages/ocr_comparator.py +2 -0
app_pages/ocr_comparator.py CHANGED
@@ -210,6 +210,7 @@ def app():
210
  Returns:
211
  ppocr reader: the ppocr reader instance
212
  """
 
213
  out_ocr = PaddleOCR(lang=in_params[0], **in_params[1])
214
  return out_ocr
215
 
@@ -222,6 +223,7 @@ def app():
222
  Args:
223
  in_params (dict): dict with parameters
224
 
 
225
  Returns:
226
  mmocr reader: the ppocr reader instance
227
  """
 
210
  Returns:
211
  ppocr reader: the ppocr reader instance
212
  """
213
+ print(in_params)
214
  out_ocr = PaddleOCR(lang=in_params[0], **in_params[1])
215
  return out_ocr
216
 
 
223
  Args:
224
  in_params (dict): dict with parameters
225
 
226
+
227
  Returns:
228
  mmocr reader: the ppocr reader instance
229
  """