AsposeOcr.RecognizeImage

RecognizeImage(string)

画像上のテキストを認識します.

public string RecognizeImage(string fullPath)
パラメータタイプ説明
fullPathString画像へのパス。

戻り値

認識されたテキスト。

備考

自動画像スキュー補正とテキスト領域検出を使用します。 GIF、PNG、JPEG、BMP、TIFF、JFIF をサポートします。

関連項目


RecognizeImage(string, RecognitionSettings)

画像上のテキストを認識します.

public RecognitionResult RecognizeImage(string fullPath, RecognitionSettings settings)
パラメータタイプ説明
fullPathString画像へのパス。
settingsRecognitionSettings認識設定。

戻り値

RecognitionResult画像認識結果を持つオブジェクト。

備考

指定可能画像認識RecognitionSettings. GIF、PNG、JPEG、BMP、TIFF、JFIF をサポートします。

関連項目


RecognizeImage(MemoryStream)

画像上のテキストを認識します.

public string RecognizeImage(MemoryStream stream)
パラメータタイプ説明
streamMemoryStreamイメージを含むメモリ ストリーム。

戻り値

認識されたテキスト。

備考

自動画像スキュー補正とテキスト領域検出を使用します。 GIF、PNG、JPEG、BMP、TIFF、JFIF をサポートします。

関連項目


RecognizeImage(MemoryStream, RecognitionSettings)

画像上のテキストを認識します. 指定可能画像認識RecognitionSettings. GIF、PNG、JPEG、BMP、TIFF、JFIF をサポートします。

public RecognitionResult RecognizeImage(MemoryStream stream, RecognitionSettings settings)
パラメータタイプ説明
streamMemoryStreamイメージを含むメモリ ストリーム。
settingsRecognitionSettings認識設定。

戻り値

RecognitionResult画像認識結果を持つオブジェクト。

関連項目


RecognizeImage(byte[], int, int, PixelType, RecognitionSettings)

画像上のテキストを認識します.

public RecognitionResult RecognizeImage(byte[] imageData, int width, int height, 
    PixelType pixelFormat, RecognitionSettings settings = null)
パラメータタイプ説明
imageDataByte[]バイト配列のデコードされたイメージ。 bitsPerPixel > 1 に対して RGB 照明技術を使用します。
widthInt32画像の幅。
heightInt32画像の高さ。
pixelFormatPixelTypeバイト、rgb、bgr、rgba をサポートします。
settingsRecognitionSettings認識設定。

戻り値

RecognitionResult画像認識結果を持つオブジェクト。

備考

指定可能画像認識RecognitionSettings . 行デコードされたバイトデータをサポートします.

関連項目


RecognizeImage(Color[], int, int, RecognitionSettings)

画像上のテキストを認識します.

public RecognitionResult RecognizeImage(Color[] imageData, int width, int height, 
    RecognitionSettings settings = null)
パラメータタイプ説明
imageDataColor[]Aspose.Drawing.Color 配列のデコードされた画像。
widthInt32画像の幅。
heightInt32画像の高さ。
settingsRecognitionSettings認識設定。

戻り値

RecognitionResult画像認識結果を持つオブジェクト。

備考

指定可能画像認識RecognitionSettings . 行デコードされたバイトデータをサポートします.

関連項目