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