C# 클래스 AzureSearchOCR.VisionHelper

The class is used to access vision APIs.
파일 보기 프로젝트 열기: liamca/AzureSearchOCR

공개 메소드들

메소드 설명
GetRetrieveText ( OcrResults results ) : string

Retrieve text from the given OCR results object.

RecognizeText ( string imagePathOrUrl, bool detectOrientation = true, string languageCode = LanguageCodes.AutoDetect ) : OcrResults

Recognize text from given image.

VisionHelper ( string subscriptionKey ) : System

Initializes a new instance of the VisionHelper class.

비공개 메소드들

메소드 설명
ShowError ( string errorMessage ) : void

Show error message.

ShowInfo ( string workStr ) : void

Show the working item.

ShowResult ( string resultMessage ) : void

Show result message.

메소드 상세

GetRetrieveText() 공개 메소드

Retrieve text from the given OCR results object.
public GetRetrieveText ( OcrResults results ) : string
results OcrResults The OCR results.
리턴 string

RecognizeText() 공개 메소드

Recognize text from given image.
public RecognizeText ( string imagePathOrUrl, bool detectOrientation = true, string languageCode = LanguageCodes.AutoDetect ) : OcrResults
imagePathOrUrl string The image path or url.
detectOrientation bool if set to true [detect orientation].
languageCode string The language code.
리턴 OcrResults

VisionHelper() 공개 메소드

Initializes a new instance of the VisionHelper class.
public VisionHelper ( string subscriptionKey ) : System
subscriptionKey string The subscription key.
리턴 System