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(int)

เริ่มต้นตัวอย่างใหม่ของคลาส 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

ตัวเลือก. เส้นทางเต็มไปสู่ font user.

optimizePdf PdfOptimizationMode

ลดขนาดไฟล์ PDF โดยลดคุณภาพของภาพพื้นหลัง โดย default คุณภาพภาพเดิมจะยังคงอยู่

Save(MemoryStream, SaveFormat, string, 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

ตัวเลือก. เส้นทางเต็มไปสู่ font user.

optimizePdf PdfOptimizationMode

ลดขนาดไฟล์ PDF โดยลดคุณภาพของภาพพื้นหลัง โดย default คุณภาพภาพเดิมจะยังคงอยู่

SavePdf(ลวด, ลวด, PdfOptimizationMode)

การบันทึกผลการรับรู้ทั้งหมดลงในไฟล์ PDF ที่สามารถค้นหาได้พร้อมกับภาพเดิมที่กําหนดไว้เป็นพื้นหลัง

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

Parameters

fullFileName string

ชื่อไฟล์ที่มีเส้นทางเพื่อบันทึกการรับรู้ผลในรูปแบบที่เลือก

embeddedFontPath string

ตัวเลือก. เส้นทางเต็มไปสู่ font user.

optimizePdf PdfOptimizationMode

ลดขนาดไฟล์ PDF โดยลดคุณภาพของภาพพื้นหลัง โดย default คุณภาพภาพเดิมจะยังคงอยู่

SavePdf(MemoryStream, string, PdfOptimizationMode)

เก็บผลการรับรู้ทั้งหมดลงในเอกสาร PDF ที่สามารถค้นหาได้ในหน่วยความจํา รวมภาพเดิมเป็นพื้นหลัง

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

Parameters

stream MemoryStream

MemoryStream สําหรับการบันทึกการรับรู้ผลในรูปแบบที่เลือก

embeddedFontPath string

ตัวเลือก. เส้นทางเต็มไปสู่ font user.

optimizePdf PdfOptimizationMode

ลดขนาดไฟล์ PDF โดยลดคุณภาพของภาพพื้นหลัง โดย default คุณภาพภาพเดิมจะยังคงอยู่</recognitionresult,>

 แบบไทย