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

Method and system for detecting text selection region deviation of double-layer electronic file

A technology of double-layer electronic documents and detection methods, which is applied in electrical digital data processing, input/output process of data processing, instruments, etc., can solve problems such as poor visual effects, and achieve the effect of improving experience and accurate alignment

Inactive Publication Date: 2011-02-23
FOUNDER INTERNATIONAL CO LTD
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a method and system for detecting the deviation of the text selection area of ​​a double-layer electronic file, so as to solve the problem of poor visual effect of the text selection area of ​​the double-layer electronic file in the prior art

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 system for detecting text selection region deviation of double-layer electronic file
  • Method and system for detecting text selection region deviation of double-layer electronic file
  • Method and system for detecting text selection region deviation of double-layer electronic file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0024] figure 2 is a schematic diagram of main steps of a method for detecting a deviation in a text selection area of ​​a double-layer electronic document according to an embodiment of the present invention. Such as figure 2 As shown, the method includes the following steps S21 to S24.

[0025] Step S21: Obtain the block range of a single character in the text layer of the double-layer electronic file, and obtain the bounding rectangle range of a single glyph image in the image layer of the double-layer electronic file.

[0026] In this step, the following steps can be adopted specifically to obtain the block range of a single character of a double-layer electronic file text layer: obtain the coordinates of a single character of a double-layer electronic file text layer at the text layer; The coordinates are converted into coor...

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 system for detecting text selection region deviation of a double-layer electronic file and aims to solve the problem of poor visual effect of the text selection region of the double-layer electronic file in the prior art. The method comprises the following steps of: acquiring the block range of a single character of a double-layer electronic file text layer and acquiring the external rectangular range of a single character pattern of a double-layer electronic file image layer; calculating the difference between the block range and the external rectangular range corresponding to the same character in a height direction and a width direction; and generating a prompt message when at least one item of difference is more than a preset value. According to the technical scheme of the invention, the derivation state of the text selection region can provide prompt for a user; the user can refer to the derivation state and adjust the font size; the text selection region and the font region in the double-layer electronic file can be aligned accurately; and user experience is improved.

Description

technical field [0001] The invention relates to a method and a system for detecting the deviation of a text selection area of ​​a double-layer electronic file. Background technique [0002] Portable Document Format (PDF) double-layer electronic files, such as books and documents, are PDF files with an image layer and a text layer. The image layer displays the layout of the original book, such as a paper book. Above is a glyph image; the text layer is below the image layer and is not displayed. The text layer contains the electronic version of the document, which is usually obtained by using Optical Character Recognition (OCR). The text of the text layer and the glyph image of the image layer are aligned according to the characters, and the text of the word in the text layer is just below each word of the image layer. [0003] When the user uses the selection tool of the reading software of the double-layer electronic document, because of the above-mentioned alignment relati...

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 Applications(China)
IPC IPC(8): G06F3/048G06F3/0484
Inventor 周长岭赵海涛兰荣春
Owner FOUNDER INTERNATIONAL CO LTD