Image preprocessing method and device, electronic equipment and readable storage medium

An image preprocessing and image technology, applied in the Internet field, can solve problems such as uneven illumination, poor binarization effect, and inability to obtain gray balance, so as to achieve the effect of improving the binarization effect

Pending Publication Date: 2022-05-27
CHINA MOBILE M2M +1
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides an image preprocessing method, device, electronic equipment and readable storage medium to solve the problem that the area containing only character strokes cannot be effectively segmented due to background interference, and the binarization effect is not good due to uneven illumination, so that it cannot The problem of obtaining an image with gray balance in the same area and a large gray contrast between different areas

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 preprocessing method and device, electronic equipment and readable storage medium
  • Image preprocessing method and device, electronic equipment and readable storage medium
  • Image preprocessing method and device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

[0029] like figure 1 As shown, an embodiment of the present invention provides an image preprocessing method, and the method includes steps S11 to S14.

[0030] In step S11, the original image is converted into a grayscale image.

[0031] In this embodiment of the present invention, when a color camera is used, the original color image should be converted into a grayscale image for subsequent processing. The calculation formula of the commonly used color original imag...

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 provides an image preprocessing method and device, electronic equipment and a readable storage medium. The method comprises the following steps: converting an original image into a grayscale image; performing brightness equalization and contrast improvement processing on the grayscale image to obtain a first image; performing enhancement processing on the first image to obtain a second image; and determining a connected domain corresponding to the character strokes in the second image, and obtaining a character region according to the connected domain. According to the method, an effective character segmentation result is obtained under the working conditions that illumination is not uniform, the background gray level is similar to the character gray level, and the background area is large.

Description

technical field [0001] The present invention relates to the field of Internet technologies, and in particular, to an image preprocessing method, an apparatus, an electronic device, and a readable storage medium. Background technique [0002] With the gradual improvement of factory automation requirements, optical character recognition (OCR) technology based on image preprocessing has been widely used in recent years. OCR usually divides the entire string contained in the picture into individual characters and then recognizes them separately. Therefore, single-character recognition is the basis and key of OCR. However, in addition to characters, the segmented images may also contain backgrounds, which will cause interference and reduce the accuracy of character recognition. In addition, the lighting conditions of the industrial site will also affect the accuracy of the recognition. SUMMARY OF THE INVENTION [0003] The present invention provides an image preprocessing met...

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 Applications(China)
IPC IPC(8): G06V30/148G06V30/16G06V30/162
Inventor 刘子腾陈璠谢剑波齐文杰
Owner CHINA MOBILE M2M
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