| class info |
| com.huawei.hms.mlsdk.document.MLDocument.Block |
| 用来表示检测出的文本区块,包含6个属性: 1、getLanguageList():检测出文本区块的语种; 2、getInterval():文本区块的间隔类型; 3、getBorder():文本区块的边框; 4、getStringValue():文本区块的文本内容; 5、getPossibility():检测结果置信度; 6、getSections():文本区块包含的所有段落。 |
| Return type | Method name |
| List<MLDocument.Section> | getSections() |
| Method |
| public List<MLDocument.Section> getSections() |
| 获取文本区块包含的所有段落。 |
Return
| Type | desc |
| List<MLDocument.Section> | 返回段落列表。 |