![]() |
Aspose.OCR for Python via Java API docs
|
Public Member Functions | |
| __getitem__ (self, index) | |
| __iter__ (self) | |
| __len__ (self) | |
| add_result (self, result) | |
| save (self, str fullFileName, Format format) | |
| Saves the document in the plain text or other document format. | |
| save_pdf (self, str fullFileName, str embeddedFontPath, PdfOptimizationMode optimizePdf) | |
| Save all recognition results into a searchable PDF file, with the original images set as the background. | |
Public Attributes | |
| results | |
| __getitem__ | ( | self, | |
| index | |||
| ) |
| __iter__ | ( | self | ) |
| __len__ | ( | self | ) |
| add_result | ( | self, | |
| result | |||
| ) |
| save | ( | self, | |
| str | fullFileName, | ||
| Format | format | ||
| ) |
Saves the document in the plain text or other document format.
| fullFileName | Filename with a path for saving recognition result. |
| format | Document format enum type of Format. |
| save_pdf | ( | self, | |
| str | fullFileName, | ||
| str | embeddedFontPath, | ||
| PdfOptimizationMode | optimizePdf | ||
| ) |
Save all recognition results into a searchable PDF file, with the original images set as the background.
| fullFileName | Filename with a path for saving recognition result. |
| embeddedFontPath | Full path to the user font. |
| optimizePdf | Reduce the PDF file size by lowering the quality of background images. By default, the original image quality is preserved. |
| results |