OcrResult Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. OcrResult
- com.
public class OcrResult
The OcrResult model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
language()
Get the language value. |
String |
modelVersion()
Get the modelVersion value. |
String |
orientation()
Get the orientation value. |
List<Ocr |
regions()
Get the regions value. |
double |
textAngle()
Get the textAngle value. |
Ocr |
withLanguage(String language)
Set the language value. |
Ocr |
withModelVersion(String modelVersion)
Set the modelVersion value. |
Ocr |
withOrientation(String orientation)
Set the orientation value. |
Ocr |
withRegions(List<OcrRegion> regions)
Set the regions value. |
Ocr |
withTextAngle(double textAngle)
Set the textAngle value. |
Method Details
language
public String language()
Get the language value.
Returns:
modelVersion
public String modelVersion()
Get the modelVersion value.
Returns:
orientation
public String orientation()
Get the orientation value.
Returns:
regions
public List
Get the regions value.
Returns:
textAngle
public double textAngle()
Get the textAngle value.
Returns:
withLanguage
public OcrResult withLanguage(String language)
Set the language value.
Parameters:
Returns:
withModelVersion
public OcrResult withModelVersion(String modelVersion)
Set the modelVersion value.
Parameters:
Returns:
withOrientation
public OcrResult withOrientation(String orientation)
Set the orientation value.
Parameters:
Returns:
withRegions
public OcrResult withRegions(List
Set the regions value.
Parameters:
Returns:
withTextAngle
public OcrResult withTextAngle(double textAngle)
Set the textAngle value.
Parameters:
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기