Image correction method and device

An image correction and image technology, which is applied in the field of image processing and can solve the problems of character segmentation and recognition, etc.

Active Publication Date: 2019-03-08
XIAOMI INC
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When automatically recognizing a rectangular object image or dealing with other problems, it is often encountered that the ROI (Region Of Interest) of the target text is not horizontal, which will cause great damage to the character segmentation and subsequent recognition. influences

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image correction method and device
  • Image correction method and device
  • Image correction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0070] An embodiment of the present disclosure provides an image correction method, such as figure 1 As shown, the method includes steps S101-S106:

[0071] In step S101, the target area image is obtained; wherein, the target area image can be a region of interest in a rectangular object image, such as the name in the ID card image, address, citizen ID number, etc., or the card number...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present disclosure relates to an image correction method and device, wherein the method includes: acquiring an image of a target area; The area image is divided into a first sub-area image and a second sub-area image; the first sub-area image is projected to the Y axis to obtain a first projection map, and the second sub-area image is projected to the Y axis to obtain a second projection map; according to The first projection diagram and the second projection diagram calculate the angle between the direction of the characters in the target area image and the X axis; rotate the target area image according to the angle so that the direction of the characters in the target area image is parallel to the X axis. Through this technical solution, the direction of the characters in the image of the target area is corrected, which facilitates the character segmentation and subsequent recognition operations.

Description

technical field [0001] The present disclosure relates to the technical field of image processing, and in particular to an image correction method and device. Background technique [0002] When automatically recognizing a rectangular object image or dealing with other problems, it is often encountered that the ROI (Region Of Interest) of the target text is not horizontal, which will cause great damage to the character segmentation and subsequent recognition. influences. Contents of the invention [0003] Embodiments of the present disclosure provide an image correction method and device, including the following technical solutions: [0004] According to a first aspect of an embodiment of the present disclosure, an image correction method is provided, including: [0005] Obtain an image of the target area; [0006] When the direction of the characters in the target area image is not parallel to the X axis, divide the target area image into a first sub-area image and a sec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06K9/32G06K9/34
CPCG06V30/1478G06V30/153
Inventor 龙飞王百超汪平仄
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products