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