Unlock instant, AI-driven research and patent intelligence for your innovation.

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

A technology for e-books and formatted documents, applied in the computer field, can solve problems such as missing content, wrong text content, uncommon words in mathematical formulas and other content that cannot be correctly recognized, so as to avoid recognition errors or missing content and improve accuracy.

Active Publication Date: 2020-02-28
ZHANGYUE TECH CO LTD
View PDF3 Cites 0 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, electronic equipment and computer storage medium based on electronic book
  • Typesetting method, electronic equipment and computer storage medium based on electronic book
  • Typesetting method, electronic equipment and computer storage medium based on electronic book

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, it can be divided by various methods such as horizontal projection. For each text line, the spatial position relationship among the characters included in the text line is acquire...

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, an electronic device and a computer storage medium. The method includes: dividing the typesetting area contained in the typesetting document into a plurality of text lines, and for each text line, Acquiring the spatial positional relationship between the characters contained in the text line; identifying the target character group contained in the text line according to the spatial positional relationship between the various characters; Determine it as the target area, and obtain the inline image element corresponding to the target area; typesetting the inline image element to a typesetting position corresponding to the target character group contained in the text line in the streaming document. This method can retain all the content of the target character group, avoid recognition errors or missing content, and improve the accuracy of typesetting results.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F40/189G06T11/60
CPCG06T11/60G06F40/189
Inventor 张恒李铭瀚
Owner ZHANGYUE TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More