CN111090343A - Method and device for identifying point-reading content in point-reading scene - Google Patents

Method and device for identifying point-reading content in point-reading scene Download PDF

Info

Publication number
CN111090343A
CN111090343A CN201910494255.0A CN201910494255A CN111090343A CN 111090343 A CN111090343 A CN 111090343A CN 201910494255 A CN201910494255 A CN 201910494255A CN 111090343 A CN111090343 A CN 111090343A
Authority
CN
China
Prior art keywords
reading
click
distance value
read
sub
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
CN201910494255.0A
Other languages
Chinese (zh)
Other versions
CN111090343B (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.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics 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 Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201910494255.0A priority Critical patent/CN111090343B/en
Publication of CN111090343A publication Critical patent/CN111090343A/en
Application granted granted Critical
Publication of CN111090343B publication Critical patent/CN111090343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for identifying point reading content in a point reading scene, wherein the method comprises the following steps: identifying a reading position of a user in a current page of a reading book and a reading coordinate of the reading position in a pre-established coordinate system, wherein the current page is a certain page currently read by the user on the reading book; judging whether the reading position is located in a predetermined certain sketch according to the reading coordinate, and searching an upper sketch which is above the reading coordinate and closest to the reading coordinate and a lower sketch which is below the reading coordinate and closest to the reading coordinate when the reading position is judged not to be located in the certain sketch; and calculating a first distance value between the reading coordinates and the upper sketch and a second distance value between the reading coordinates and the lower sketch, and identifying target reading contents corresponding to the reading coordinates according to the relation between the first distance value and the distance value. Therefore, the method and the device can improve the identification accuracy of the point reading content in the point reading scene.

Description

Method and device for identifying point-reading content in point-reading scene
Technical Field
The invention relates to the technical field of intelligent point reading equipment, in particular to a method and a device for recognizing point reading contents in a point reading scene.
Background
The point reading machine is a portable family education device which can determine point reading contents according to the point reading position and output voice information matched with the point reading contents, and can help parents to better guide students (especially primary and secondary school students) to study lessons, correct pronunciations of the students and facilitate self-learning of the students at any time and any place. The common way of identifying the point reading content by the point reading machine is as follows: and judging the page number clicked and read by the operator through the graph search, and determining corresponding delineation according to the coordinates of the pen point or the finger tip of the click-to-read pen, so as to realize the display and the broadcast of the point-read content in the delineation corresponding area.
Practice shows that in an actual point-reading scene, taking finger point-reading as an example, because the content of books becomes more and more dense with the rise of grades, the position of the finger tip is usually located in two upper and lower outlines when the position of the finger tip is located, in this case, the point-reading machine cannot determine the point-reading content desired by the operator, and the identification accuracy of the point-reading content is reduced.
Disclosure of Invention
The embodiment of the invention discloses a method and a device for identifying point-reading contents in a point-reading scene, which can improve the identification accuracy of the point-reading contents.
The first aspect of the embodiments of the present invention discloses a method for identifying read-on content in a read-on scene, where the method includes:
identifying a reading position of a user in a current page of a reading book and a reading coordinate of the reading position in a pre-established coordinate system, wherein the current page is a certain page currently read by the user on the reading book;
judging whether the reading position is located in a predetermined certain sketch according to the reading coordinate, and searching an upper sketch which is above the reading coordinate and is closest to the reading coordinate and a lower sketch which is below the reading coordinate and is closest to the reading coordinate when the reading position is judged not to be located in the certain sketch;
and respectively calculating a first distance value between the reading coordinate and the upper sketch and a second distance value between the reading coordinate and the lower sketch, and identifying target reading content corresponding to the reading coordinate according to the relationship between the first distance value and the second distance value, wherein the target reading content is used as the reading content to be broadcasted and/or displayed.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the first distance value includes a first sub-distance value from the read-point coordinate to the upper frame of the upper outline and a second sub-distance value from the read-point coordinate to the lower frame of the upper outline;
the second distance value comprises a third sub-distance value from the point reading coordinate to the lower frame of the lower sketch and a fourth sub-distance value from the point reading coordinate to the upper frame of the lower sketch;
wherein, according to the relation between the first distance value and the second distance value, the target reading content corresponding to the reading coordinate is identified, and the target reading content is used as the reading content needing to be broadcasted and/or displayed, and the method comprises the following steps:
and identifying target reading contents corresponding to the reading coordinates according to the magnitude relation between the first sub-distance value and the third sub-distance value and the magnitude relation between the second sub-distance value and the fourth sub-distance value, and using the target reading contents as the reading contents needing to be broadcasted and/or displayed.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the identifying, according to the magnitude relationship between the first sub-distance value and the third sub-distance value and the magnitude relationship between the second sub-distance value and the fourth sub-distance value, target click-to-read content corresponding to the click-to-read coordinate, as click-to-read content that needs to be broadcasted and/or displayed includes:
determining whether the second sub-distance value is equal to the fourth sub-distance value;
when the second sub-distance value is judged not to be equal to the fourth sub-distance value, determining the click-to-read content corresponding to the upper outline as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed;
when the second sub-distance value is judged to be equal to the fourth sub-distance value, judging whether the first sub-distance value is smaller than or equal to the third sub-distance value;
when the first sub-distance value is judged to be smaller than or equal to the third sub-distance value, determining the click-to-read content corresponding to the upper outline as identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as click-to-read content needing to be broadcasted and/or displayed; and when the first sub-distance value is judged to be not less than or equal to the third sub-distance value, determining the click-to-read content corresponding to the lower delineation as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that the second sub-distance value is not equal to the fourth sub-distance value, the method further includes:
determining the reading contents corresponding to the upper delineation and the reading contents corresponding to the lower delineation;
judging whether the point-reading content corresponding to the upper outlining is more than the point-reading content corresponding to the lower outlining, judging whether the point-reading content corresponding to the upper outlining is broadcasted or displayed when judging that the point-reading content corresponding to the upper outlining is more than the point-reading content corresponding to the lower outlining, and triggering and executing the target point-reading content corresponding to the point-reading coordinate determined as the identified point-reading content corresponding to the upper outlining as the operation of the point-reading content needing to be broadcasted and/or displayed when judging that the point-reading content corresponding to the upper outlining is not broadcasted and not displayed.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that the click-to-read position is not located in the certain delineation, the method further includes:
acquiring a reading content density value of the current page, and judging whether the reading content density value is greater than or equal to a preset content density threshold value;
and when the reading content density value is judged to be greater than or equal to the preset content density threshold value, triggering and executing the operation of searching the upper sketch which is above the reading coordinate and is closest to the reading coordinate and the lower sketch which is below the reading coordinate and is closest to the reading coordinate.
The second aspect of the embodiments of the present invention discloses a device for recognizing read-on content in a read-on scene, where the device includes:
the first identification module is used for identifying a reading position of a user in a current page of a reading book and a reading coordinate of the reading position in a pre-established coordinate system, wherein the current page is a certain page currently read by the user on the reading book;
the judging module is used for judging whether the reading position is positioned in a predetermined certain outlook or not according to the reading coordinate;
the searching module is used for searching an upper sketch above the reading coordinate and closest to the reading coordinate and a lower sketch below the reading coordinate and closest to the reading coordinate when the judging module judges that the reading position is not located in the certain sketch;
the calculation module is used for calculating a first distance value between the reading coordinate and the upper sketch and a second distance value between the reading coordinate and the lower sketch respectively;
and the second identification module is used for identifying target reading contents corresponding to the reading coordinates according to the relationship between the first distance value and the second distance value, and the target reading contents serve as the reading contents needing to be broadcasted and/or displayed.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first distance value includes a first sub-distance value from the reading coordinate to the upper frame of the upper outline and a second sub-distance value from the reading coordinate to the lower frame of the upper outline;
the second distance value comprises a third sub-distance value from the point reading coordinate to the lower frame of the lower sketch and a fourth sub-distance value from the point reading coordinate to the upper frame of the lower sketch;
the second identification module identifies target reading contents corresponding to the reading coordinates according to the relation between the first distance value and the second distance value, and the specific mode of the target reading contents needing to be broadcasted and/or displayed is as follows:
and identifying target reading contents corresponding to the reading coordinates according to the magnitude relation between the first sub-distance value and the third sub-distance value and the magnitude relation between the second sub-distance value and the fourth sub-distance value, and using the target reading contents as the reading contents needing to be broadcasted and/or displayed.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the second identifying module identifies, according to a magnitude relationship between the first sub-distance value and the third sub-distance value and a magnitude relationship between the second sub-distance value and the fourth sub-distance value, target click-to-read content corresponding to the click-to-read coordinate, where a specific manner of the click-to-read content to be broadcasted and/or displayed is as follows:
determining whether the second sub-distance value is equal to the fourth sub-distance value;
when the second sub-distance value is judged not to be equal to the fourth sub-distance value, determining the click-to-read content corresponding to the upper outline as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed;
when the second sub-distance value is judged to be equal to the fourth sub-distance value, judging whether the first sub-distance value is smaller than or equal to the third sub-distance value;
when the first sub-distance value is judged to be smaller than or equal to the third sub-distance value, determining the click-to-read content corresponding to the upper outline as identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as click-to-read content needing to be broadcasted and/or displayed; and when the first sub-distance value is judged to be not less than or equal to the third sub-distance value, determining the click-to-read content corresponding to the lower delineation as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the second identifying module is further configured to determine, after determining that the second sub-distance value is not equal to the fourth sub-distance value, the point-read content corresponding to the upper sketch and the point-read content corresponding to the lower sketch; and judging whether the click-to-read content corresponding to the upper outlining is more than the click-to-read content corresponding to the lower outlining, judging whether the click-to-read content corresponding to the upper outlining is broadcasted or displayed when judging that the click-to-read content corresponding to the upper outlining is more than the click-to-read content corresponding to the lower outlining, and triggering and executing the target click-to-read content corresponding to the click-to-read coordinate determined as the recognized click-to-read content corresponding to the upper outlining as the operation of the click-to-read content needing to be broadcasted and/or displayed when judging that the click-to-read content corresponding to the upper outlining is not broadcasted and not displayed.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the acquisition module is used for acquiring the reading content density value of the current page after the judgment module judges that the reading position is not located in the certain outlook;
the judging module is further configured to judge whether the read-and-click content density value is greater than or equal to a preset content density threshold value;
the search module is specifically configured to:
when the judging module judges that the reading content density value is greater than or equal to the preset content density threshold value, searching an upper sketch which is above the reading coordinate and is closest to the reading coordinate and a lower sketch which is below the reading coordinate and is closest to the reading coordinate.
The third aspect of the embodiments of the present invention discloses another apparatus for recognizing read-on content in a read-on scene, where the apparatus includes:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute all or part of the steps of any one of the methods for recognizing the point-read content in the point-read scene disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which is characterized by storing a computer program for electronic data exchange, where the computer program enables a computer to execute all or part of the steps in any one of the methods for recognizing a point-to-read content in a point-to-read scenario disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when running on a computer, causes the computer to execute some or all of the steps of any one of the methods for recognizing a point-to-read content in a point-to-read scenario of the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a reading position of a user in a current page of a reading book and a reading coordinate of the reading position in a pre-established coordinate system are identified, wherein the current page is a certain page read by the user on the reading book; judging whether the reading position is located in a predetermined certain sketch according to the reading coordinate, and searching an upper sketch which is above the reading coordinate and closest to the reading coordinate and a lower sketch which is below the reading coordinate and closest to the reading coordinate when the reading position is judged not to be located in the certain sketch; and calculating a first distance value between the reading coordinates and the upper sketch and a second distance value between the reading coordinates and the lower sketch, and identifying target reading contents corresponding to the reading coordinates according to the relation between the first distance value and the distance value. Therefore, by implementing the embodiment of the invention, the click-to-read content desired by the user can be comprehensively determined according to the upper and lower sketches closest to the click-to-read position and the distance values between the click-to-read position and the upper and lower sketches respectively when the click-to-read position of the user is not located in the determined one sketches, so that the identification accuracy of the click-to-read content in the click-to-read scene is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for recognizing read-on content in a read-on scene according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another method for recognizing read-on content in a read-on scenario according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for recognizing read-on content in a read-on scene according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another apparatus for recognizing read-on content in a read-on scene according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another apparatus for recognizing read-on content in a read-on scene according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a method and a device for identifying click-to-read contents in a click-to-read scene, which can comprehensively determine the click-to-read contents desired by a user according to an upper sketch and a lower sketch which are closest to the click-to-read position and distance values between the click-to-read position and the upper sketch and the lower sketch respectively when the click-to-read position of the user is not located in the determined sketch, and improve the identification accuracy rate of the click-to-read contents in the click-to-read scene. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for recognizing click-to-read contents in a click-to-read scenario according to an embodiment of the present invention. The method described in fig. 1 may be applied to a point-to-read device, and the embodiment of the present invention is not limited. As shown in fig. 1, the method may include the operations of:
101. the reading device identifies a reading position of a user in a current page of the reading book and reading coordinates of the reading position in a pre-established coordinate system.
In the embodiment of the invention, the current page is a certain page clicked and read by a user on the click-to-read book currently. The reading device identifies a page currently read or pointed by a user on the reading book, and may include:
the point-reading equipment identifies a picture pointed by a user on a certain page of a point-reading book, and determines a page number corresponding to the picture pointed by the user on the certain page of the point-reading book as the page number of the certain page in a picture searching (on-line picture library matching) mode; alternatively, the first and second electrodes may be,
the point reading equipment identifies the initial point reading position of a certain page of a point reading book of a user, and determines the page number of the certain page according to the initial point reading position, wherein different pages of different point reading books correspond to different initial point reading positions, and the initial point reading positions corresponding to different pages of different point reading books are provided with page identification marks which are used for guiding the user to firstly press a point reading tool (a finger or a point reading pen) at the initial point reading position identified by the page identification marks when the user wants to point read the content of the page, so that the page number of the page can be directly identified according to the initial point reading position of the user in the page, a picture searching operation is not needed, and the identification efficiency and the identification accuracy for identifying the page which is point read by the user on the point reading book at present are improved.
In the embodiment of the present invention, the coordinate system created in advance may be a coordinate system established with a central position of a page in the click-to-read book as an origin, a straight line parallel to the text content as an X axis, and a straight line perpendicular to the text content as a Y axis, where a positive direction of the X axis is a typesetting direction of the text content, and a positive direction of the Y axis is a direction toward the top of the page, which is not limited in the embodiment of the present invention.
In this embodiment of the present invention, the recognizing, by the reading device, the reading position of the user in the current page of the reading book and the reading coordinate of the reading position in the pre-created coordinate system may include:
the point reading equipment detects pressure values of a plane for placing the point reading book at different positions, and selects a certain position with the maximum pressure value from different positions;
the reading device determines the certain position as the reading position of the user in the current page of the reading book, and determines the coordinate of the certain position as the reading coordinate of the reading position.
Therefore, the embodiment of the invention can intelligently determine the coordinates of the point reading position and the point reading position of the user on the current page through the pressure value on the point reading plane, and improves the identification efficiency and the identification accuracy of the point reading position.
102. And judging whether the point reading position is in a predetermined certain outlook or not by the point reading equipment according to the point reading coordinate.
In the embodiment of the present invention, the current page includes a plurality of delineations, different delineations correspond to different delineation areas (i.e., coordinate ranges), and different delineation areas correspond to different click-to-read contents. The step of judging whether the reading position is located in a predetermined certain sketch according to the reading coordinate by the reading device may include:
the point-reading equipment judges whether the point-reading position is only in a certain predetermined sketch according to the point-reading coordinate, and if not, the step 103 is triggered;
and when the current page is only located in a certain predetermined sketch, searching a target sketch which is directly above the point reading coordinate and is closest to the point reading coordinate from a plurality of sketches included in the current page by the point reading equipment. The target delineation may also be referred to as an upper delineation.
In the embodiment of the invention, the condition that the click-to-read position is not only located in a certain predetermined sketch comprises two conditions that the ① click-to-read position is located in an overlapped coordinate range of at least two sketches, if the click-to-read position is located on the overlapped border of the two sketches when a certain border of the two sketches is overlapped, the click-to-read position is determined to be located in the overlapped coordinate range of the two sketches, and the ② click-to-read position is not located in any one sketched coordinate range, namely located between the at least two sketches.
103. When the point reading position is judged not to be located in a certain sketch, the point reading equipment searches an upper sketch which is above the point reading coordinate and is closest to the point reading coordinate and a lower sketch which is below the point reading coordinate and is closest to the point reading coordinate.
In this embodiment of the present invention, the searching, by the reading device, for the upper sketch that is above the reading coordinate and closest to the reading coordinate and the lower sketch that is below the reading coordinate and closest to the reading coordinate may include:
the point reading equipment takes a straight line which passes through the point reading position and is parallel to the X axis as a boundary, determines the outlines, above the boundary, of the corresponding central points in all the outlines of the current page as an upper outline set, and determines the outlines, below the boundary, of the corresponding central points in all the outlines of the current page as a lower outline set; alternatively, the first and second electrodes may be,
the point reading equipment takes a straight line which passes through the point reading position and is parallel to the X axis as a boundary, determines a sketch that the area of a corresponding sketch region above the boundary is larger than or equal to the area of a region below the boundary in all sketches of the current page as an upper sketch set, and determines a sketch that the area of a region above the boundary of the corresponding sketch region in all sketches of the current page is smaller than the area of a region below the boundary as a lower sketch set;
calculating the distance value from the central point corresponding to each sketch in the computational sketch set to the reading coordinate, screening the minimum distance value and determining the sketch corresponding to the minimum distance value as the upper sketch which is above the reading coordinate and is closest to the reading coordinate; and calculating the distance value from the central point corresponding to each sketch in the lower sketch set to the reading coordinate, screening the minimum distance value, and determining the sketch corresponding to the minimum distance value as the upper sketch which is above the reading coordinate and is closest to the reading coordinate.
104. The point-reading equipment respectively calculates a first distance value between the point-reading coordinate and the upper sketch and a second distance value between the point-reading coordinate and the lower sketch.
In the embodiment of the present invention, the first distance value between the click-to-read coordinate and the upper delineation may be a distance value between the click-to-read coordinate and the center point corresponding to the upper delineation, and the second distance value between the click-to-read coordinate and the lower delineation may be a distance value between the click-to-read coordinate and the center point corresponding to the lower delineation; or, the first distance value between the click-to-read coordinate and the upper outline may include a first sub-distance value between the click-to-read coordinate and the upper outline and a second sub-distance value between the click-to-read coordinate and the upper outline, and the second distance value between the click-to-read coordinate and the lower outline may include a third sub-distance value between the click-to-read coordinate and the lower outline and a fourth sub-distance value between the click-to-read coordinate and the lower outline. It should be noted that the distance value from the click-to-read coordinate to a certain frame is specifically a vertical distance value from the click-to-read coordinate to the certain frame.
105. And the reading equipment identifies target reading contents corresponding to the reading coordinates according to the relation between the first distance value and the second distance value, and the target reading contents serve as the reading contents needing to be broadcasted and/or displayed.
In the embodiment of the present invention, when a first distance value between a click-to-read coordinate and an upper sketch is a distance value between the click-to-read coordinate and a center point corresponding to the upper sketch, and a second distance value between the click-to-read coordinate and a lower sketch is a distance value between the click-to-read coordinate and a center point corresponding to the lower sketch, if the first distance value is less than or equal to the second distance value, determining a click-to-read content corresponding to the upper sketch as a target click-to-read content corresponding to the click-to-read coordinate; if the first distance value is larger than the second distance value, determining the click-to-read content corresponding to the lower delineation as target click-to-read content corresponding to the click-to-read coordinate; when the first distance value includes the first sub-distance value and the second sub-distance value, and the second distance value includes the third sub-distance value and the fourth sub-distance value, the point reading device may identify target point reading content corresponding to the point reading coordinate according to a magnitude relationship between the first sub-distance value and the third sub-distance value, and a magnitude relationship between the second sub-distance value and the fourth sub-distance value.
It can be seen that, by implementing the method for identifying the click-to-read content in the click-to-read scene described in fig. 1, when the click-to-read position of the user is not located in the determined one of the delineators, the click-to-read content desired by the user can be determined comprehensively according to the upper and lower delineators closest to the click-to-read position and the distance values between the click-to-read position and the upper and lower delineators, so that the identification accuracy of the click-to-read content in the click-to-read scene is improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another method for recognizing click-to-read contents in a click-to-read scenario according to an embodiment of the present invention. The method described in fig. 2 may be applied to a point-to-read device, and the embodiment of the present invention is not limited. As shown in fig. 2, the method may include the operations of:
201. the reading device identifies a reading position of a user in a current page of the reading book and reading coordinates of the reading position in a pre-established coordinate system.
In the embodiment of the invention, the current page is a certain page clicked and read by a user on the click-to-read book currently.
202. The point-reading device judges whether the point-reading position is located in a predetermined certain outlook or not according to the point-reading coordinate, and when the judgment result in the step 202 is yes, the step 203 is triggered and executed; when the judgment result of the step 202 is negative, the step 204 is triggered to be executed.
203. And the point-reading equipment determines the point-reading content corresponding to a certain outlining position of the point-reading position as the identified target point-reading content corresponding to the point-reading coordinate, and the point-reading content is used as the point-reading content needing to be broadcasted and/or displayed.
In the embodiment of the present invention, for detailed descriptions of steps 201 to 203, refer to the related descriptions of steps 101 to 102 in the first embodiment, and the embodiment of the present invention is not described again.
204. The reading device acquires a reading content density value of the current page, judges whether the reading content density value is greater than or equal to a preset content density threshold value, and triggers to execute step 205 when the judgment result in step 204 is yes; when the determination result in step 203 is negative, the process may be ended, and the following operations may be performed:
searching a target outlining which is right above the reading coordinate and is closest to the reading coordinate;
calculating the sum of the lengths of the left and right edges of the point reading coordinate from the extension line of the target sketch as the distance value between the point reading coordinate and the target sketch;
the point reading equipment judges whether the distance value is smaller than or equal to the product of the delineation length and a preset value, wherein the preset value is larger than zero and smaller than 1;
when the length of the target pointing is not less than or equal to the product of the length of the pointing and the preset value, determining the reading content corresponding to the target pointing as the identified target reading content corresponding to the reading coordinate, and taking the target reading content as the reading content needing to be broadcasted and/or displayed;
when the length is smaller than or equal to the product of the length and a preset numerical value, identifying an included angle between a reading tool corresponding to the reading position and a predetermined horizontal line, wherein the horizontal line is parallel to the text content in the current page; judging whether the angle is in a certain angle range of a plurality of predetermined angle ranges, and identifying target click-to-read contents corresponding to the click-to-read coordinates according to the certain angle range when the angle is in the certain angle range of the plurality of predetermined angle ranges to serve as click-to-read contents needing to be broadcasted and/or displayed; and when the angle range is not in a certain angle range of the predetermined angle ranges, outputting a re-reading prompt message, wherein the re-reading prompt message is used for prompting the user to re-read the required read contents.
Optionally, the reading device identifies the target reading content corresponding to the reading coordinate according to the certain angle range, and the reading content required to be broadcasted and/or displayed may include:
when the certain angle range is a first angle range, the point-reading equipment determines point-reading contents corresponding to outlines above and closest to the point-reading coordinates as identified target point-reading contents corresponding to the point-reading coordinates, and the identified target point-reading contents serve as point-reading contents needing to be broadcasted and/or displayed;
when the certain angle range is a second angle range, the point-reading equipment determines the point-reading content corresponding to the target delineation as the identified target point-reading content corresponding to the point-reading coordinate, and the target point-reading content is used as the point-reading content needing to be broadcasted and/or displayed;
and when the certain angle range is a third angle range, the point-reading equipment determines point-reading contents corresponding to outlines on the left upper side of the point-reading coordinates and closest to the point-reading coordinates as target point-reading contents corresponding to the identified point-reading coordinates.
Wherein the first angle range, the second angle range, and the third angle range do not overlap with each other.
205. The point-reading equipment searches for an upper sketch which is above the point-reading coordinate and is closest to the point-reading coordinate and a lower sketch which is below the point-reading coordinate and is closest to the point-reading coordinate.
206. The point-reading equipment respectively calculates a first sub-distance value from the point-reading coordinate to the upper frame outlined above and a second sub-distance value from the point-reading coordinate to the lower frame outlined above, and calculates a third sub-distance value from the point-reading coordinate to the lower frame outlined below and a fourth sub-distance value from the point-reading coordinate to the upper frame outlined below.
207. And the point reading equipment identifies target point reading content corresponding to the point reading coordinate according to the magnitude relation between the first sub-distance value and the third sub-distance value and the magnitude relation between the second sub-distance value and the fourth sub-distance value, and the target point reading content serves as point reading content needing to be broadcasted and/or displayed.
As an optional implementation manner, the reading device identifies target reading content corresponding to the reading coordinate according to the magnitude relationship between the first sub-distance value and the third sub-distance value and the magnitude relationship between the second sub-distance value and the fourth sub-distance value, and the reading content required to be broadcasted and/or displayed may include:
the point-reading equipment judges whether the second sub-distance value is equal to the fourth sub-distance value or not;
when the second sub-distance value is judged not to be equal to the fourth sub-distance value, the point-reading equipment determines the point-reading content corresponding to the upper outline as the target point-reading content corresponding to the identified point-reading coordinate, and the target point-reading content is used as the point-reading content needing to be broadcasted and/or displayed;
when the second sub-distance value is judged to be equal to the fourth sub-distance value, the point reading equipment judges whether the first sub-distance value is smaller than or equal to the third sub-distance value;
when the first sub-distance value is judged to be smaller than or equal to the third sub-distance value, the point-reading equipment determines the point-reading content corresponding to the upper outline as the target point-reading content corresponding to the identified point-reading coordinate, and the target point-reading content is used as the point-reading content needing to be broadcasted and/or displayed; and when the first sub-distance value is judged to be not less than or equal to the third sub-distance value, determining the click-to-read content corresponding to the lower outline as the target click-to-read content corresponding to the recognized click-to-read coordinate, and taking the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed.
In this optional implementation manner, further optionally, after determining that the second sub-distance value is not equal to the fourth sub-distance value, the method may further include:
the point-reading equipment determines the point-reading content corresponding to the upper outline and the point-reading content corresponding to the lower outline;
and the point-reading equipment judges whether the point-reading content corresponding to the upper delineation is more than the point-reading content corresponding to the lower delineation or not, and when the point-reading content corresponding to the upper delineation is judged to be more than the point-reading content corresponding to the lower delineation, the point-reading equipment triggers and executes the operation of determining the point-reading content corresponding to the upper delineation as the target point-reading content corresponding to the identified point-reading coordinate, and the target point-reading content serves as the point-reading content needing to be broadcasted and/or displayed.
Still further optionally, after it is determined that the upper delineating corresponding point reading content is more than the lower delineating corresponding point reading content, the method may further include the following operations:
the point-reading device judges whether the point-reading content corresponding to the upper delineation is broadcasted or displayed, and when the point-reading content corresponding to the upper delineation is judged not to be broadcasted and not displayed, the point-reading content corresponding to the upper delineation is determined as the target point-reading content corresponding to the identified point-reading coordinate, and the target point-reading content is used as the operation of the point-reading content needing to be broadcasted and/or displayed.
It should be noted that, when it is determined that the click-to-read content corresponding to the upper delineation is not more than the click-to-read content corresponding to the lower delineation, or when it is determined that the click-to-read content corresponding to the upper delineation is broadcasted or displayed, the click-to-read device determines the click-to-read content corresponding to the lower delineation as the target click-to-read content corresponding to the identified click-to-read coordinate, and uses the target click-to-read content as the click-to-read content to be broadcasted and/or displayed.
For example, in a click-to-read scenario on paper, the click-to-read device may perform the following operations:
step 1: identifying a picture pointed by a finger, and matching the picture with an online gallery to obtain a book page pointed by the finger;
step 2: identifying coordinates at the tip of the finger of the user, and recording the coordinates as (x0, y 0);
and step 3: judging whether the fingertip coordinates (x0, y0) are in a certain delineation, if so, judging whether the fingertip coordinates are in the non-frame position of the delineation, if so, displaying and broadcasting the corresponding delineation content, otherwise, entering the next step;
and 4, step 4: searching an upper outline and a lower outline which are closest to fingertip coordinates (x0, y0), respectively recording as the upper outline and the lower outline, and calculating the distance m1 from the fingertip coordinates (x0, y0) to the upper outline of the upper outline, the distance m2 from the lower outline of the upper outline, the distance n1 from the lower outline of the lower outline, and the distance n2 from the upper outline of the lower outline;
and 5: and judging the content which the user wants to click to read according to the relationship between m2 and n2 and the relationship between m1 and n1, wherein the following steps are specifically carried out:
①, when m2 is n2 and m1 is less than n1, the finger tip is closer to the upper frame of the upper outline, the upper outline is smaller (shorter in height) than the lower outline, and the content that the user wants to click and read is determined as the content that the upper outline corresponds to;
②, when m2 is n2 and m1 is more than n1, the finger tip is closer to the lower border of the lower outline, the lower outline is smaller (shorter in height) than the upper outline, and the content that the user wants to click to read is determined to be the content that the lower outline corresponds to;
④, when m2 ≠ n2, the upper and lower delineations have cross areas, and the intention of the user is judged as the intention to click and read the upper delineation by default;
step 6: and displaying and/or broadcasting the click-to-read content according to the found click-to-read content corresponding to the sketch.
It can be seen that, by implementing the method for identifying the click-to-read content in the click-to-read scene described in fig. 2, when the click-to-read position of the user is not located in the determined one of the outlines and the contents in the click-to-read page are relatively dense, the click-to-read content desired by the user can be determined according to the upper outline and the lower outline closest to the click-to-read position and the distance values between the click-to-read position and the upper outline and the lower outline, respectively, so that the identification accuracy of the click-to-read content in the click-to-read scene is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus for recognizing click-to-read contents in a click-to-read scenario according to an embodiment of the present invention. The device described in fig. 3 is applied to a point reading device. As shown in fig. 3, the apparatus for identifying the read-by-point content in the read-by-point scenario may include:
the first identification module 301 is configured to identify a reading position of a user in a current page of a reading book and a reading coordinate of the reading position in a pre-created coordinate system, where the current page is a certain page currently read by the user on the reading book.
The determining module 302 is configured to determine whether the pointing position is located in a predetermined sketch according to the pointing coordinate.
The searching module 303 is configured to search, when the determining module 302 determines that the click-reading position is not located in a certain sketch, an upper sketch that is above the click-reading coordinate and closest to the click-reading coordinate and a lower sketch that is below the click-reading coordinate and closest to the click-reading coordinate.
The calculating module 304 is configured to calculate a first distance value between the reading coordinate and the upper sketch and a second distance value between the reading coordinate and the lower sketch, respectively.
The second identifying module 305 is configured to identify target click-to-read content corresponding to the click-to-read coordinate according to a relationship between the first distance value and the second distance value, and use the target click-to-read content as click-to-read content to be broadcasted and/or displayed.
It can be seen that, by implementing the apparatus described in fig. 3, when the click-to-read position of the user is not located in the determined one of the sketches, the click-to-read content desired by the user can be determined comprehensively according to the upper sketches and the lower sketches closest to the click-to-read position and the distance values between the click-to-read position and the upper sketches and the lower sketches, so that the identification accuracy of the click-to-read content in the click-to-read scene is improved.
In an alternative embodiment, the first distance value includes a first sub-distance value from the click-to-read coordinate to the upper frame of the upper outline and a second sub-distance value from the click-to-read coordinate to the lower frame of the upper outline, and the second distance value includes a third sub-distance value from the click-to-read coordinate to the lower frame of the lower outline and a fourth sub-distance value from the click-to-read coordinate to the upper frame of the lower outline.
In this optional embodiment, the second identifying module 305 identifies target click-to-read content corresponding to the click-to-read coordinate according to a relationship between the first distance value and the second distance value, and a specific manner of the click-to-read content to be broadcasted and/or displayed is as follows:
and identifying target reading contents corresponding to the reading coordinates according to the magnitude relation between the first sub-distance value and the third sub-distance value and the magnitude relation between the second sub-distance value and the fourth sub-distance value, and using the target reading contents as the reading contents needing to be broadcasted and/or displayed.
In this optional embodiment, further optionally, the second identifying module 305 identifies the target click-to-read content corresponding to the click-to-read coordinate according to the magnitude relationship between the first sub-distance value and the third sub-distance value and the magnitude relationship between the second sub-distance value and the fourth sub-distance value, and the specific manner of the click-to-read content to be broadcasted and/or displayed may be:
judging whether the second sub-distance value is equal to the fourth sub-distance value or not;
when the second sub-distance value is judged not to be equal to the fourth sub-distance value, determining the click-to-read content corresponding to the upper outline as the target click-to-read content corresponding to the recognized click-to-read coordinate, and taking the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed;
when the second sub-distance value is judged to be equal to the fourth sub-distance value, whether the first sub-distance value is smaller than or equal to the third sub-distance value is judged;
when the first sub-distance value is judged to be smaller than or equal to the third sub-distance value, determining the click-to-read content corresponding to the upper outline as the target click-to-read content corresponding to the recognized click-to-read coordinate, and taking the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed; and when the first sub-distance value is judged to be not less than or equal to the third sub-distance value, determining the click-to-read content corresponding to the lower outline as the target click-to-read content corresponding to the recognized click-to-read coordinate, and taking the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed.
Still further optionally, the second identifying module 305 may be further configured to identify, according to the magnitude relationship between the first sub-distance value and the third sub-distance value and the magnitude relationship between the second sub-distance value and the fourth sub-distance value, target click-to-read content corresponding to the click-to-read coordinate, in a specific manner that the target click-to-read content needs to be broadcasted and/or displayed:
after the second sub-distance value is judged not to be equal to the fourth sub-distance value, determining the upper delineating corresponding point reading content and the lower delineating corresponding point reading content; and judging whether the point-reading content corresponding to the upper delineation is more than the point-reading content corresponding to the lower delineation, and triggering and executing the target point-reading content which determines the point-reading content corresponding to the upper delineation as the identified point-reading coordinate and serves as the operation of the point-reading content needing to be broadcasted and/or displayed when the point-reading content corresponding to the upper delineation is more than the point-reading content corresponding to the lower delineation.
Still further, the second identifying module 305 may be further configured to identify, according to the magnitude relationship between the first sub-distance value and the third sub-distance value and the magnitude relationship between the second sub-distance value and the fourth sub-distance value, a target click-to-read content corresponding to the click-to-read coordinate, in a specific manner that the target click-to-read content needs to be broadcasted and/or displayed:
after the point reading content corresponding to the upper delineation is judged to be more than the point reading content corresponding to the lower delineation, whether the point reading content corresponding to the upper delineation is broadcasted or displayed is judged, and when the point reading content corresponding to the upper delineation is judged not to be broadcasted and not displayed, the target point reading content corresponding to the point reading coordinate determined to be the point reading content which is identified is triggered to be executed and serves as the operation of the point reading content which needs to be broadcasted and/or displayed.
In another alternative embodiment, as shown in fig. 4, the apparatus may further include an obtaining module 306, wherein:
the obtaining module 306 is configured to obtain the reading content density value of the current page after the determining module 302 determines that the reading position is not located in a certain delineation.
The determining module 302 is further configured to determine whether the read-by-click content density value is greater than or equal to a preset content density threshold.
In this alternative embodiment, the searching module 303 is specifically configured to:
when the determining module 302 determines that the density value of the reading content is greater than or equal to the preset content density threshold, an upper sketch above the reading coordinate and closest to the reading coordinate and a lower sketch below the reading coordinate and closest to the reading coordinate are searched.
It can be seen that, by implementing the apparatus for recognizing click-to-read content in the click-to-read scene described in fig. 4, when the click-to-read position of the user is not located in the determined one of the outlines and the contents in the click-to-read page are relatively dense, the click-to-read content desired by the user can be determined according to the upper outline and the lower outline closest to the click-to-read position and the distance values between the click-to-read position and the upper outline and the lower outline, respectively, so that the recognition accuracy of the click-to-read content in the click-to-read scene is improved.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of another apparatus for recognizing click-to-read contents in a click-to-read scenario according to an embodiment of the present invention. As shown in fig. 5, the apparatus for identifying the read-by-point content in the read-by-point scenario may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to a memory 501;
the processor 502 calls the executable program code stored in the memory 501 to perform the steps of the method for identifying the point-read content in the point-read scenario described in fig. 1 or fig. 2.
EXAMPLE five
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps in the method for identifying the point-reading content in the point-reading scene, which is described in the figure 1 or the figure 2.
EXAMPLE six
An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the steps in the method for identifying a point-to-read content in a point-to-read scenario described in fig. 1 or fig. 2.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The method and the device for recognizing the point-reading content in the point-reading scene disclosed by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for recognizing read-by-point content in a read-by-point scene, the method comprising:
identifying a reading position of a user in a current page of a reading book and a reading coordinate of the reading position in a pre-established coordinate system, wherein the current page is a certain page currently read by the user on the reading book;
judging whether the reading position is located in a predetermined certain sketch according to the reading coordinate, and searching an upper sketch which is above the reading coordinate and is closest to the reading coordinate and a lower sketch which is below the reading coordinate and is closest to the reading coordinate when the reading position is judged not to be located in the certain sketch;
and respectively calculating a first distance value between the reading coordinate and the upper sketch and a second distance value between the reading coordinate and the lower sketch, and identifying target reading content corresponding to the reading coordinate according to the relationship between the first distance value and the second distance value, wherein the target reading content is used as the reading content to be broadcasted and/or displayed.
2. The method for identifying click-to-read content in a click-to-read scene according to claim 1, wherein the first distance value comprises a first sub-distance value from the click-to-read coordinate to an upper frame of the upper outline and a second sub-distance value from the click-to-read coordinate to a lower frame of the upper outline;
the second distance value comprises a third sub-distance value from the point reading coordinate to the lower frame of the lower sketch and a fourth sub-distance value from the point reading coordinate to the upper frame of the lower sketch;
wherein, according to the relation between the first distance value and the second distance value, the target reading content corresponding to the reading coordinate is identified, and the target reading content is used as the reading content needing to be broadcasted and/or displayed, and the method comprises the following steps:
and identifying target reading contents corresponding to the reading coordinates according to the magnitude relation between the first sub-distance value and the third sub-distance value and the magnitude relation between the second sub-distance value and the fourth sub-distance value, and using the target reading contents as the reading contents needing to be broadcasted and/or displayed.
3. The method for identifying click-to-read content in a click-to-read scene according to claim 2, wherein the identifying, according to the magnitude relationship between the first sub-distance value and the third sub-distance value and the magnitude relationship between the second sub-distance value and the fourth sub-distance value, the target click-to-read content corresponding to the click-to-read coordinate as the click-to-read content to be broadcasted and/or displayed comprises:
determining whether the second sub-distance value is equal to the fourth sub-distance value;
when the second sub-distance value is judged not to be equal to the fourth sub-distance value, determining the click-to-read content corresponding to the upper outline as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed;
when the second sub-distance value is judged to be equal to the fourth sub-distance value, judging whether the first sub-distance value is smaller than or equal to the third sub-distance value;
when the first sub-distance value is judged to be smaller than or equal to the third sub-distance value, determining the click-to-read content corresponding to the upper outline as identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as click-to-read content needing to be broadcasted and/or displayed; and when the first sub-distance value is judged to be not less than or equal to the third sub-distance value, determining the click-to-read content corresponding to the lower delineation as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed.
4. The method of claim 3, wherein after determining that the second sub-distance value is not equal to the fourth sub-distance value, the method further comprises:
determining the reading contents corresponding to the upper delineation and the reading contents corresponding to the lower delineation;
judging whether the point-reading content corresponding to the upper outlining is more than the point-reading content corresponding to the lower outlining, judging whether the point-reading content corresponding to the upper outlining is broadcasted or displayed when judging that the point-reading content corresponding to the upper outlining is more than the point-reading content corresponding to the lower outlining, and triggering and executing the target point-reading content corresponding to the point-reading coordinate determined as the identified point-reading content corresponding to the upper outlining as the operation of the point-reading content needing to be broadcasted and/or displayed when judging that the point-reading content corresponding to the upper outlining is not broadcasted and not displayed.
5. The method for recognizing click-to-read content in a click-to-read scenario according to any one of claims 1-4, wherein after determining that the click-to-read location is not located in the certain delineation, the method further comprises:
acquiring a reading content density value of the current page, and judging whether the reading content density value is greater than or equal to a preset content density threshold value;
and when the reading content density value is judged to be greater than or equal to the preset content density threshold value, triggering and executing the operation of searching the upper sketch which is above the reading coordinate and is closest to the reading coordinate and the lower sketch which is below the reading coordinate and is closest to the reading coordinate.
6. An apparatus for recognizing read-by-point contents in a read-by-point scenario, the apparatus comprising:
the first identification module is used for identifying a reading position of a user in a current page of a reading book and a reading coordinate of the reading position in a pre-established coordinate system, wherein the current page is a certain page currently read by the user on the reading book;
the judging module is used for judging whether the reading position is positioned in a predetermined certain outlook or not according to the reading coordinate;
the searching module is used for searching an upper sketch above the reading coordinate and closest to the reading coordinate and a lower sketch below the reading coordinate and closest to the reading coordinate when the judging module judges that the reading position is not located in the certain sketch;
the calculation module is used for calculating a first distance value between the reading coordinate and the upper sketch and a second distance value between the reading coordinate and the lower sketch respectively;
and the second identification module is used for identifying target reading contents corresponding to the reading coordinates according to the relationship between the first distance value and the second distance value, and the target reading contents serve as the reading contents needing to be broadcasted and/or displayed.
7. The apparatus for recognizing click-to-read content in a click-to-read scenario according to claim 6, wherein the first distance value comprises a first sub-distance value from the click-to-read coordinate to the upper frame of the upper outline and a second sub-distance value from the click-to-read coordinate to the lower frame of the upper outline;
the second distance value comprises a third sub-distance value from the point reading coordinate to the lower frame of the lower sketch and a fourth sub-distance value from the point reading coordinate to the upper frame of the lower sketch;
the second identification module identifies target reading contents corresponding to the reading coordinates according to the relation between the first distance value and the second distance value, and the specific mode of the target reading contents needing to be broadcasted and/or displayed is as follows:
and identifying target reading contents corresponding to the reading coordinates according to the magnitude relation between the first sub-distance value and the third sub-distance value and the magnitude relation between the second sub-distance value and the fourth sub-distance value, and using the target reading contents as the reading contents needing to be broadcasted and/or displayed.
8. The apparatus for recognizing click-to-read content in a click-to-read scene according to claim 7, wherein the second recognition module recognizes the target click-to-read content corresponding to the click-to-read coordinate according to a magnitude relationship between the first sub-distance value and the third sub-distance value and a magnitude relationship between the second sub-distance value and the fourth sub-distance value, and a specific manner of the click-to-read content to be broadcasted and/or displayed is as follows:
determining whether the second sub-distance value is equal to the fourth sub-distance value;
when the second sub-distance value is judged not to be equal to the fourth sub-distance value, determining the click-to-read content corresponding to the upper outline as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed;
when the second sub-distance value is judged to be equal to the fourth sub-distance value, judging whether the first sub-distance value is smaller than or equal to the third sub-distance value;
when the first sub-distance value is judged to be smaller than or equal to the third sub-distance value, determining the click-to-read content corresponding to the upper outline as identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as click-to-read content needing to be broadcasted and/or displayed; and when the first sub-distance value is judged to be not less than or equal to the third sub-distance value, determining the click-to-read content corresponding to the lower delineation as the identified target click-to-read content corresponding to the click-to-read coordinate, and using the target click-to-read content as the click-to-read content needing to be broadcasted and/or displayed.
9. The apparatus for identifying click-to-read content under a click-to-read scenario according to claim 8, wherein the second identifying module is further configured to determine the click-to-read content corresponding to the upper delineation and the click-to-read content corresponding to the lower delineation after determining that the second sub-distance value is not equal to the fourth sub-distance value; and judging whether the click-to-read content corresponding to the upper outlining is more than the click-to-read content corresponding to the lower outlining, judging whether the click-to-read content corresponding to the upper outlining is broadcasted or displayed when judging that the click-to-read content corresponding to the upper outlining is more than the click-to-read content corresponding to the lower outlining, and triggering and executing the target click-to-read content corresponding to the click-to-read coordinate determined as the recognized click-to-read content corresponding to the upper outlining as the operation of the click-to-read content needing to be broadcasted and/or displayed when judging that the click-to-read content corresponding to the upper outlining is not broadcasted and not displayed.
10. The apparatus for recognizing click-to-read contents in a click-to-read scenario according to any one of claims 6-9, further comprising:
the acquisition module is used for acquiring the reading content density value of the current page after the judgment module judges that the reading position is not located in the certain outlook;
the judging module is further configured to judge whether the read-and-click content density value is greater than or equal to a preset content density threshold value;
the search module is specifically configured to:
when the judging module judges that the reading content density value is greater than or equal to the preset content density threshold value, searching an upper sketch which is above the reading coordinate and is closest to the reading coordinate and a lower sketch which is below the reading coordinate and is closest to the reading coordinate.
CN201910494255.0A 2019-06-09 2019-06-09 Method and device for identifying click-to-read content in click-to-read scene Active CN111090343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910494255.0A CN111090343B (en) 2019-06-09 2019-06-09 Method and device for identifying click-to-read content in click-to-read scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910494255.0A CN111090343B (en) 2019-06-09 2019-06-09 Method and device for identifying click-to-read content in click-to-read scene

Publications (2)

Publication Number Publication Date
CN111090343A true CN111090343A (en) 2020-05-01
CN111090343B CN111090343B (en) 2024-03-19

Family

ID=70393052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910494255.0A Active CN111090343B (en) 2019-06-09 2019-06-09 Method and device for identifying click-to-read content in click-to-read scene

Country Status (1)

Country Link
CN (1) CN111090343B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111582264A (en) * 2020-05-12 2020-08-25 广东小天才科技有限公司 Method, device and system for accurately framing questions, electronic equipment and storage medium
WO2022194180A1 (en) * 2021-03-19 2022-09-22 华为技术有限公司 Method for recognizing touch-to-read text, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639993A (en) * 2009-08-28 2010-02-03 深圳市高德讯科技有限公司 Multimedia point-reading learning device and teaching material production method thereof
US20120287089A1 (en) * 2011-05-10 2012-11-15 Hitachi Solutions, Ltd. Information input apparatus, information input system, and information input method
CN102799350A (en) * 2012-06-13 2012-11-28 优视科技有限公司 Method and device for determining focal element
CN107748744A (en) * 2017-10-31 2018-03-02 广东小天才科技有限公司 A kind of method for building up and device for sketching the contours frame knowledge base

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639993A (en) * 2009-08-28 2010-02-03 深圳市高德讯科技有限公司 Multimedia point-reading learning device and teaching material production method thereof
US20120287089A1 (en) * 2011-05-10 2012-11-15 Hitachi Solutions, Ltd. Information input apparatus, information input system, and information input method
CN102799350A (en) * 2012-06-13 2012-11-28 优视科技有限公司 Method and device for determining focal element
CN107748744A (en) * 2017-10-31 2018-03-02 广东小天才科技有限公司 A kind of method for building up and device for sketching the contours frame knowledge base

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111582264A (en) * 2020-05-12 2020-08-25 广东小天才科技有限公司 Method, device and system for accurately framing questions, electronic equipment and storage medium
WO2022194180A1 (en) * 2021-03-19 2022-09-22 华为技术有限公司 Method for recognizing touch-to-read text, and electronic device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN109817046B (en) Learning auxiliary method based on family education equipment and family education equipment
CN109271401B (en) Topic searching and correcting method and device, electronic equipment and storage medium
CN109670504B (en) Handwritten answer recognition and correction method and device
CN109635096B (en) Dictation prompting method and electronic equipment
CN111078083A (en) Method for determining click-to-read content and electronic equipment
CN111753767A (en) Method and device for automatically correcting operation, electronic equipment and storage medium
CN109284355B (en) Method and device for correcting oral arithmetic questions in test paper
CN112990180B (en) Question judging method, device, equipment and storage medium
WO2019000681A1 (en) Information layout method, device, apparatus and computer storage medium
CN110929729A (en) Image annotation method, image annotation device and computer storage medium
CN109189895B (en) Question correcting method and device for oral calculation questions
CN111090343A (en) Method and device for identifying point-reading content in point-reading scene
CN111652141B (en) Question segmentation method, device, equipment and medium based on question numbers and text lines
CN110245606A (en) A kind of text recognition method, device, equipment and storage medium
CN112651331A (en) Text table extraction method, system, computer device and storage medium
US20220058214A1 (en) Document information extraction method, storage medium and terminal
CN111079497A (en) Click-to-read content identification method and device based on click-to-read scene
CN111079726B (en) Image processing method and electronic equipment
CN111651961A (en) Voice-based input method and device
CN114444439B (en) Test question set file generation method and device, electronic equipment and storage medium
CN111931018B (en) Test question matching and splitting method and device and computer storage medium
CN113610076A (en) Text image processing method, system and readable storage medium
JP2000148788A (en) Device and method for extracting title area from document image and document retrieving method
CN111652204A (en) Method and device for selecting target text area, electronic equipment and storage medium
CN111563497A (en) Frame question method and device based on movement track, electronic equipment and storage 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
GR01 Patent grant
GR01 Patent grant