修改了模块的函数名,现在想用哪个模块直接导入即可

This commit is contained in:
2025-09-01 15:33:05 +08:00
parent 1c914cf89f
commit f342d37d63
3 changed files with 13 additions and 15 deletions

View File

@@ -18,10 +18,10 @@ class OCRProcessor:
# 保留原有函数接口
_processor = OCRProcessor()
def initialize_ocr_model():
def LPRNinitialize_model():
return _processor
def ocr_predict(image_array):
def LPRNmodel_predict(image_array):
# 获取原始预测结果
raw_result = _processor.predict(image_array)