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