Package | Description |
---|---|
com.aspose.ocr |
Modifier and Type | Method and Description |
---|---|
static PreprocessingFilter |
PreprocessingFilter.AutoDenoising()
Enables the use of an additional neural network to improve the image - reduce noise.
|
static PreprocessingFilter |
PreprocessingFilter.AutoDenoising(Rectangle area)
Enables the use of an additional neural network to improve the part of the image - reduce noise.
|
static PreprocessingFilter |
PreprocessingFilter.AutoSkew()
Enables the automatic image skew correction.
|
static PreprocessingFilter |
PreprocessingFilter.AutoSkew(Rectangle area)
Enables the automatic image part skew correction.
|
static PreprocessingFilter |
PreprocessingFilter.Binarize()
Converts an image to black-and-white image.
|
static PreprocessingFilter |
PreprocessingFilter.Binarize(Rectangle area)
Converts a part of the image to black-and-white image.
|
static PreprocessingFilter |
PreprocessingFilter.BinarizeAndDilate()
Dilation adds pixels to the boundaries of objects in an image.
|
static PreprocessingFilter |
PreprocessingFilter.BinarizeAndDilate(Rectangle area)
Dilation adds pixels to the boundaries of objects in a part of the image.
|
static PreprocessingFilter |
PreprocessingFilter.ContrastCorrection()
Contrast correction filter.
|
static PreprocessingFilter |
PreprocessingFilter.ContrastCorrection(Rectangle area)
Contrast correction filter for the part of the image.
|
static PreprocessingFilter |
PreprocessingFilter.Invert()
Automatically inverts colors in a document image.
|
static PreprocessingFilter |
PreprocessingFilter.Invert(Rectangle area)
Automatically inverts colors in a part of the image.
|
static PreprocessingFilter |
PreprocessingFilter.Median()
The median filter run through each element of the image and replace each pixel with the median of its neighboring pixels.
|
static PreprocessingFilter |
PreprocessingFilter.Median(Rectangle area)
The median filter run through each element of the part of the image and replace each pixel with the median of its neighboring pixels.
|
static PreprocessingFilter |
PreprocessingFilter.Resize(int width,
int height)
Rescale image - Upscale or downscale image resolution.
|
static PreprocessingFilter |
PreprocessingFilter.Resize(int width,
int height,
InterpolationFilterType type)
Rescale image - upscale or downscale image resolution.
|
static PreprocessingFilter |
PreprocessingFilter.Rotate(float angle)
Rotate original image.
|
static PreprocessingFilter |
PreprocessingFilter.Rotate(float angle,
Rectangle area)
Rotate the part of the image.
|
static PreprocessingFilter |
PreprocessingFilter.Scale(float ratio)
Rescale image - Upscale or downscale image resolution.
|
static PreprocessingFilter |
PreprocessingFilter.Scale(float ratio,
InterpolationFilterType type)
Rescale image - Upscale or downscale image resolution.
|
static PreprocessingFilter |
PreprocessingFilter.Threshold(int value)
Create a binary image based on setting a threshold value on the pixel intensity of the original image.
|
static PreprocessingFilter |
PreprocessingFilter.Threshold(int value,
Rectangle area)
Create a binary image part based on setting a threshold value on the pixel intensity of the original image part.
|
static PreprocessingFilter |
PreprocessingFilter.ToGrayscale()
Converts an image to grayscale image.
|
Modifier and Type | Method and Description |
---|---|
void |
PreprocessingFilter.add(PreprocessingFilter filter)
Add the new filter to the collection to further run all operations.
|
BufferedImage |
AsposeOCR.PreprocessImage(BufferedImage image,
PreprocessingFilter filters)
Use image preprocessing to improve the accuracy of OCR.
|
BufferedImage |
AsposeOCR.PreprocessImage(String fullPath,
PreprocessingFilter filters)
Use image preprocessing to improve the accuracy of OCR.
|
void |
ReceiptRecognitionSettings.setPreprocessingFilters(PreprocessingFilter preprocessingFilters)
Allows to prepare the image for OCR by adjusting pre-processing methods.
|
void |
RecognitionSettings.setPreprocessingFilters(PreprocessingFilter preprocessingFilters)
Allows to prepare the image for OCR by adjusting pre-processing methods.
|
Copyright © 2022 Aspose. All rights reserved.