Method, device and equipment for positioning characters in cartoon bubbles and readable storage medium

A positioning method and text technology, applied in character and pattern recognition, image data processing, instruments, etc., can solve the problems of original text position information and backfill position limitations, high text positioning error rate, and achieve cultural exchanges and good reading experience. , the effect of improving the accuracy

A positioning method and text technology, applied in character and pattern recognition, image data processing, instruments, etc., can solve the problems of original text position information and backfill position limitations, high text positioning error rate, and achieve cultural exchanges and good reading experience. , the effect of improving the accuracy

CN111444903AActive Publication Date: 2020-07-24XI AN JIAOTONG UNIV

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and equipment for positioning characters in cartoon bubbles and readable storage medium
  • Method, device and equipment for positioning characters in cartoon bubbles and readable storage medium
  • Method, device and equipment for positioning characters in cartoon bubbles and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0068] Since the acquired digital comic image is a color image, in order to facilitate automatic processing, we need to preprocess it so that it can meet the requirements of subsequent image processing algorithms. The main implementation methods are as follows:

[0069] 2.1. Convert color digital comic images to grayscale images.

[0070] Since the acquired color digital comic images are all three-channel RGB images, this method uses the formula (1) to combine the three channel values ​​of the RGB image into one channel according to the preset weighting ratio, and convert it into a single channel grayscale image.

[0071] Gray=0.299×R+0.587×G+0.114×B (1)

[0072] Among them, Gray is the gray value of the pixel corresponding to the generated gray image, and R, G, and B are the values ​​of the three channels of a certain pixel in the image.

[0073] 2.2. Binarize the grayscale image to obtain the binary image of the original digital comic image.

[0074] The grayscale image ...

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 belongs to the technical field of digital image processing, and discloses a method, device and equipment for positioning characters in cartoon bubbles, and a readable storage medium. Themethod comprises the steps: obtaining a digital cartoon image, sequentially carrying out the gray scale and binarization processing, and carrying out the contour detection of a binary image to obtaina contour set; extracting a bubble set and a character set from the interior of the contour set according to the relationship hierarchy of the contours; removing interference contours in the character set according to the contour area, then collecting the circumscribed rectangle set of each remaining contour in the character set, removing the interference circumscribed rectangle in the initial character rectangular set according to the background color around the circumscribed rectangle, and establishing the mapping relation between the circumscribed rectangles in the character rectangular set and the contours in the bubble set; and expanding each circumscribed rectangle in the text rectangular set, and storing the position information of the expanded circumscribed rectangles. Position information can be provided for character backfilling, the backfilling effect can be improved by optimizing the character position, and better reading experience is provided for a cartoon reader.

Description

technical field [0001] The invention belongs to the technical field of digital image processing, and relates to a character positioning method, device, equipment and readable storage medium in comic bubbles. Background technique [0002] With the continuous expansion of the comics industry and the continuous strengthening of globalization, the speed and scope of manual translation of comics have been difficult to meet the needs of comic readers. In addition, with the continuous improvement of the level of domestic comics, it is imminent to realize cultural output through comics. As we all know, traditional manga translation requires a series of manual translation, whitewashing, embedding, adjustment of text content, font size, font, etc., each of which is very complicated, time-consuming and labor-intensive, and requires a large number of professionals to ensure the translation accurate and beautiful. Even so, it is difficult for the dubbing of comics to cover all kinds of...

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
24 Jul 2020
Publication
CN111444903A
IPC
G06K9/20; G06K9/38; G06T7/13; G06T7/136; G06T5/30
CPC
G06T7/13; G06T7/136; G06T5/30; G06T2207/10024; G06V10/22; G06V10/28
Inventors
钱屹; 尚海星