OcrLine Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. OcrLine
- com.
public class OcrLine
An object describing a single recognized line of text.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
boundingBox()
Get the boundingBox value. |
Ocr |
withBoundingBox(String boundingBox)
Set the boundingBox value. |
Ocr |
withWords(List<OcrWord> words)
Set the words value. |
List<Ocr |
words()
Get the words value. |
Method Details
boundingBox
public String boundingBox()
Get the boundingBox value.
Returns:
the boundingBox value
withBoundingBox
public OcrLine withBoundingBox(String boundingBox)
Set the boundingBox value.
Parameters:
boundingBox
- the boundingBox value to set
Returns:
the OcrLine object itself.
withWords
public OcrLine withWords(List
Set the words value.
Parameters:
words
- the words value to set
Returns:
the OcrLine object itself.
words
public List
Get the words value.
Returns:
the words value
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java