CN110795918A - Method, device and equipment for determining reading position - Google Patents

Method, device and equipment for determining reading position Download PDF

Info

Publication number
CN110795918A
CN110795918A CN201810782149.8A CN201810782149A CN110795918A CN 110795918 A CN110795918 A CN 110795918A CN 201810782149 A CN201810782149 A CN 201810782149A CN 110795918 A CN110795918 A CN 110795918A
Authority
CN
China
Prior art keywords
recognized
character
book
determining
acquiring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810782149.8A
Other languages
Chinese (zh)
Other versions
CN110795918B (en
Inventor
刘晓洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201810782149.8A priority Critical patent/CN110795918B/en
Publication of CN110795918A publication Critical patent/CN110795918A/en
Application granted granted Critical
Publication of CN110795918B publication Critical patent/CN110795918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

The invention provides a method, a device and equipment for determining a reading position. The method comprises the following steps: receiving an identification instruction, and acquiring image information of a book to be identified according to the identification instruction; acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm; and determining a target page in the electronic book according to the character to be recognized. According to the scheme for determining the reading position, the position of the electronic book corresponding to the paper book to be recognized can be determined according to the book information of the paper book to be recognized, and then after the paper book is read by a user, when the electronic book of the same book is read, the position of suspending reading can be determined in the electronic book in a mode of recognizing the paper book without reading the electronic book by memory.

Description

Method, device and equipment for determining reading position
Technical Field
The present invention relates to electronic book technologies, and in particular, to a method, an apparatus, and a device for determining a reading position.
Background
Reading enables the user to gain more knowledge while enriching the user's mental world. Therefore, in the life of the rapid development of the internet, there are still a large number of users who choose to read books.
In the prior art, reading modes are more, for example, reading a traditional paper book and reading an electronic book. Because the electronic book can be stored in the portable electronic device, such as a mobile phone, an electronic paper book, etc., the electronic book is more portable than a paper book. And paper books can bring better reading experience to users compared with electronic books, so some users can choose to watch paper books when at home.
The inventor finds that according to different reading occasions, the requirement that the user reads the same book in different ways in different occasions may exist. For example, reading a paper book at home and an electronic book when out. When a user reads an electronic book after reading a paper book, the user needs to search for a paragraph which is suspended from reading by memory, which causes the problem of low reading efficiency of the user and poor reading experience.
Disclosure of Invention
The invention provides a method, a device and equipment for determining a reading position, and aims to solve the problems that in the prior art, when a user reads an electronic book after reading a paper book, the user needs to search for a paragraph for which reading is suspended by memory, so that the reading efficiency of the user is low, and the reading experience is poor.
In a first aspect, the present invention provides a method for determining reading position, comprising:
receiving an identification instruction, and acquiring book information to be identified according to the identification instruction;
acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm;
and determining a target page in the electronic book according to the character to be recognized.
Another aspect of the present invention provides an apparatus for determining a reading position, comprising:
the receiving module is used for receiving the identification instruction and acquiring the information of the book to be identified according to the identification instruction;
the character determining module is used for acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm;
and the page determining module is used for determining a target page in the electronic book according to the character to be recognized.
Yet another aspect of the present invention provides an apparatus for determining a reading position, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of determining a reading position as described in the first aspect above.
The method, the device and the equipment for determining the reading position have the technical effects that:
the invention provides a method, a device and equipment for determining reading position, which comprises the steps of receiving an identification instruction, and acquiring information of a book to be identified according to the identification instruction; acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm; and determining a target page in the electronic book according to the character to be recognized. According to the scheme for determining the reading position, the position of the electronic book corresponding to the information of the paper book to be recognized can be determined according to the information of the paper book to be recognized, and then when a user reads the electronic book of the same book after reading the paper book, the position of suspending reading can be determined in the electronic book in a mode of recognizing the paper book without reading the electronic book by memory.
Drawings
FIG. 1 is a flow chart illustrating a method of determining a reading position in accordance with an exemplary embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method of determining a reading position in accordance with another exemplary embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method of determining a reading position in accordance with yet another exemplary embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for determining whether a target page can be determined in an electronic book according to a character to be recognized according to an exemplary embodiment of the invention;
FIG. 5 is a flowchart illustrating a method of determining a reading position in accordance with another exemplary embodiment of the present invention;
FIG. 6 is a block diagram illustrating an apparatus for determining a reading position according to an exemplary embodiment of the present invention;
fig. 7 is a block diagram illustrating an apparatus for determining a reading position according to another exemplary embodiment of the present invention.
Detailed Description
Fig. 1 is a flowchart illustrating a method of determining a reading position according to an exemplary embodiment of the present invention.
As shown in fig. 1, the present embodiment provides a method for determining a reading position, including:
step 101, receiving an identification instruction, and acquiring book information to be identified according to the identification instruction.
The method provided by the embodiment can be executed by a user terminal for reading an electronic book, such as a mobile phone, a computer, a tablet computer, an electronic paper book, and the like. The identification instruction may be sent by the user to the user terminal to enable the user terminal to receive the identification instruction. The method for sending the recognition instruction may be various, for example, the user may select a function of recognizing a paper book in the user terminal, the user may select a function of scanning in the user terminal, or the user may input the recognition instruction in a voice manner, for example, the user speaks a password such as "scan", "scan a paper book", or "record" to the user terminal, and the terminal may recognize the voice password and further recognize whether the voice password is the recognition instruction.
Specifically, the type of the recognition instruction may include an image recognition instruction and a voice recognition instruction. For example, buttons for image recognition and voice recognition may be displayed on the terminal display interface, and the user may trigger the recognition instruction by clicking the buttons. After receiving the identification instruction, the user terminal can acquire the book information to be identified according to the identification instruction. For example, if the user inputs an image recognition instruction, the user terminal starts the function of acquiring the image, and if the user inputs a voice recognition instruction, the user terminal starts the function of acquiring the voice content, so as to acquire the information of the book to be recognized.
If the user inputs an image recognition instruction, the image information of the book to be recognized can be acquired in various modes such as photographing, scanning and uploading pictures. If the user inputs a voice recognition instruction, the audio content of the book to be recognized can be acquired in a recording and audio uploading mode.
And 102, acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm.
The method includes the steps that corresponding preset algorithms can be set according to different recognition instructions, for example, when the recognition instructions are image recognition instructions, information of books to be recognized is processed according to the image recognition algorithms, and therefore characters to be recognized are obtained; and if the recognition instruction is a voice recognition instruction, processing the book information to be recognized according to a voice recognition algorithm so as to obtain the characters to be recognized included in the book information.
And 103, determining a target page in the electronic book according to the character to be recognized.
The method includes the steps of obtaining sentences to be recognized by connecting characters to be recognized according to the position relation of the characters to be recognized, searching the sentences to be recognized in the electronic book, and determining a target page where the characters to be recognized are located. In addition, when the character to be recognized is determined, some characters to be recognized are not clear due to the fact that the information of the book to be recognized is not clear enough, and the character to be recognized at the position can be replaced by a blank space.
Further, when the recognition instruction is an image recognition instruction, since the acquired image information may only include a part of the paper book, for example, the image information is a middle part of the paper book, each line of characters in the image information is less than each line of characters in the paper book. At this time, in this embodiment, each line of the text to be recognized may also be determined according to the position relationship of the characters to be recognized in the image information, and then each line of the text to be recognized is spliced together to obtain the sentence to be recognized in each line. The terminal can search each line of sentences to be recognized in the electronic book and take the page simultaneously comprising the sentences to be recognized as a target page. If the page including each line of the statement to be recognized does not exist, the page including the maximum number of lines of the statement to be recognized can be used as the target page.
In practical application, when the recognition instruction is a voice recognition instruction, book information recorded by a user is generally continuous, so that the obtained characters to be recognized can be connected to form a sentence, and a target page is determined in the electronic book based on the sentence.
In practical application, because the layouts of the electronic book and the paper book are different, the image information of the book to be recognized may span multiple pages of the electronic book, for example, the content of the image information is on the second page and the third page of the electronic book, and at this time, the page with the top page number may be used as the target page. In addition, the acquired image information can be displayed in the terminal, and page information of version information of each part of the paper book can be marked in the terminal. For example, a portion of the image information may be boxed and marked on a second page of the electronic book, another portion of the image information may be boxed and marked on a third page of the electronic book. The user can operate the terminal to select one part of the pages, and the terminal takes the page corresponding to the part selected by the user as a target page.
And when the character to be recognized is determined, punctuation marks included in the character to be recognized are removed, when a target page is determined in the electronic book, punctuation marks in the electronic book are also removed, and the target page is determined only according to the character to be recognized in the information of the book to be recognized and the character information in the electronic book.
After determining the target page, the method provided by this embodiment further includes: and jumping to a target page of the electronic book. So that the user can continue reading the book.
The method provided by the embodiment is used for determining the reading position in a paper book in an electronic book, and is executed by a device storing the method provided by the embodiment, wherein the device is generally realized in a hardware and/or software manner.
The method for determining the reading position comprises the steps of receiving an identification instruction, and acquiring information of a book to be identified according to the identification instruction; acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm; and determining a target page in the electronic book according to the character to be recognized. In the scheme for determining the reading position provided by this embodiment, the position of the electronic book corresponding to the paper book to be recognized can be determined according to the information of the paper book to be recognized, and then after the user reads the paper book, when the user reads the electronic book of the same book, the position of suspending reading can be determined in the electronic book in a manner of recognizing the paper book, and the user does not need to remember to turn over the electronic book.
Fig. 2 is a flowchart illustrating a method of determining a reading position according to another exemplary embodiment of the present invention.
As shown in fig. 2, the present embodiment provides a method for determining a reading position, including:
step 201, receiving an image recognition instruction, and acquiring image information of a book to be recognized according to the image recognition instruction.
After receiving the image recognition instruction, the user terminal can acquire the image information of the book to be recognized.
In an embodiment, the user terminal may turn on a camera module of the terminal after receiving the image recognition instruction, and the user may move the terminal so that the camera module is aligned with the book to be recognized, and at this time, the terminal may obtain image information of the book to be recognized. After the camera module of the terminal is aligned with the book, the terminal can be operated by a user to trigger the photographing function of the terminal, namely, the terminal photographs the book to be recognized, and then image information is obtained. And after the camera module of the terminal is started, the terminal scans the graph acquired by the camera module and judges whether the image information comprises character information, and if so, the acquired image information is processed. And then, after the camera module aligns to the book, the terminal detects that the image information acquired by the camera module comprises character information, and then automatically processes the currently acquired image information. In such a real-time manner, the image recognition instruction may be photographing, scanning, or the like.
In another embodiment, a user can upload pictures, so that the terminal can acquire image information of a book to be recognized. And after receiving the image identification instruction, the user terminal starts the album function of the terminal. A user can select a book picture shot in advance in the album, and the terminal processes the book picture to acquire image information in the book picture. In such an embodiment, the image recognition instruction may be to upload a picture, open an album, or the like.
Fig. 3 is a flowchart illustrating a method of determining a reading position according to still another exemplary embodiment of the present invention. As shown in fig. 3, the acquiring of the image information of the book to be recognized according to the image recognition instruction in step 201 may further include:
step 2011, the camera module is started according to the image recognition instruction, and the image is obtained through the camera module.
After the terminal receives the image recognition instruction, the camera module of the terminal can be started. The camera module is a module component which is arranged on the terminal and used for acquiring images. The terminal can obtain the image through the camera module.
Specifically, the terminal sends the opening instruction to the camera module, and then opens the camera module.
Furthermore, after the camera module is started, the acquired image is the image aligned by the camera module. The user can move the terminal, and the camera module is aligned to the paper books to be recognized.
Step 2012, receiving a selection instruction for selecting a position in the image, and determining image information of the book to be recognized according to the selection instruction.
Further, a selection control may be displayed in a screen of the terminal, and the user may send an instruction to operate the selection control, so that the selection control can select a part of the image information and use the part selected by the selection control as the image information of the book to be recognized.
In practical application, a touch track of a user operating the touch screen can be obtained, and the position and/or size of the selection control can be determined according to the touch track.
When the user operates the selection control, the selection control can be operated in a mode of touching a terminal screen. The terminal can detect the position of the user touching the screen and the moving direction of the touch track, and determine the position and/or size of the selection control according to the touch track. For example, the user may select one end of the selection control and move a finger, and then may adjust the position of the end point of the selection control, and may also select the entire selection control and move the finger, and then may move the position of the entire selection control.
Specifically, the selection control may be displayed in the terminal in various forms, such as a text box, an underline, and the like.
Further, the part of the selection control selected in the image may be determined as the image information of the book to be recognized. For example, if the selection control is a text box, the content selected in the text box may be the image information to be recognized, and if the selection control is an underline, the content corresponding to the underline may be the image information to be recognized.
In practical application, because the image obtained by the camera module may contain more contents, for example, the obtained image contains contents of two pages of a book, at this time, if the image is directly processed, the calculation amount is large, and the contents are more, and the accuracy of the recognition is reduced, therefore, a part of the contents can be selected as the image information of the book to be recognized through the operation of the user, so that the recognition accuracy is higher, and the recognition speed can be increased.
Step 202, acquiring characters to be recognized with a preset threshold number from the image information.
Wherein, a threshold value can be preset, and a threshold number of characters to be recognized can be obtained in the image information. For example, the preset threshold may be set to 20, 30, etc., and the size of the preset threshold may be set according to actual requirements.
Specifically, the character to be recognized may be acquired according to a preset threshold.
Further, a preset threshold number of characters to be recognized may be randomly obtained from the image information, for example, the characters to be recognized may be randomly selected at positions such as the upper left corner and the upper right corner of the image until the number of characters reaches the preset threshold. The continuous characters to be recognized can also be acquired from the image information, for example, the acquisition can be started from the first character appearing at the upper left corner of the image information until the preset threshold number of characters to be recognized are acquired; the starting position of a paragraph in the image can be judged, and the character to be recognized is obtained from the starting position of the paragraph.
Step 203, judging whether a target page can be determined in the electronic book according to the character to be recognized.
Furthermore, the acquired characters to be recognized can be processed, and whether the target page can be determined according to the characters is judged. If yes, executing step 204, and if not, continuing to execute step 202 until the font to be recognized of the target page can be determined is obtained.
If the target page can be determined according to the acquired characters to be recognized, step 204 is executed, otherwise, the preset threshold number of characters to be recognized are continuously acquired from the image information. The character to be recognized acquired this time may be completely different from the character to be recognized acquired last time, or may be partially different. The character of the preset threshold may be continuously acquired in a portion subsequent to the character acquired last time, and at this time, the character acquired this time may be considered to be completely different from the character acquired last time. It is also possible to obtain N characters in the part after the last obtained character, and eliminate the first N characters of the first obtained character to be recognized, and the step 205 is executed by the remaining characters and the newly obtained N characters together. For example, if the preset threshold is 20, 20 characters are acquired for the first time, and if the target page cannot be determined according to the 20 characters, 5 characters are acquired again, and step 205 is executed according to the last 15 characters acquired for the first time and the newly acquired 5 characters.
And step 204, determining a target page in the electronic book according to the character to be recognized.
The specific principle and implementation of step 204 are similar to those of step 103, and are not described herein again.
Fig. 4 is a flowchart illustrating a process of determining whether a target page can be determined in an electronic book according to a character to be recognized according to an exemplary embodiment of the present invention.
As shown in fig. 4, step 203 further comprises:
step 2031, determining the character outline according to the character to be recognized.
The outline shape of the character to be recognized can be preliminarily determined by adopting an image recognition method, and the character to be recognized does not need to be accurately judged.
Step 2032, determine if the character outline includes a preset character outline.
Wherein, a character outline including but not limited to a chapter number can be preset. Such as "chapter i", "section i" in "chapter i", "section i", etc. The character outline may also be an outline of a particular font, size, for example, the font and size of chapters in some books may be different from the body.
Specifically, whether the outline shape of the character to be recognized includes the preset character outline or not can be determined in a comparison manner.
If yes, step 2033 is executed to determine that the target page can be determined in the electronic book according to the character to be recognized. And then, a target page is determined according to the character to be recognized corresponding to the character outline, and the character to be recognized corresponding to the character outline can be precisely recognized.
If not, step 2034 is executed to perform optical character recognition on the character to be recognized, and determine the character corresponding to the character to be recognized.
In practical application, Optical Character Recognition (OCR) may be performed on the character to be recognized, and the character corresponding to the character to be recognized is determined. For example, the shape is determined by detecting dark and light patterns, then the shape is translated into computer characters by a character recognition method, and the characters in the image are converted into a text format by recognition software.
Step 2035, determining whether the electronic book includes characters corresponding to the characters to be recognized.
The characters in the electronic book can be traversed, the characters are compared with the characters corresponding to the determined characters to be recognized, and if the characters are included, whether the characters are included in the electronic book is judged. The sentence to be recognized can be generated according to the determined characters, the sentence to be recognized can be a sentence or a plurality of sentences, for example, each line of characters is a single sentence to be recognized, the sentence to be recognized is searched in the electronic book, and whether the electronic book comprises the determined characters or not is determined according to the searching result. For example, if the text corresponding to the character to be recognized includes "sometimes use a horn to shout a mouth or spread a leaflet downwards", it is searched whether the sentence is included in the electronic book.
If yes, go to step 2033; if not, step 2036 is executed to determine that the target page cannot be determined in the electronic book according to the character to be recognized.
Referring to fig. 2, if step 2033 is executed, step 204 is continued. If step 2036 is executed, step 202 is continued.
If the reading position of the user has a preset character outline, the reading position can be quickly positioned according to the character outline. If the character outline is not included, OCR recognition can be carried out on a plurality of characters meeting the preset threshold, and because the number of the characters needing to be recognized is small, interference factors among the characters are reduced, so that the recognition accuracy and the recognition efficiency are high, and the processing speed of the terminal can be further improved.
Fig. 5 is a flowchart illustrating a method of determining a reading position according to another exemplary embodiment of the present invention.
As shown in fig. 5, the present embodiment provides a method for determining a reading position, including:
step 501, receiving a voice recognition instruction, and acquiring the voice content of the book to be recognized according to the voice recognition instruction.
After receiving the voice recognition instruction, the user terminal can acquire the voice content of the book to be recognized.
In a real-time mode, the user terminal can start a recording function after receiving a voice recognition instruction and acquire voice content; in another embodiment, the user may upload the recording, so that the terminal obtains the voice content of the book to be recognized. After receiving the identification instruction, the user terminal opens a folder of the terminal for storing audio contents, the user can select any audio from the audio, and the terminal processes the audio to acquire the voice contents.
Step 502, obtaining the text information included in the voice content, and determining the character to be recognized in the text information according to the definition of the text information.
Specifically, after the voice content is obtained, the text information included in the voice content can be determined according to a voice recognition algorithm, and any one of isolated word recognition, keyword recognition and continuous voice recognition can be adopted in the recognition process.
Further, as the acquired voice content of the book to be recognized may have an unclear condition, in this case, unclear characters may also be removed, only clear and definite character content is retained, and for the unclear characters, spaces may be used instead.
Step 503, determining a target page in the electronic book according to the character to be recognized.
Step 503 is similar to the specific principle and implementation of step 103.
When the speech content is processed by adopting a keyword recognition mode, a sentence with characters to be recognized being discontinuous is obtained, and in this case, the e-book page containing the keywords can be determined as a target page.
Fig. 6 is a block diagram illustrating an apparatus for determining a reading position according to an exemplary embodiment of the present invention.
As shown in fig. 6, the present embodiment provides an apparatus for determining a reading position, including:
the receiving module 61 is used for receiving the identification instruction and acquiring the information of the book to be identified according to the identification instruction;
a character determination module 62, configured to determine a character to be recognized included in the book information to be recognized according to a preset algorithm;
and a page determining module 63, configured to determine a target page in the electronic book according to the character to be recognized.
The receiving module 61, the character determining module 62 and the page determining module 63 are connected in sequence.
The device for determining the reading position comprises a receiving module, a reading module and a reading module, wherein the receiving module is used for receiving the identification instruction and acquiring the information of the book to be identified according to the identification instruction; the character determining module is used for acquiring the characters to be recognized included in the information to be recognized according to a preset algorithm; and the page determining module is used for determining a target page in the electronic book according to the character to be recognized. In the scheme for determining the reading position provided by this embodiment, the position of the electronic book corresponding to the paper book information to be recognized can be determined according to the paper book information to be recognized, and then after the user reads the paper book, when reading the electronic book of the same book, the position of suspending reading can be determined in the electronic book by means of recognizing the paper book, and the electronic book does not need to be turned over by means of memory.
The specific principle and implementation of the device for determining the reading position provided by the present embodiment are similar to those of the embodiment shown in fig. 1, and are not described herein again.
Fig. 7 is a block diagram illustrating an apparatus for determining a reading position according to another exemplary embodiment of the present invention.
As shown in fig. 7, on the basis of the foregoing embodiment, in the apparatus for determining a reading position provided by this embodiment, optionally, the identification instruction includes: an image recognition instruction;
the receiving module 61 includes:
the image recognition unit 611 is configured to obtain image information of the book to be recognized according to the image recognition instruction.
Optionally, the character determining module 62 includes:
a first obtaining unit 621, configured to obtain a preset threshold number of the characters to be recognized in the image information;
a judging unit 622, configured to judge whether a target page can be determined in the electronic book according to the character to be recognized;
if yes, the page determining module 63 performs a step of determining a target page of the electronic book according to the character to be recognized;
if not, the first obtaining unit 621 continues to perform the step of obtaining the preset threshold number of the characters to be recognized from the image information.
The first obtaining unit 621 is connected to the determining unit 622.
Optionally, the determining unit 622 is specifically configured to:
carrying out optical character recognition on the character to be recognized, and determining characters corresponding to the character to be recognized;
judging whether the electronic book comprises the characters or not;
if so, judging that a target page can be determined in the electronic book according to the character to be recognized, otherwise, judging that the target page cannot be determined in the electronic book according to the character to be recognized.
Optionally, the character determining module 62 further includes:
the outline determining unit 623 is used for determining a character outline according to the character to be recognized;
the determining unit 622 is further configured to determine whether the character outline includes a preset special character outline, and if so, the determining unit 622 determines that a target page can be determined in the electronic book according to the character to be recognized; otherwise, the determining unit 622 performs the step of performing optical character recognition on the character to be recognized.
The contour determining unit 623 is connected to the acquiring unit 621 and the determining unit 622, respectively.
Optionally, the receiving module 61 includes:
the starting unit 612 is used for starting the camera module according to the identification instruction and acquiring an image through the camera module;
a receiving unit 613, configured to receive a selection instruction for selecting a position in the image;
a determining unit 614, configured to determine image information of the book to be recognized according to the selection instruction.
The starting unit 611, the receiving unit 612 and the determining unit 613 are connected in sequence.
Optionally, the receiving unit 612 is specifically configured to:
acquiring a touch track when a user operates a touch screen, and determining the position and/or size of a selection control according to the touch track;
correspondingly, the determining unit is specifically configured to: and determining the part of the selection control selected in the image as the image information of the book to be recognized.
If the reading position of the user has a preset special character outline, the reading position can be quickly positioned according to the special character outline. If the special character outline is not included, only a few characters meeting the preset threshold value can be subjected to OCR recognition, and because the number of the characters needing recognition is small, interference factors among the characters are reduced, so that the recognition accuracy and the recognition efficiency are high, and the processing speed of the terminal can be further improved.
Optionally, the identification instruction includes: a voice recognition instruction;
accordingly, the receiving module 61 includes:
and the voice recognition unit 615 is used for acquiring the voice content of the book to be recognized according to the voice recognition instruction.
Optionally, the character determining module 62 includes:
the second obtaining unit 624 is configured to obtain text information included in the voice content, and determine the character to be recognized in the text information according to the definition of the text information.
The specific principle and implementation of the reading position determining device provided in this embodiment are similar to those of the embodiments shown in fig. 2-5, and will not be described herein again.
The present embodiment further provides an apparatus for determining a reading position, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement any of the methods described above.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (19)

1. A method of determining reading position, comprising:
receiving an identification instruction, and acquiring book information to be identified according to the identification instruction;
acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm;
and determining a target page in the electronic book according to the character to be recognized.
2. The method of claim 1, wherein the identifying instructions comprise: an image recognition instruction;
correspondingly, the acquiring the book information to be recognized according to the recognition instruction comprises:
and acquiring the image information of the book to be recognized according to the image recognition instruction.
3. The method according to claim 2, wherein the obtaining the character to be recognized included in the book information to be recognized according to a preset algorithm comprises:
acquiring characters to be recognized with a preset threshold quantity from the image information, and judging whether a target page can be determined in the electronic book according to the characters to be recognized;
if yes, executing a step of determining a target page in the electronic book according to the character to be recognized;
if not, continuing to execute the step of acquiring the characters to be recognized with the preset threshold quantity from the image information.
4. The method of claim 3, wherein the determining whether a target page can be determined in the electronic book according to the character to be recognized comprises:
carrying out optical character recognition on the character to be recognized, and determining characters corresponding to the character to be recognized;
judging whether the electronic book comprises characters corresponding to the characters to be recognized or not;
if so, judging that a target page can be determined in the electronic book according to the character to be recognized, otherwise, judging that the target page cannot be determined in the electronic book according to the character to be recognized.
5. The method according to claim 4, wherein before the optical character recognition of the character to be recognized, the method further comprises:
determining a character outline according to the character to be recognized;
judging whether the character outline comprises a preset character outline or not, and if so, judging that a target page can be determined in the electronic book according to the character to be recognized; otherwise, executing the step of carrying out optical character recognition on the character to be recognized.
6. The method according to any one of claims 2 to 5, wherein the acquiring image information of the book to be recognized according to the image recognition instruction comprises:
starting a camera module according to the image identification instruction, and acquiring an image through the camera module;
receiving a selection instruction for selecting a position in the image, and determining the image information of the book to be recognized according to the selection instruction.
7. The method of claim 6, wherein receiving a selection instruction for selecting a location in the image comprises:
acquiring a touch track when a user operates a touch screen, and determining the position and/or size of a selection control according to the touch track;
correspondingly, the determining the image information of the book to be recognized according to the selection instruction includes:
and determining the part of the selection control selected in the image as the image information of the book to be recognized.
8. The method of claim 1, wherein the identifying instructions comprise: a voice recognition instruction;
correspondingly, the acquiring the book information to be recognized according to the voice recognition instruction comprises:
and acquiring the voice content of the book to be recognized according to the voice recognition instruction.
9. The method according to claim 8, wherein the obtaining the character to be recognized included in the book information to be recognized according to a preset algorithm comprises:
and acquiring text information included in the voice content, and determining the character to be recognized in the text information according to the definition of the text information.
10. An apparatus for determining reading position, comprising:
the receiving module is used for receiving the identification instruction and acquiring the information of the book to be identified according to the identification instruction;
the character determining module is used for acquiring characters to be recognized included in the book information to be recognized according to a preset algorithm;
and the page determining module is used for determining a target page in the electronic book according to the character to be recognized.
11. The apparatus of claim 10, wherein the identifying instructions comprise: an image recognition instruction;
the receiving module includes:
and the image recognition unit is used for acquiring the image information of the book to be recognized according to the image recognition instruction.
12. The apparatus of claim 11, wherein the character determination module comprises:
the first acquisition unit is used for acquiring the characters to be recognized with a preset threshold quantity from the image information;
the judging unit is used for judging whether a target page can be determined in the electronic book according to the character to be recognized;
if yes, the page determining module executes a step of determining a target page of the electronic book according to the character to be recognized;
if not, the first obtaining unit continues to execute the step of obtaining the characters to be recognized with the preset threshold quantity in the image information.
13. The apparatus according to claim 12, wherein the determining unit is specifically configured to:
carrying out optical character recognition on the character to be recognized, and determining characters corresponding to the character to be recognized;
judging whether the electronic book comprises the characters or not;
if so, judging that a target page can be determined in the electronic book according to the character to be recognized, otherwise, judging that the target page cannot be determined in the electronic book according to the character to be recognized.
14. The apparatus of claim 13, wherein the character determination module further comprises:
the outline determining unit is used for determining a character outline according to the character to be recognized;
the judging unit is further used for judging whether the character outline comprises a preset character outline or not, and if so, the judging unit judges that a target page can be determined in the electronic book according to the character to be recognized; otherwise, the judging unit executes the step of performing optical character recognition on the character to be recognized.
15. The apparatus according to any one of claims 11-14, wherein the receiving module comprises:
the starting unit is used for starting the camera module according to the image identification instruction and acquiring an image through the camera module;
a receiving unit configured to receive a selection instruction for selecting a position in the image;
and the determining unit is used for determining the image information of the book to be recognized according to the selection instruction.
16. The apparatus according to claim 15, wherein the receiving unit is specifically configured to:
acquiring a touch track when a user operates a touch screen, and determining the position and/or size of a selection control according to the touch track;
correspondingly, the determining unit is specifically configured to: and determining the part of the selection control selected in the image as the image information of the book to be recognized.
17. The apparatus of claim 10, wherein the identifying instructions comprise: a voice recognition instruction;
correspondingly, the receiving module comprises:
and the voice recognition unit is used for acquiring the voice content of the book to be recognized according to the voice recognition instruction.
18. The apparatus of claim 17, wherein the character determination module comprises:
and the second acquisition unit is used for acquiring the text information included in the voice content and determining the character to be recognized in the text information according to the definition of the text information.
19. An apparatus for determining reading position, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of claims 1-9.
CN201810782149.8A 2018-07-17 2018-07-17 Method, device and equipment for determining reading position Active CN110795918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810782149.8A CN110795918B (en) 2018-07-17 2018-07-17 Method, device and equipment for determining reading position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810782149.8A CN110795918B (en) 2018-07-17 2018-07-17 Method, device and equipment for determining reading position

Publications (2)

Publication Number Publication Date
CN110795918A true CN110795918A (en) 2020-02-14
CN110795918B CN110795918B (en) 2024-03-19

Family

ID=69424995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810782149.8A Active CN110795918B (en) 2018-07-17 2018-07-17 Method, device and equipment for determining reading position

Country Status (1)

Country Link
CN (1) CN110795918B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338254B (en) * 2020-03-11 2021-03-30 六安职业技术学院 Paper book reading auxiliary system
CN113392621A (en) * 2020-03-11 2021-09-14 富士胶片商业创新有限公司 Information processing apparatus, information processing method, and computer program
CN113656553A (en) * 2021-08-19 2021-11-16 掌阅科技股份有限公司 Paper-electricity synchronous retrieval method, electronic equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888531A (en) * 2014-03-20 2014-06-25 小米科技有限责任公司 Reading position synchronization method and reading position obtaining method and device
CN105306584A (en) * 2015-11-12 2016-02-03 天津大学 System and method for synchronizing reading progresses of paper-made book and electronic book
CN107689997A (en) * 2017-09-12 2018-02-13 中国联合网络通信集团有限公司 A kind of reading progress synchronous method and system, application service end and client

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888531A (en) * 2014-03-20 2014-06-25 小米科技有限责任公司 Reading position synchronization method and reading position obtaining method and device
CN105306584A (en) * 2015-11-12 2016-02-03 天津大学 System and method for synchronizing reading progresses of paper-made book and electronic book
CN107689997A (en) * 2017-09-12 2018-02-13 中国联合网络通信集团有限公司 A kind of reading progress synchronous method and system, application service end and client

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111338254B (en) * 2020-03-11 2021-03-30 六安职业技术学院 Paper book reading auxiliary system
CN113392621A (en) * 2020-03-11 2021-09-14 富士胶片商业创新有限公司 Information processing apparatus, information processing method, and computer program
CN113656553A (en) * 2021-08-19 2021-11-16 掌阅科技股份有限公司 Paper-electricity synchronous retrieval method, electronic equipment and computer storage medium
CN113656553B (en) * 2021-08-19 2022-09-20 掌阅科技股份有限公司 Paper-electricity synchronous retrieval method, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN110795918B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
KR102238809B1 (en) Actionable content displayed on a touch screen
CN111353501A (en) Book point-reading method and system based on deep learning
CN104253904A (en) Method for realizing point-reading learning and smart phone
JP2014102669A (en) Information processor, information processing method and program
JP2003308480A (en) On-line handwritten character pattern recognizing editing device and method, and computer-aided program to realize method
CN108121987B (en) Information processing method and electronic equipment
US20130120430A1 (en) Electronic device and text reading guide method thereof
CN110795918B (en) Method, device and equipment for determining reading position
CN112382295B (en) Speech recognition method, device, equipment and readable storage medium
CN104182381A (en) character input method and system
CN111680177A (en) Data searching method, electronic device and computer-readable storage medium
CN111079726B (en) Image processing method and electronic equipment
CN111091034B (en) Question searching method based on multi-finger recognition and home teaching equipment
CN111753715A (en) Method and device for shooting test questions in click-to-read scene, electronic equipment and storage medium
CN111081103A (en) Dictation answer obtaining method, family education equipment and storage medium
US11606629B2 (en) Information processing apparatus and non-transitory computer readable medium storing program
CN111079736B (en) Dictation content identification method and electronic equipment
CN112163513A (en) Information selection method, system, device, electronic equipment and storage medium
CN111582281B (en) Picture display optimization method and device, electronic equipment and storage medium
CN111027353A (en) Search content extraction method and electronic equipment
CN111711758B (en) Multi-pointing test question shooting method and device, electronic equipment and storage medium
CN111553356B (en) Character recognition method and device, learning device and computer readable storage medium
WO2014042051A1 (en) Content creation device, method, and program
CN111027556B (en) Question searching method and learning device based on image preprocessing
CN114898368A (en) Scanning translation method, device and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200421

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 13 layer self unit 03

Applicant before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant