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

Typesetting method based on electronic book, electronic equipment and computer storage medium

A technology for e-books and layout documents, which is applied in the computer field and can solve problems such as missing content, text error content, and mathematical formulas, etc.

Active Publication Date: 2019-07-30
ZHANGYUE TECH CO LTD
View PDF3 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the process of realizing the present invention, the inventors found that the above-mentioned solutions in the prior art have at least the following defects: due to the differences between different document formats, the conventional text recognition method is easy to cause some mathematical formulas, special symbols, etc. , or rare words and other content cannot be correctly recognized, so that the final typesetting text contains wrong content, and sometimes even part of the content is missing

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
  • Typesetting method based on electronic book, electronic equipment and computer storage medium
  • Typesetting method based on electronic book, electronic equipment and computer storage medium
  • Typesetting method based on electronic book, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 A flow chart of an e-book-based typesetting method provided by an embodiment of the present invention is shown. like figure 1 As shown, the method includes the following steps:

[0030] Step S110: Divide the area to be typeset included in the layout document to be typeset into multiple text lines, and for each text line, obtain the spatial positional relationship between the characters contained in the text line.

[0031] Wherein, the layout document to be typeset is the e-book to be typeset, which may be in PDF format or other various formats. The area to be typeset can default to the entire display content of the current page, or can be customized by the user, which is not limited in the present invention.

[0032] When the area to be typeset is divided into multiple text lines, various methods such as horizontal projection can be used for division. For each text line, the spatial position relationship among the characters included in the text line is acq...

Embodiment 2

[0041] figure 2 A flow chart of an e-book-based typesetting method provided by another embodiment of the present invention is shown. In this embodiment, the method can be applied to various applications such as e-book editing software. like figure 2 As shown, the method includes the following steps:

[0042] Step S200: According to the received inline image recognition instruction, determine the area to be typeset included in the layout document to be typeset.

[0043] Among them, the inline graph recognition command can be triggered by a preset trigger action or trigger button, and before triggering the inline graph recognition command, the region to be typeset can be selected in advance by frame-selecting the text range, so that the subsequent steps are uniform. It is implemented for the area to be typeset selected by the user.

[0044] In addition, this step is an optional step. Through this step, the user who uses the e-book editing software can determine the area t...

Embodiment 3

[0074] An embodiment of the present application provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the e-book-based typesetting method in any of the above method embodiments.

[0075] The executable instructions can specifically be used to make the processor perform the following operations:

[0076] Dividing the area to be typeset included in the layout document to be typeset into multiple text lines, and for each text line, respectively, obtaining the spatial positional relationship between the characters contained in the text line;

[0077] Identifying the target character group contained in the text line according to the spatial position relationship between the characters;

[0078] Determining the area corresponding to the target character group as the target area, and obtaining the inline picture element corresponding to the target area;

[0079] Typ...

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 typesetting method based on an electronic book, electronic equipment and a computer storage medium, and the method comprises the steps: dividing a to-be-typeset region contained in a to-be-typeset format document into a plurality of character rows, and obtaining a spatial position relationship among characters contained in each character row for each character row; according to the spatial position relationship among the characters, identifying a target character group contained in the character row; determining an area corresponding to the target character group as atarget area, and obtaining in-line picture elements corresponding to the target area; and typesetting the in-line picture elements to typesetting positions, corresponding to the target character groups contained in the character lines, in a streaming document. According to the method, all contents of the target character set can be reserved, the phenomenon of recognition errors or content loss isavoided, and the accuracy of the typesetting result is improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a typesetting method based on electronic books, electronic equipment and computer storage media. Background technique [0002] In the process of typesetting e-books, it is necessary to identify the original e-books for layout typesetting, and realize typesetting with custom effects through flow typesetting according to the recognition results. Among them, the original manuscript of the e-book is usually in a non-editable format such as PDF. In the process of recognizing the original manuscript of the e-book, each word and character in the manuscript is usually automatically recognized by means of character recognition, and then typesetting is performed according to the recognition result. [0003] However, in the process of realizing the present invention, the inventor found that the above-mentioned solutions in the prior art have at least the following defects: due to the differences b...

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): G06F17/25G06T11/60G06F40/189
CPCG06T11/60G06F40/189
Inventor 张恒李铭瀚
Owner ZHANGYUE 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