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

A method and device for extracting text from an image

A kind of image and graphic technology, applied in the field of image processing, can solve the problems of poor anti-aliasing effect, low display accuracy, and inability to extract non-standard art words and color words, etc., so as to improve the anti-aliasing effect and better Show the effect of the effect

Active Publication Date: 2021-02-09
SHENZHEN LIDING PHOTOELECTRIC TECH
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after the existing graphic engine is separated, new pictures with picture content will have poor anti-aliasing effect, and the display accuracy of new pictures with picture content is not high, which will obviously affect the use of new pictures with picture content effects, and the image extraction methods of the existing graphics and text engines generally cannot support non-standard artistic words and colored words (including gradient colored words and colored words with multiple colors, in which, there can be either a colored word in the picture content There can also be multiple colored characters), so that it is not easy to extract or separate the non-standard artistic characters and colored characters, such as the background color is white, the edge of the font in the foreground is black, and the middle is also white , the extracted foreground may appear fully transparent in the middle

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
  • A method and device for extracting text from an image
  • A method and device for extracting text from an image
  • A method and device for extracting text from an image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0053] Such as figure 1 As shown, a method for extracting pictures and texts in an image according to an embodiment of the present invention includes the following steps:

[0054] Step S101: draw the first picture of three channels according to the preset first picture drawing strategy.

[0055] The first picture is used as a medium for subsequent image and text extraction, and is generated through a preset first picture drawing strategy. The first picture drawing strategy may ...

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 invention relates to the technical field of picture processing, and specifically discloses a method and device for extracting pictures and texts in an image. The method includes: drawing a first picture with three channels according to a preset first picture drawing strategy; drawing a first picture with three channels according to a preset second picture The drawing strategy draws the second picture of three channels; draws the third picture of four channels according to the preset third picture drawing strategy; corresponds the pixels of the first picture, the second picture and the third picture one by one, and compares the pixels of the third picture Each pixel of the image is reset to generate the target image. The invention realizes the extraction of color pictures and texts, generates a target picture with translucency, further improves the anti-aliasing effect of the target picture, and can have a very good display effect when the target picture is superimposed on other pictures or videos; another On the one hand, the present invention is not limited to the extraction of patterns or characters, nor is it limited to the color effect of graphics and texts, and completely reforms the current situation that the prior art can only extract single color graphics and texts.

Description

technical field [0001] The invention relates to the technical field of picture processing, in particular to a method and device for extracting pictures and texts from an image. Background technique [0002] At this stage, the method of directly integrating the picture content with the video or another picture needs to separate the picture content and the picture background from the picture. The picture content refers to the picture and text in the picture, and the picture background refers to the content other than the picture content. . [0003] In the prior art, the image extraction method of the graphic engine is used to separate the image content and the image background, and a new image with the image content is generated from the image content. However, after the existing graphic engine is separated, new pictures with picture content will have poor anti-aliasing effect, and the display accuracy of new pictures with picture content is not high, which will obviously aff...

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): G06T5/50G06T7/33G06T7/194G06T7/90
CPCG06T5/50G06T2207/10024G06T2207/20221G06T7/194G06T7/33G06T7/90
Inventor 何志民宁一铮
Owner SHENZHEN LIDING PHOTOELECTRIC TECH
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