Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image correction method and apparatus

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: 2016-06-01
XIAOMI INC
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When automatically recognizing rectangular object images or dealing with other problems, it is often encountered that the ROI (RegionOfInterest, region of interest) of the target text is not horizontal, which will have a great impact on character segmentation and subsequent recognition

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 apparatus
  • Image correction method and apparatus
  • Image correction method and apparatus

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 invention relates to an image correction method and apparatus. The method comprises the following steps: obtaining an object area image; when the direction of characters in the object area image is not parallel to an X axis, according to a vertical bisector of the object area image, dividing the object area image into a first subarea image and a second subarea image; obtaining a first projection graph by projecting the first subarea image to a Y axis, and obtaining a second projection graph by projecting the second subarea image to the Y axis; according to the first projection graph and the second projection graph, calculating an included angle between the direction of the characters in the object area image and the X axis; and according to the included angle, rotating the object area image to enable the direction of the characters in the object area image to be parallel to the X axis. According to the technical scheme provided by the invention, the direction of the characters in the object area image is corrected, and character segmentation operation and later identification operation are facilitated.

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 (RegionOfInterest, region of interest) of the target text is not horizontal, which will have a great impact on character segmentation and subsequent recognition. 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 s...

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
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products