Specify PaddleOCR recognition model name
Browse files
app.py
CHANGED
|
@@ -46,6 +46,7 @@ def load_models():
|
|
| 46 |
lang='korean',
|
| 47 |
use_textline_orientation=True,
|
| 48 |
text_recognition_model_dir=rec_model_dir,
|
|
|
|
| 49 |
)
|
| 50 |
print("✅ PaddleOCR loaded!")
|
| 51 |
|
|
|
|
| 46 |
lang='korean',
|
| 47 |
use_textline_orientation=True,
|
| 48 |
text_recognition_model_dir=rec_model_dir,
|
| 49 |
+
text_recognition_model_name="korean_PP-OCRv5_mobile_rec",
|
| 50 |
)
|
| 51 |
print("✅ PaddleOCR loaded!")
|
| 52 |
|