| class info |
| com.huawei.hms.mlsdk.document.MLDocument.Section |
Represents a detected section. Seven attributes inherited from Base are included: 1. getLanguageList(): Obtains the language of the section; 2. getInterval(): Obtains the interval type of the section; 3. getBorder(): Obtains the section bounding box; 4. getStringValue(): Obtains text content of the section; 5. getPossibility(): Obtains the detection result confidence; 6. getWordList(): Obtains all words contained in the section; 7. getLineList(): Obtains all lines in the section. |
| Return type | Method name |
| List<MLDocument.Line> | getLineList() |
| List<MLDocument.Word> | getWordList() |
| Method |
| public List<MLDocument.Line> getLineList() |
| Obtains all lines in a section. |
Return
| Type | desc |
| List<MLDocument.Line> | Returns a list of all lines in a section. |
| Method |
| public List<MLDocument.Word> getWordList() |
| Obtains all words in a section. |
Return
| Type | desc |
| List<MLDocument.Word> | Returns a list of all words in a section. |