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

Method and device for extracting image text area

A text area and text technology, which is applied in the field of image text area extraction, can solve the problems of low efficiency in the recognition process and complex modeling process, and achieve the effect of avoiding the modeling process and improving processing efficiency

Active Publication Date: 2019-06-07
XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Embodiments of the present invention provide a method and device for extracting image text regions, to at least solve the technical problem in the prior art that recognition of text regions requires a complex modeling process, resulting in low efficiency of the recognition process

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
  • Method and device for extracting image text area
  • Method and device for extracting image text area
  • Method and device for extracting image text area

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present invention, an embodiment of a method for extracting text blocks in an image is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions , and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0031] figure 1 It is a flowchart of a method for extracting text blocks in an image according to an embodiment of the present application, such as figure 1 As shown, the method includes the following steps:

[0032] Step S102, dividing the image to be processed into blocks to obtain multiple macro blocks.

[0033] Specifically, the image to be processed is the image from which the text area is to be extracted, and the image to be processed is divided into multiple macroblocks, and each macro...

Embodiment 2

[0107] According to an embodiment of the present invention, an embodiment of a device for extracting text blocks in an image is provided, image 3 is a schematic diagram of a device for extracting text blocks in an image according to an embodiment of the present application, such as image 3 As shown, the method includes the following steps:

[0108] Blocking module 30, configured to block the image to be processed to obtain multiple macroblocks.

[0109] The transformation module 32 is configured to perform grayscale color transformation on the color value of each pixel in the macroblock to obtain the grayscale value of each pixel.

[0110] A search module 34 is configured to search for text pixels in the macroblock according to the gray value of each pixel.

[0111] The extraction module 36 is used for text pixels, and splicing the text pixels to obtain the text area of ​​the image to be processed.

Embodiment 3

[0113] According to an embodiment of the present invention, a storage medium is provided, which is characterized in that the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for extracting an image text area in Embodiment 1.

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 discloses a method and a device for extracting image text regions. Wherein, the method includes: dividing the image to be processed into blocks to obtain multiple macroblocks; performing grayscale color transformation on the color value of each pixel in the macroblock to obtain the grayscale value of each pixel; The gray value searches for the text pixels in the macro block; the text pixels are extracted, and the text pixels are spliced ​​to obtain the text area of ​​the image to be processed. The invention solves the technical problem in the prior art that the recognition of the character area requires a complicated modeling process, which leads to low efficiency of the recognition process.

Description

technical field [0001] The present invention relates to the field of image processing, in particular to a method and device for extracting image text regions. Background technique [0002] In the field of computer digital image processing, text in images is an important image content. Automatically extracting and recognizing text in images will greatly assist computers in classifying and indexing images, and will also help post-processing of images, such as compression or OCR recognition. [0003] At present, image text segmentation technology can be roughly divided into three categories: connected domain method based on color threshold, method based on statistical model and method based on clustering. [0004] 1. The method based on color thresholding, which usually performs global thresholding or local thresholding on the full-frame image to turn it into a binary image, and then uses spatial correlation to connect the pixels that are connected together. The pixels covere...

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/34G06K9/20
CPCG06V10/22G06V30/153G06V30/10
Inventor 苏睿燕志伟
Owner XIAN WANXIANG ELECTRONICS TECH CO LTD
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