public class PaddleOCRV4RecModel extends Object implements OcrRecModel
| 构造器和说明 |
|---|
PaddleOCRV4RecModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
DetectionResponse |
detect(String imagePath)
人脸检测
|
void |
detectAndDraw(String imagePath,
String outputPath)
检测并绘制结果
|
void |
loadModel(OcrRecModelConfig config)
加载模型
|
public void loadModel(OcrRecModelConfig config)
OcrRecModelloadModel 在接口中 OcrRecModelpublic DetectionResponse detect(String imagePath)
OcrRecModeldetect 在接口中 OcrRecModelimagePath - 图片路径public void detectAndDraw(String imagePath, String outputPath)
OcrRecModeldetectAndDraw 在接口中 OcrRecModelimagePath - 图片输入路径(包含文件名称)outputPath - 图片输出路径(包含文件名称)Copyright © 2025. All rights reserved.