目录

class info
com.huawei.hms.mlsdk.text.MLText.Word
Words detected in an image.
Five attributes inherited from Base are included:
1.
getStringValue(): Detected text content.
2.
getBorder(): Word bounding box.
3.
getVertexes(): Corner points of the word bounding box.
4.
getPossibility(): Confidence of the detection result.
5.
getLanguageList(): All detected languages.

Public Method Summary

Return typeMethod name
List<? extends MLText.Base>getContents()

Public Methods

Method
public List<? extends MLText.Base> getContents()
Obtains a lower-level text object.
Because there is no lower-level text object under Word, the method always returns null.

Return

Typedesc
List<? extends MLText.Base>Returns null.