public class CommonTableStructureModel extends Object implements TableStructureModel
| 构造器和说明 |
|---|
CommonTableStructureModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
R<TableStructureResult> |
detect(BufferedImage image)
表格结构检测
|
R<TableStructureResult> |
detect(byte[] imageData)
表格结构检测
|
R<TableStructureResult> |
detect(ai.djl.modality.cv.Image image)
表格结构检测
|
R<TableStructureResult> |
detect(String imagePath)
表格结构检测
|
void |
loadModel(TableStructureConfig config)
加载模型
|
public void loadModel(TableStructureConfig config)
TableStructureModelloadModel 在接口中 TableStructureModelpublic R<TableStructureResult> detect(BufferedImage image)
TableStructureModeldetect 在接口中 TableStructureModelpublic R<TableStructureResult> detect(String imagePath)
TableStructureModeldetect 在接口中 TableStructureModelimagePath - 图片路径public R<TableStructureResult> detect(byte[] imageData)
TableStructureModeldetect 在接口中 TableStructureModelimageData - 图片字节数组public R<TableStructureResult> detect(ai.djl.modality.cv.Image image)
TableStructureModeldetect 在接口中 TableStructureModelimage - DJL Imagepublic void close()
throws Exception
close 在接口中 AutoCloseableExceptionCopyright © 2025. All rights reserved.