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(메모리스트림, 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(메모리 스트림, 스트림, 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,>

 한국어