| 程序包 | 说明 |
|---|---|
| cn.smartjavaai.ocr.model.table | |
| cn.smartjavaai.ocr.model.table.criteria | |
| cn.smartjavaai.ocr.model.table.translator |
| 限定符和类型 | 方法和说明 |
|---|---|
R<TableStructureResult> |
CommonTableStructureModel.detect(BufferedImage image) |
default R<TableStructureResult> |
TableStructureModel.detect(BufferedImage image)
表格结构检测
|
R<TableStructureResult> |
CommonTableStructureModel.detect(byte[] imageData) |
default R<TableStructureResult> |
TableStructureModel.detect(byte[] imageData)
表格结构检测
|
R<TableStructureResult> |
CommonTableStructureModel.detect(ai.djl.modality.cv.Image image) |
default R<TableStructureResult> |
TableStructureModel.detect(ai.djl.modality.cv.Image image)
表格结构检测
|
R<TableStructureResult> |
CommonTableStructureModel.detect(String imagePath) |
default R<TableStructureResult> |
TableStructureModel.detect(String imagePath)
表格结构检测
|
org.apache.commons.pool2.impl.GenericObjectPool<ai.djl.inference.Predictor<ai.djl.modality.cv.Image,TableStructureResult>> |
CommonTableStructureModel.getPool() |
default org.apache.commons.pool2.impl.GenericObjectPool<ai.djl.inference.Predictor<ai.djl.modality.cv.Image,TableStructureResult>> |
TableStructureModel.getPool() |
R<TableStructureResult> |
TableRecognizer.recognize(BufferedImage image)
表格识别
|
R<TableStructureResult> |
TableRecognizer.recognize(byte[] imageData)
表格识别
|
R<TableStructureResult> |
TableRecognizer.recognize(ai.djl.modality.cv.Image image)
表格识别
|
R<TableStructureResult> |
TableRecognizer.recognize(String imagePath)
表格识别
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
TableRecognizer.buildTable(TableStructureResult tableStructureResult,
OcrInfo ocrInfo)
构建表格
|
BufferedImage |
TableRecognizer.drawTable(TableStructureResult tableStructureResult,
BufferedImage image)
绘制表格
|
void |
TableRecognizer.drawTable(TableStructureResult tableStructureResult,
BufferedImage image,
String savePath)
绘制表格
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ai.djl.repository.zoo.Criteria<ai.djl.modality.cv.Image,TableStructureResult> |
StructureCriteriaFactory.createCriteria(TableStructureConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
TableStructureResult |
TableStructTranslator.processOutput(ai.djl.translate.TranslatorContext ctx,
ai.djl.ndarray.NDList list) |
Copyright © 2025. All rights reserved.