Implementation of Graphics Tilt Correction based on Enhanced Graphic Feature Preprocessing
Yu Cao · 2022 IEEE 10th Joint International Information Technology and Artificial Intelligence Conference (ITAIC) · 2022
Improper placement of pictures or inaccurate shooting angle will cause the angle of graphics in the photos to tilt. In order to pursue the high reliability and high recognition rate for subsequent operations such as feature extraction, graphics matching and character recognition, it is necessary to correct the tilt graphics in the photos in advance. This paper uses opencv library to process the tilt graphics in four steps, that is, enhance the graphic feature preprocessing, edge detection, find the maximum edge contour of the graphics, rotate and correct the graphics, and finally achieve the effect of correcting the graphic. Among them, the calculation the final deflection angle of the minimum circumscribed rotating rectangle of the contour is a key to the success or failure of the overall processing.