Save
ImageProcessing.Save method
Use image processing to improve the accuracy of OCR. Create a list of filters that will be applied to the input image in the order you specify. Example to create filters: PreprocessingFilter filters = new PreprocessingFilter { PreprocessingFilter.Invert(), PreprocessingFilter.Threshold(150), PreprocessingFilter.Binarize(), PreprocessingFilter.Rotate(180), PreprocessingFilter.Resize(3000,3000, Aspose.OCR.Filters.InterpolationFilterType.Box), PreprocessingFilter.Scale(6f), PreprocessingFilter.Dilate() }; You don’t need all of them. Set only what you need.
public static OcrInput Save(OcrInput images, string folderPath)
Parameter | Type | Description |
---|---|---|
images | OcrInput | OcrInput object containing different images OcrInput . |
folderPath | String | Path without image names for saving processed images. |
Return Value
OcrInput object containing result processed images OcrInput
.
See Also
- class OcrInput
- class ImageProcessing
- namespace Aspose.OCR
- assembly Aspose.OCR