Image correction method and device, server and storage medium

The embodiment of the invention discloses an image correction method and device, a server and a storage medium, and the method comprises the steps: carrying out the preprocessing of an initial image to be subjected to bar code recognition, and obtaining a first image corresponding to a to-be-correct...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUANG ZEWU, JIANG SHENGPEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses an image correction method and device, a server and a storage medium, and the method comprises the steps: carrying out the preprocessing of an initial image to be subjected to bar code recognition, and obtaining a first image corresponding to a to-be-corrected bar code recognition region; cutting the first image to obtain a second image; segmenting the second image into a preset number of sub-images; calculating according to the plurality of sub-images to obtain a target angle needing to be rotated for the first image correction; and rotating the first image according to the target angle to obtain a corrected third image. According to the image correction method provided by the embodiment of the invention, an area with relatively large deformation in the initial image is cut off, errors are reduced, the target angle of the initial image needing to be rotated is obtained by utilizing the gravity center of the image, calculation is simple, the precision is relatively hi