Render

ImageProcessing.Render 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 Render(OcrInput images)
ParameterTypeDescription
imagesOcrInputOcrInput object containing different images OcrInput.

Return Value

OcrInput object containing result processed images in stream field.OcrInput.

See Also