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(إحصائيات > إحصائيات>أوكروينبت)

يبدأ مثالًا جديدًا من فئة Aspose.OCR.OcrOutput مع مجموعة محددة من Aspose.OCR.RecognitionResult.هذا المصمم يخلق Aspose.OCR.OcrOutput الجديد عن طريق نسخ العناصر من المجموعة المقدمة.

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

Parameters

collection IEnumerable &lt؛ RecognitionResult >

جمع Aspose.OCR.RecognitionResult لإطلاق القائمة مع.

input OcrInput

جمع الصور البيانات من العميل.

OcrOutput(إنت)

يبدأ مثالًا جديدًا من فئة Aspose.OCR.OcrOutput مع قدرة أولية محددة.هذا المصنع يخلق Aspose.OCR.OcrOutput الجديد مع عدد محدد من العناصر المخصصة، وتحسين الأداء عندما يكون الحجم معروفًا مسبقًا.

public OcrOutput(int capacity)

Parameters

capacity int

هذا الرقم يمثل الحد الأقصى لعدد العناصر التي يمكن أن يحتفظ بها القائمة قبل إعادة التدوير.

Methods

AddRange(إحصائيات > إحصائيات>)

يضيف عناصر المجموعة المحددة إلى نهاية قائمة Aspose.OCR.OcrOutput.هذه الطريقة تتجاوز السلوك الافتراضي AddRange لتنفيذ العمليات الإضافية، إذا لزم الأمر.

public void AddRange(IEnumerable<recognitionresult> collection)

Parameters

collection IEnumerable &lt؛ 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(MemoryStream, SaveFormat, شريط, PdfOptimizationMode)

حفظ جميع نتائج التعرف على تدفق الذاكرة في النموذج المحدد.

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

Parameters

stream MemoryStream

MemoryStream لتوفير التعرف على النتيجة في النموذج المحدد.

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(MemoryStream، شريط، PdfOptimizationMode)

حفظ جميع نتائج التعرف في وثيقة PDF قابلة للبحث في الذاكرة، وإدراج الصور الأصلية كخلفية.

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

Parameters

stream MemoryStream

MemoryStream لتوفير التعرف على النتيجة في النموذج المحدد.

embeddedFontPath string

اختياري.الطريق الكامل إلى الخط المستخدم.

optimizePdf PdfOptimizationMode

تخفيض حجم ملف PDF عن طريق تخفيض جودة الصور الخلفية.بشكل افتراضي، يتم الحفاظ على جودة الصورة الأصلية.</recognitionresult,>

 عربي