Class ImageProcessing

Class ImageProcessing

Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.1.0)

Aspose OCRライブラリのヘルパークラス。画像を前処理して保存することができます。

public static class ImageProcessing

継承

objectImageProcessing

継承されたメンバー

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

メソッド

Render(OcrInput)

画像処理を使用してOCRの精度を向上させます。
指定した順序で入力画像に適用されるフィルターのリストを作成します。
フィルターを作成する例: PreprocessingFilter filters = new PreprocessingFilter { PreprocessingFilter.Invert(), PreprocessingFilter.Threshold(150), PreprocessingFilter.Binarize(), PreprocessingFilter.Rotate(180), PreprocessingFilter.Resize(3000,3000, Aspose.OCR.Filters.InterpolationFilterType.Box), PreprocessingFilter.Scale(6f), PreprocessingFilter.Dilate() };
すべてのフィルターが必要なわけではありません。必要なものだけを設定してください。

public static OcrInput Render(OcrInput images)

パラメーター

images OcrInput

異なる画像を含むOcrInputオブジェクト Aspose.OCR.OcrInput。

戻り値

OcrInput

ストリームフィールドに処理された画像の結果を含むOcrInputオブジェクト。Aspose.OCR.OcrInput。

Save(OcrInput, string)

画像処理を使用してOCRの精度を向上させます。
指定した順序で入力画像に適用されるフィルターのリストを作成します。
フィルターを作成する例: PreprocessingFilter filters = new PreprocessingFilter { PreprocessingFilter.Invert(), PreprocessingFilter.Threshold(150), PreprocessingFilter.Binarize(), PreprocessingFilter.Rotate(180), PreprocessingFilter.Resize(3000,3000, Aspose.OCR.Filters.InterpolationFilterType.Box), PreprocessingFilter.Scale(6f), PreprocessingFilter.Dilate() };
すべてのフィルターが必要なわけではありません。必要なものだけを設定してください。

public static OcrInput Save(OcrInput images, string folderPath)

パラメーター

images OcrInput

異なる画像を含むOcrInputオブジェクト Aspose.OCR.OcrInput。

folderPath string

処理された画像を保存するための画像名なしのパス。

戻り値

OcrInput

処理された画像の結果を含むOcrInputオブジェクト Aspose.OCR.OcrInput。

 日本語