| Package | Description |
|---|---|
| com.aspose.ocr |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<SkewOutput> |
AsposeOCR.CalculateSkew(OcrInput input)
Calculates the skew angles of an images.
|
ArrayList<DefectOutput> |
AsposeOCR.DetectDefects(OcrInput input,
DefectType defectType)
Automatically find problematic areas of an image that can significantly impact the accuracy of OCR.
|
ArrayList<LayoutOutput> |
AsposeOCR.DetectDocumentLayout(OcrInput input)
Analyzes the image and identifies the different types of content areas within it.
|
ArrayList<LanguageDetectionOutput> |
AsposeOCR.DetectLanguages(OcrInput input)
Analyzes the text on the image to determine the languages it is written in.
|
ArrayList<RectangleOutput> |
AsposeOCR.DetectRectangles(OcrInput input,
AreasType areasType,
boolean isDetectAreas)
Deprecated.
Will be removed in the release 25.11.0. Use DetectDocumentLayout instead.
|
static void |
Resources.FetchAll()
Download all compatible resources from the online repository.
|
static void |
Resources.FetchResource(String name)
Download the resource specified in the `name` parameter from the online repository.
|
static void |
Resources.FetchResources(String[] names)
Download the resources specified in the `names` parameter from the online repository.
|
static String |
Resources.GetLocalPath()
Return the full path to the directory where the resources will be downloaded.
|
static List<String> |
Resources.ListLocal()
List all Aspose.OCR resources stored in the local directory.
|
static List<String> |
Resources.ListRemote()
List all compatible resources from the online repository.
|
OcrOutput |
AsposeOCR.Recognize(OcrInput input)
Recognizes image with the ability to specify
Supports GIF, PNG, JPEG, WBMP, TIFF, JFIF, TIFF, PDF, InputStream, BufferedImage, folder, array, zip archive, URL, base64.
|
OcrOutput |
AsposeOCR.Recognize(OcrInput input,
RecognitionSettings settings)
Recognizes image with the ability to specify
Supports GIF, PNG, JPEG, WBMP, TIFF, JFIF, TIFF, PDF, InputStream, BufferedImage, folder, array, zip archive, URL, base64.
|
OcrOutput |
AsposeOCR.RecognizeCarPlate(OcrInput input,
CarPlateRecognitionSettings settings)
Recognizes car plate with the ability to specify
Supports GIF, PNG, JPEG, WBMP, TIFF, JFIF, TIFF, PDF, InputStream, BufferedImage, folder, array, zip archive, URL, base64.
|
ArrayList<CharacterRecognitionResult> |
AsposeOCR.RecognizeCharacters(OcrInput input)
Detects symbols on images.
|
ArrayList<CharacterRecognitionResult> |
AsposeOCR.RecognizeCharacters(OcrInput input,
DetectAreasMode detectAreasMode,
Language language)
Detects symbols on images.
|
ArrayList<String> |
AsposeOCR.RecognizeFast(OcrInput input)
Recognizes text on good quality image.
|
OcrOutput |
AsposeOCR.RecognizeHandwrittenText(OcrInput input)
Recognizes handwritten text on images.
|
OcrOutput |
AsposeOCR.RecognizeIDCard(OcrInput input,
IDCardRecognitionSettings settings)
Recognizes ID card with the ability to specify
Supports GIF, PNG, JPEG, WBMP, TIFF, JFIF, TIFF, PDF, InputStream, BufferedImage, folder, array, zip archive, URL, base64.
|
OcrOutput |
AsposeOCR.RecognizeInvoice(OcrInput input,
InvoiceRecognitionSettings settings)
Recognizes invoice with the ability to specify
Supports GIF, PNG, JPEG, WBMP, TIFF, JFIF, TIFF, PDF, InputStream, BufferedImage, folder, array, zip archive, URL, base64.
|
OcrOutput |
AsposeOCR.RecognizePassport(OcrInput input,
PassportRecognitionSettings settings)
Recognizes passport with the ability to specify.
|
OcrOutput |
AsposeOCR.RecognizeReceipt(OcrInput input,
ReceiptRecognitionSettings settings)
Recognizes receipts with the ability to specify
Supports GIF, PNG, JPEG, WBMP, TIFF, JFIF, TIFF, PDF, InputStream, BufferedImage, folder, array, zip archive, URL, base64.
|
static void |
Resources.RemoveLocal(String name)
Removes the locally stored Aspose.OCR resource.
|
static OcrInput |
ImageProcessing.Render(OcrInput images)
Use image processing to improve the accuracy of OCR.
|
static OcrInput |
ImageProcessing.Save(OcrInput images,
String folderPath)
Use image processing to improve the accuracy of OCR.
|
void |
OcrOutput.savePdf(OutputStream stream)
Save all recognition results into an in-memory searchable PDF document, embedding the original images as the background.
|
void |
OcrOutput.savePdf(OutputStream stream,
String embeddedFontPath,
PdfOptimizationMode optimizePdf)
Save all recognition results into an in-memory searchable PDF document, embedding the original images as the background.
|
void |
OcrOutput.savePdf(String fullFileName)
Save all recognition results into a searchable PDF file, with the original images set as the background.
|
void |
OcrOutput.savePdf(String fullFileName,
String embeddedFontPath,
PdfOptimizationMode optimizePdf)
Save all recognition results into a searchable PDF file, with the original images set as the background.
|
static void |
Resources.SetLocalPath(String path,
Boolean create)
Specify an absolute or relative path to the directory where the resources will be downloaded.
|
Copyright © 2025 Aspose. All rights reserved.