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