add debug info for init ppocr
Browse files
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 |
"""
|