Class OcrOutput

Class OcrOutput

名称: Aspose.OCR 組み合わせ: Aspose.OCR.dll (25.4.0)

コンテナクラス OCR 作業の結果を保存および管理する。

public class OcrOutput : List<recognitionresult>, IList<recognitionresult>, ICollection<recognitionresult>, IList, ICollection, IReadOnlyList<recognitionresult>, IReadOnlyCollection<recognitionresult>, IEnumerable<recognitionresult>, IEnumerable

Inheritance

object List OcrOutput

Implements

IList , ICollection , IList , ICollection , IReadOnlyList , IReadOnlyCollection , IEnumerable , IEnumerable

相続人

List.Add(RecognitionResult) , List.AddRange(IEnumerable) , List.AsReadOnly() , List.BinarySearch(int, int, RecognitionResult, IComparer?) , List.BinarySearch(RecognitionResult) , List.BinarySearch(RecognitionResult, IComparer?) , List.Clear() , List.Contains(RecognitionResult) , List.ConvertAll(Converter<recognitionresult, toutput="">) , List.CopyTo(RecognitionResult[]) , List.CopyTo(int, RecognitionResult[], int, int) , List.CopyTo(RecognitionResult[], int) , List.EnsureCapacity(int) , List.Exists(Predicate) , List.Find(Predicate) , List.FindAll(Predicate) , List.FindIndex(Predicate) , List.FindIndex(int, Predicate) , List.FindIndex(int, int, Predicate) , List.FindLast(Predicate) , List.FindLastIndex(Predicate) , List.FindLastIndex(int, Predicate) , List.FindLastIndex(int, int, Predicate) , List.ForEach(Action) , List.GetEnumerator() , List.GetRange(int, int) , List.Slice(int, int) , List.IndexOf(RecognitionResult) , List.IndexOf(RecognitionResult, int) , List.IndexOf(RecognitionResult, int, int) , List.Insert(int, RecognitionResult) , List.InsertRange(int, IEnumerable) , List.LastIndexOf(RecognitionResult) , List.LastIndexOf(RecognitionResult, int) , List.LastIndexOf(RecognitionResult, int, int) , List.Remove(RecognitionResult) , List.RemoveAll(Predicate) , List.RemoveAt(int) , List.RemoveRange(int, int) , List.Reverse() , List.Reverse(int, int) , List.Sort() , List.Sort(IComparer?) , List.Sort(int, int, IComparer?) , List.Sort(Comparison) , List.ToArray() , List.TrimExcess() , List.TrueForAll(Predicate) , List.Capacity , List.Count , List.this[int] , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

OcrOutput()

Aspose.OCR.OcrOutput クラスの新しい例を空のコレクションで開始します。この構築者はベースクラスの構築者に Aspose.OCR.RecognitionResult の空のリストを開始するよう呼びかけます。

public OcrOutput()

OcrOutput(IEnumerable<認定結果>, ・OcrInput)

Aspose.OCR.OcrOutput クラスの新しい例を Aspose.OCR.RecognitionResult の特定のコレクションで開始します。この構築機は、提供されたコレクションの要素をコピーすることによって、新しい Aspose.OCR.OcrOutput を作成します。

public OcrOutput(IEnumerable<recognitionresult> collection, OcrInput input)

Parameters

collection IEnumerable < RecognitionResult >

Aspose.OCR.RecognitionResult のコレクションでリストを開始します。

input OcrInput

顧客からの画像データの収集

OcrOutput(インタ)

Aspose.OCR.OcrOutput クラスの新しい例を指定した初期容量で開始します。この構築機は、新しい Aspose.OCR.OcrOutput を作成し、事前に定義された要素の数を割り当て、そのサイズが事前に知られている場合のパフォーマンスを最適化します。

public OcrOutput(int capacity)

Parameters

capacity int

この数字は、リストが再編する前に保持できる要素の最大数を表します。

Methods

AddRange(IEnumerable<認定結果>)

Aspose.OCR.OcrOutput リストの終わりに指定されたコレクションの要素を追加します。この方法は、デフォルト AddRange 行動を超えて、必要に応じて追加の操作を実行します。

public void AddRange(IEnumerable<recognitionresult> collection)

Parameters

collection IEnumerable < RecognitionResult >

Aspose.OCR.RecognitionResult のコレクションを追加します。

Save(ストレッチ、SaveFormat、ストレッチ、PdfOptimizationMode)

すべての認識結果をファイルに保存します。

public void Save(string fullFileName, SaveFormat saveFormat = SaveFormat.Text, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

fullFileName string

フィルネームは、選択したフォーマットで保存認証のためのパスで結果を出します。

saveFormat SaveFormat

ドキュメント形式(Docx、Txt、PDF、Xlsx、Rtf、Json、Xml、Epub)

embeddedFontPath string

選択肢: ユーザーフォントへの完全なルート。

optimizePdf PdfOptimizationMode

背景画像の品質を低下させることによって PDF ファイルサイズを減らします デフォルトでは、オリジナルの画像の品質が保存されます。

Save(メモリストリーム、SaveFormat、ストリーム、PdfOptimizationMode)

すべての認識結果を指定された形式のメモリストリームに保存します。

public void Save(MemoryStream stream, SaveFormat saveFormat = SaveFormat.Text, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

stream MemoryStream

MemoryStream for Saving Recognition は、選択したフォーマットで結果を出します。

saveFormat SaveFormat

ドキュメント形式(Docx、Txt、PDF、Xlsx、Rtf、Json、Xml、Epub)

embeddedFontPath string

選択肢: ユーザーフォントへの完全なルート。

optimizePdf PdfOptimizationMode

背景画像の品質を低下させることによって PDF ファイルサイズを減らします デフォルトでは、オリジナルの画像の品質が保存されます。

SavePdf(ストレッチ、ストレッチ、PdfOptimizationMode)

すべての認識結果を検索可能なPDFファイルに保存し、オリジナルの画像が背景として設定されます。

public void SavePdf(string fullFileName, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

fullFileName string

フィルネームは、選択したフォーマットで保存認証のためのパスで結果を出します。

embeddedFontPath string

選択肢: ユーザーフォントへの完全なルート。

optimizePdf PdfOptimizationMode

背景画像の品質を低下させることによって PDF ファイルサイズを減らします デフォルトでは、オリジナルの画像の品質が保存されます。

SavePdf(メモリストリーム、ストリーム、PdfOptimizationMode)

すべての認識結果をメモリで検索可能なPDFドキュメントに保存し、オリジナルの画像を背景として組み込む。

public void SavePdf(MemoryStream stream, string embeddedFontPath = null, PdfOptimizationMode optimizePdf = PdfOptimizationMode.MAXIMUM_QUALITY)

Parameters

stream MemoryStream

MemoryStream for Saving Recognition は、選択したフォーマットで結果を出します。

embeddedFontPath string

選択肢: ユーザーフォントへの完全なルート。

optimizePdf PdfOptimizationMode

背景画像の品質を低下させることによって PDF ファイルサイズを減らします デフォルトでは、オリジナルの画像の品質が保存されます。</recognitionresult,>

 日本語