Image processing method, image processing device, electronic device and storage medium
Abstract:
An image processing method, an image processing device, an electronic device, and a storage medium are provided. The image processing method includes: obtaining an input image, wherein the input image includes M character rows; performing global correction processing on the input image to obtain an intermediate corrected image; determining the M character row lower boundaries; determining the relative offset of all pixels in the intermediate corrected image according to the M character row lower boundaries, the first image boundary and the second image boundary of the intermediate corrected image; determining the local adjustment offset of all pixels in the intermediate corrected image according to the relative offsets of all pixels in the intermediate corrected image; and performing local adjustment on the intermediate corrected image according to the local adjustment offsets of all pixels in the intermediate corrected image to obtain the target corrected image.
Information query
Patent Agency Ranking
0/0