接口 OcrRecModel
-
- 所有已知实现类:
PaddleOCRV4RecModel
public interface OcrRecModelOCR模型- 作者:
- dwj
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default DetectionResponsedetect(String imagePath)人脸检测default voiddetectAndDraw(String imagePath, String outputPath)检测并绘制结果voidloadModel(OcrRecModelConfig config)加载模型
-
-
-
方法详细资料
-
loadModel
void loadModel(OcrRecModelConfig config)
加载模型- 参数:
config-
-
detect
default DetectionResponse detect(String imagePath)
人脸检测- 参数:
imagePath- 图片路径- 返回:
-
-