类 PaddleOCRV4RecModel
- java.lang.Object
-
- cn.smartjavaai.ocr.ppv4.model.PaddleOCRV4RecModel
-
- 所有已实现的接口:
OcrRecModel
public class PaddleOCRV4RecModel extends Object implements OcrRecModel
PaddleOCRV4 识别模型实现- 作者:
- dwj
-
-
构造器概要
构造器 构造器 说明 PaddleOCRV4RecModel()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DetectionResponsedetect(String imagePath)人脸检测voiddetectAndDraw(String imagePath, String outputPath)检测并绘制结果voidloadModel(OcrRecModelConfig config)加载模型
-
-
-
方法详细资料
-
loadModel
public void loadModel(OcrRecModelConfig config)
从接口复制的说明:OcrRecModel加载模型- 指定者:
loadModel在接口中OcrRecModel
-
detect
public DetectionResponse detect(String imagePath)
从接口复制的说明:OcrRecModel人脸检测- 指定者:
detect在接口中OcrRecModel- 参数:
imagePath- 图片路径- 返回:
-
detectAndDraw
public void detectAndDraw(String imagePath, String outputPath)
从接口复制的说明:OcrRecModel检测并绘制结果- 指定者:
detectAndDraw在接口中OcrRecModel- 参数:
imagePath- 图片输入路径(包含文件名称)outputPath- 图片输出路径(包含文件名称)
-
-