修改了模块的函数名,现在想用哪个模块直接导入即可
This commit is contained in:
		@@ -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)
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user