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