Finger reading method, device, robot, terminal and computer storage medium

By acquiring and processing finger-reading images to determine book page information and chapters, it solves the problems of high book production costs and poor user experience in OID point-reading technology, and realizes a convenient finger-reading function without the need for additional equipment.

CN112364718BActive Publication Date: 2024-09-03深圳市云希谷科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011147163.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-23
Publication Date
2024-09-03
Estimated Expiration
2040-10-23

AI Technical Summary

Technical Problem

The existing OID reading technology requires the production of books, which is expensive, and must be used with a reading pen, so the user experience is not high.

Method used

By obtaining the finger-reading image, including content text, border lace, chapter nodes and position indication tools, the current page information and chapters are determined, and the corresponding chapter voices are obtained and played, realizing the finger-reading function without the need to recreate books and reading pens.

Benefits of technology

It reduces costs, improves user experience, realizes finger-reading functions based on existing books, and avoids additional production and equipment requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112364718B
    Figure CN112364718B
Patent Text Reader

Abstract

The present invention provides a finger reading method, device, robot, terminal and computer storage medium. By acquiring a finger reading image, the finger reading image includes a content body, a border, a chapter node and a position indication tool, the current page information and the current finger reading chapter are determined according to the finger reading image, and the current finger reading chapter voice corresponding to the current finger reading chapter is acquired and played. The present invention also provides a finger reading device, robot, terminal and computer storage medium, which can realize finger reading based on existing partial books through pre-processing, without the need to re-make books and point reading pens, thereby reducing costs, being more convenient and improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a finger-reading method, device, robot, terminal and computer storage medium. Background Art

[0002] Book reading is a very important part of people's work and life. With the development of technology, people's demand for reading assistance products is growing. Currently, a common reading assistance technology includes OID point reading technology. For OID point reading of printed materials, it is generally used with a point reading pen. When performing point reading, the point reading pen can identify the OID code hidden in the printed material and play the point reading data corresponding to the OID code.

[0003] However, the OID point-reading technology requires the production of supporting books, which is costly for consumers, and must be used with a point-reading pen, which is not convenient and the user experience is not high. Summary of the invention

[0004] In view of the shortcomings of the prior art mentioned above, the purpose of the present invention is to provide a finger-reading method, device, robot, terminal and computer storage medium, which are used to solve the problem that reading aids need to be produced in conjunction with supporting books, which is costly for consumers and must be used with a reading pen, which is not convenient enough and has a low user experience.

[0005] To achieve the above-mentioned object and other related objects, the present invention provides a finger reading method, comprising:

[0006] Acquire a finger-reading image, wherein the finger-reading image includes content body, border lace, chapter nodes and position indication tools;

[0007] Determine the current page information and the current pointing chapter according to the pointing image;

[0008] The current pointing chapter voice corresponding to the current pointing chapter is obtained and played.

[0009] Optionally, determining the current page information according to the finger-reading image includes:

[0010] Performing mask processing on the finger-reading image to respectively determine the target border outline and the target chapter node outline;

[0011] Determine a perspective finger-reading image according to the target frame lace outline;

[0012] Determine suspicious pictures according to the target chapter node outline;

[0013] The perspective finger-reading image is compared with the suspicious image by SIFT feature comparison to determine the current page information.

[0014] Optionally, performing mask processing on the finger-reading image to determine the target border outline includes:

[0015] Performing mask processing on the finger-reading image to obtain a plurality of initial contour masks;

[0016] Approximating the initial contour mask to determine a plurality of suspected border lace contours;

[0017] The plurality of suspected border lace contours are clustered to determine a target border lace contour.

[0018] Optionally, the chapter node outline includes a circular outline, and performing mask processing on the finger-reading image to determine the target chapter node outline includes:

[0019] Determine each vertex information of the target border lace outline;

[0020] Performing perspective transformation on the finger-reading image according to the vertex information to generate a perspective finger-reading image;

[0021] Performing mask processing on the perspective finger-reading image to generate a perspective image mask set, and performing contour detection on the perspective image mask set to generate a Hough transform mask;

[0022] Performing Hough circle detection on the Hough transform mask to obtain multiple suspected chapter node contours;

[0023] The chapter node outlines are classified and clustered to determine a target chapter node outline.

[0024] Optionally, determining the perspective finger-reading image according to the target frame lace outline includes:

[0025] Acquire a positioning range including the target frame lace outline, and generate a positioning image according to the finger-reading image within the positioning range;

[0026] The positioning image is perspective transformed according to the vertex information to generate a perspective finger-reading image.

[0027] Optionally, the outline of the border lace includes a rectangle, and the information of each vertex for determining the target border lace outline includes:

[0028] Determine two or three reliable contour edges from the four contour edges of the target border lace contour;

[0029] Performing mask processing on the positioning image to generate a positioning image mask, and performing image fusion on the positioning image mask to determine a binary mask;

[0030] Performing probabilistic Hough line detection on the binary mask to generate a completed contour edge;

[0031] The vertex information of the target frame lace contour is determined according to the reliable contour edge and the completed contour edge.

[0032] Optionally, at least one of the following is also included:

[0033] Determining the suspicious picture according to the target chapter node outline includes obtaining the outline information of each target chapter node and determining the chapter node code; determining the suspicious picture according to the chapter node code;

[0034] Determining the current pointed chapter based on the pointed image includes: determining a color mask from the perspective image mask set, performing image fusion, and generating a position indication tool mask; determining the outline of the position indication tool based on the position indication tool mask, and determining the point of the position indication tool outline that is closest to the top of the page as the indication position; determining the current pointed chapter based on the indication position and the current page information.

[0035] The present invention also provides a finger reading device, comprising:

[0036] An image acquisition module is used to acquire a finger-reading image, wherein the finger-reading image includes content text, borders, chapter nodes and position indication tools;

[0037] A determination module, used for determining the current page information and the current pointing reading chapter according to the pointing reading image;

[0038] The playing module is used to obtain and play the current pointing chapter voice corresponding to the current pointing chapter.

[0039] The present invention further provides a finger-reading robot, comprising an image acquisition device, a sound generating device and the finger-reading device as described in any one of the above embodiments.

[0040] The image acquisition device is used to acquire a finger reading image and send the finger reading image to the finger reading device;

[0041] The sound-generating device is used to play the voice of the current finger-reading chapter fed back by the finger-reading device.

[0042] The present invention also provides a terminal, comprising a processor, a memory and a communication bus;

[0043] The communication bus is used to connect the processor and the memory;

[0044] The processor is used to execute the computer program stored in the memory to implement the finger reading method as described in one or more of the above embodiments.

[0045] The present invention also provides a computer-readable storage medium having a computer program stored thereon.

[0046] The computer program is used to enable the computer to execute the finger reading method as described in any one of the above embodiments.

[0047] As described above, the finger reading method, device, robot, terminal and computer storage medium provided by the present invention have the following beneficial effects:

[0048] By obtaining the finger reading image, which includes the content body, border lace, chapter nodes and position indication tools, the current page information and the current finger reading chapter are determined according to the finger reading image, and the current finger reading chapter voice corresponding to the current finger reading chapter is obtained and played. Finger reading can be achieved through pre-processing of some existing books, without the need to re-make books and reading pens, which reduces costs, is more convenient and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram of a flow chart of a finger reading method provided in Embodiment 1 of the present invention;

[0050] Figure 2 A schematic diagram of a finger reading image provided in the first embodiment of the present invention;

[0051] Figure 3 Another schematic diagram of finger reading image provided in the first embodiment of the present invention;

[0052] Figure 4 Another schematic diagram of finger reading image provided in the first embodiment of the present invention;

[0053] Figure 5 A schematic diagram of another text page provided in the first embodiment of the present invention;

[0054] Figure 6 Another schematic diagram of finger reading image provided in the first embodiment of the present invention;

[0055] Figure 7 A schematic diagram of a book finger reading method flow chart provided in the first embodiment of the present invention;

[0056] Figure 8 A schematic diagram of a specific finger reading method flow chart provided in the first embodiment of the present invention;

[0057] Fig. 9 A schematic diagram of the structure of a finger reading device provided in the second embodiment of the present invention;

[0058] Fig.10 A schematic diagram of the structure of a terminal provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0059] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0060] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0061] Embodiment 1

[0062] See also Figure 1 , an embodiment of the present invention provides a finger reading method, comprising:

[0063] S101: Acquire a finger-reading image.

[0064] In some embodiments, the finger-reading image includes content text, borders, chapter nodes, and position indicator tools.

[0065] The position indicating tool includes but is not limited to a finger, a pen, a ruler, and other tools that can be used to indicate a certain position of the content body.

[0066] In some embodiments, the chapter node includes a pattern having a certain shape or pattern that is different from text and punctuation marks.

[0067] In some embodiments, the finger reading method provided by the embodiment of the present invention is applied to a page including: Figure 2 The body of the book or document shown has a border pattern 4 around it, and the body of the book or document is interspersed with Figure 2 The clearly marked chapter node 5 shown, it should be noted that Figure 2 The border pattern and chapter node are only examples, and the finger reading method provided in this embodiment can also be applied to books or files with border patterns and chapter nodes of other shapes.

[0068] In some embodiments, the present invention is applied to finger reading of books, journals, magazines, etc., whose pages have borders and whose texts have chapter nodes. Taking books as an example, books with the same content published by different publishing houses usually have slightly different layouts. If the text pages of these books all have obvious border patterns, see Figure 2 , Figure 3 , Figure 4 and Figure 5 The example of the text page shown in the figure also includes chapter nodes in the text content. Therefore, finger reading can be realized based on the border patterns and chapter nodes of the published book by pre-processing and storing the existing printed information of the book.

[0069] In some embodiments, see Figure 2 The finger-reading image 1 includes a border lace 4, a chapter node 5, a content body 3, and a position indication tool 2.

[0070] In some embodiments, the position indicating tool is as Figure 2 The tool shown may be a finger, or a pen or other tool, which is not limited here.

[0071] In some embodiments, the finger reading image may be collected by other devices and then sent to the device currently executing the finger reading method, or may be directly collected by the device currently executing the finger reading method itself, which is not limited here.

[0072] In some embodiments, the finger-reading image includes a front image of the page. It should be noted that the finger-reading image may also be acquired by an image acquisition device at a certain angle to the page. In this case, due to the viewing angle, the finger-reading image has a certain degree of "distortion", such as Figure 3 As shown, at this time, without affecting the recognition of the border pattern 4 and the chapter node 5, this type of finger-reading image can also be applied to the finger-reading method provided in this embodiment.

[0073] In some embodiments, before acquiring the finger reading image, the finger reading method further includes:

[0074] Get the trigger action and capture the finger reading image.

[0075] Optionally, the trigger action includes but is not limited to at least one of the following: the execution tool stays at the same position for more than a preset time, voice command, double-clicking the page, nodding, shaking the head, etc.

[0076] In some embodiments, the finger reading method further comprises:

[0077] The identity identification mark of the current pointed reading book or file is obtained, and the current pointed reading chapter voice is subsequently determined according to the identity identification mark and the current pointed reading chapter.

[0078] In some embodiments, before acquiring the finger reading image, the finger reading method further includes:

[0079] Acquire a reference image of each text page of the pointed-to-read object;

[0080] Obtaining reference chapter node information in each standard image;

[0081] The base chapter node code is determined according to the base chapter node information.

[0082] Optionally, each page of the pointed-to object and the reference chapter node code are pre-stored for subsequent determination of suspicious pages.

[0083] Optionally, the finger reading object is the content text to which the finger reading method is applied, including objects such as books or files with border patterns and chapter nodes.

[0084] Optionally, taking the reading object as an example of a book X, the reference picture information of the entire book X is obtained, that is, all the inner page pictures are photographed from the front; the chapter node information of each page is obtained, and the chapter node information includes but is not limited to whether there is a chapter node on each page, the number of chapter nodes, and the location information of the chapter nodes, and the chapter node code is determined according to the above chapter node information to facilitate subsequent content recognition and stored in a database; the voice information of each page and chapter of the book X is stored in the database according to the number of pages and chapters. Since there may be differences in typesetting for different versions of the same book X, but the content of each chapter is consistent, the voice information can use the same set of voice information. When a book X with a new typesetting is needed, it is only necessary to re-acquire the reference chapter node codes of each page of the new book X, and re-associate the number of pages and chapters.

[0085] Optionally, the benchmark chapter node codes, benchmark images and chapter voices of several common finger-reading objects can be pre-stored in the basic database, and corresponding identity recognition information can be set for each one. When the user changes to a new finger-reading object, the data in the basic database of the corresponding service is selected based on the identity recognition information.

[0086] In some embodiments, it can be set to automatically acquire the finger reading image every preset time, wherein the preset time can be set according to the needs of those skilled in the art, or can be set by the user, which is not limited here.

[0087] In some embodiments, the finger reading image is an image in a preset acquisition area acquired by the image acquisition device. The finger reading image may also include the following: Figure 3 , Figure 4 , Figure 5 The peripheral interference images shown, such as the image of the desktop, etc.

[0088] S102: Determine the current page information and the current pointed-to-read chapter according to the pointed-to-read image.

[0089] Optionally, the current page information includes the page number, and the current chapter includes the chapter number.

[0090] In some embodiments, determining the current page information according to the finger-reading image includes:

[0091] Perform mask processing on the finger-reading image to determine the target border outline and the target chapter node outline respectively;

[0092] Determine the perspective and then read the image according to the target frame lace outline;

[0093] Determine suspicious images based on the target chapter node outline;

[0094] The SIFT feature comparison is performed between the perspective finger-reading image and the suspicious image to determine the current page information.

[0095] In some embodiments, performing mask processing on the finger reading image to determine the target border outline includes:

[0096] Performing mask processing on the finger-reading image to obtain multiple initial contour masks;

[0097] Approximation processing is performed on the initial contour mask to determine multiple suspected border lace contours;

[0098] Clustering is performed on multiple suspected border lace contours to determine the target border lace contour.

[0099] Optionally, performing mask processing on the finger reading image includes but is not limited to performing any one of Canny, Sobel, and Laplace processing on the finger reading image.

[0100] Optionally, before the initial contour mask of the finger-reading image is approximated, the method further includes performing contour detection on each initial contour mask, filtering according to a first preset condition, adding the filtered initial contour set, and then performing approximation processing on the filtered initial contour set. The first preset condition includes a first preset area, etc., and the first preset area is close to the area included in the border area of ​​the page. In this way, noise points or text content contours can be filtered out to avoid affecting subsequent processing.

[0101] Optionally, after the initial outline mask is approximated and before multiple suspected border lace outlines are determined, the method further includes screening the thick border lace outline obtained after the approximation according to a second preset condition, and the screened thick border lace outline is the suspected border lace outline. The second preset condition includes a second preset area, the number of vertices, the aspect ratio, etc. In this way, a more accurate page border lace outline can be screened out. See Figure 6 In the example, a suspected border lace outline 6 is shown.

[0102] Optionally, multiple suspected border lace contours are clustered to determine the target border lace contour, including classifying and clustering each suspected border lace contour to classify the single page contours of a single page in the suspected border lace contours, and then clustering each type of contour after classification and clustering to obtain the target border lace contour, which includes relatively accurate single page contour information.

[0103] Optionally, the outline of the border lace includes a rectangle, and the vertex information of the target border lace outline is determined including:

[0104] Determine two or three reliable contour edges from the four contour edges of the target border lace contour;

[0105] Perform mask processing on the positioning image to generate a positioning image mask, and perform image fusion on the positioning image mask to determine a binary mask;

[0106] Perform probabilistic Hough line detection on the binary mask to generate completed contour edges;

[0107] The vertex information of the target border lace contour is determined according to the reliable contour edge and the completed contour edge.

[0108] Optional, continue to see Figure 6 If the suspected border lace outline 6 is the target border lace outline, the positioning range can be achieved by extracting the circumscribed rectangle 7 of the target border lace outline, and expanding the circumscribed rectangle 7 in the horizontal and vertical directions by a certain proportion, and extracting the image of the corresponding position in the finger-reading image according to the positioning range where the expanded circumscribed rectangle 8 is located as a positioning image, and the positioning image is used for subsequent determination of the current page information.

[0109] Optionally, whether the page image included in the positioning image is complete can be determined by determining whether the position information of the four vertices of the target border outline in the positioning image contains vertices of the boundary of the critical expanded circumscribed rectangle. For details, see Figure 6 , the four vertices 9 are at a certain distance from the outer bounding rectangle. At this time, the page image in the positioning image is complete. Figure 4 , the lower left vertex in the positioning image overlaps with the outward-expanded circumscribed rectangle 8, which indicates that there is a page image missing in the positioning image.

[0110] Optionally, when it is determined that there is a missing page image in the positioning image, two or three reliable contour edges are determined from the four contour edges of the target border lace contour. Among them, the vertex information that may be missing in the positioning image and the two or three more reliable contour edges of the four edges can be determined by the slope, offset, direction information of the four vertices, and the positional relationship between each vertex and the outer-expanded circumscribed rectangle of each edge of the target border lace contour in the positioning image.

[0111] Optionally, the method of performing mask processing on the positioning image includes but is not limited to any one of the following: Canny processing, Sobel processing, custom binary processing, etc.

[0112] Optionally, the positioning image mask may be fused using methods including but not limited to Canny7:0.5, Canny3:0.5, etc.

[0113] Optionally, a binary mask for line detection.

[0114] Optionally, performing probabilistic Hough line detection on the binary mask to generate a completed contour edge includes: performing probabilistic Hough line detection on the binary mask, and subjecting the detected straight line setting conditions to a third preset condition screening, and determining one or two completed contour edges according to the number of previous reliable contour edges. The third preset condition includes but is not limited to whether the range where the straight line is located is within the correct range, the position information of the intersection of the straight line and the reliable contour edge, etc.

[0115] In some embodiments, the chapter node outline includes a circular outline, and performing mask processing on the finger-reading image to determine the target chapter node outline includes:

[0116] Determine the vertex information of the target border lace outline;

[0117] Perform perspective transformation on the finger-reading image according to the vertex information to generate a perspective finger-reading image;

[0118] Performing mask processing on the finger-reading image after perspective to generate a perspective image mask set, and performing contour detection on the perspective image mask set to generate a Hough transform mask;

[0119] Perform Hough circle detection on the Hough transform mask to obtain multiple suspected chapter node contours;

[0120] Classify and cluster the chapter node outlines to determine the target chapter node outlines.

[0121] Optionally, determining the perspective finger-reading image according to the target border lace outline includes:

[0122] Acquire a positioning range including the outline of the target border, and generate a positioning image according to the finger-reading image within the positioning range;

[0123] The positioning image is perspective transformed according to the vertex information to generate a perspective finger-reading image.

[0124] Optionally, mask processing of the finger-reading image after perspective includes but is not limited to any one of the following: Canny processing, Sobel processing, custom binary processing, etc.

[0125] Optionally, after performing contour detection on the perspective image mask set and before generating the Hough transform mask, the method further includes: performing a fourth preset condition screening on the contour detection result, and generating the Hough transform mask according to the fourth screening result. The fourth preset condition includes but is not limited to the area size, the length-width ratio of the circumscribed rectangle, whether the position is within the range of the recognized book content, etc.

[0126] Optionally, after performing Hough circle detection on the Hough transform mask and before obtaining multiple suspected chapter node outlines, the method further includes: performing a fifth preset condition screening on the result of the Hough circle detection, and determining the suspected chapter node outline after the fifth screening. The fifth preset condition includes but is not limited to the center position of the circle, the radius of the circle, etc.

[0127] Optionally, if the chapter node is other graphics, such as a pentagon, etc., the Hough transform mask performs shape detection that is adapted to the shape of the chapter node to obtain a suspected chapter node outline.

[0128] Optionally, determining suspicious images based on target chapter node outlines includes:

[0129] Obtain the outline information of each target chapter node and determine the chapter node code;

[0130] Determine suspicious images based on chapter node codes.

[0131] Optionally, the target chapter node outline information includes but is not limited to whether there is a chapter node on each page, the number of chapter nodes, the location information of the chapter nodes, etc.

[0132] Optionally, determining the suspicious image according to the chapter node code includes comparing the chapter node code with a preset reference chapter node code, and when the chapter node position information and chapter node quantity information corresponding to the chapter node code are a subset or a complete set of the reference chapter node position information and reference chapter node quantity information corresponding to the reference chapter node code, the page image corresponding to the reference chapter node code is regarded as a suspicious image. It should be noted that in this way, the problem caused by the missing of part of the chapter node information caused by the missing of part of the page in the finger-reading image can be ignored.

[0133] Optionally, determining the current finger-reading chapter according to the finger-reading image includes:

[0134] Determine a color mask from the perspective image mask set, perform image fusion, and generate a position indicator tool mask;

[0135] Determine the outline of the position indicating tool according to the position indicating tool mask, and determine the point where the outline of the position indicating tool is closest to the top of the page as the indicating position;

[0136] The current chapter is determined based on the indicated position and current page information.

[0137] When the indicating tool includes a finger, a skin color mask is obtained, and HSV and YCbCr color masks are extracted from the perspective image mask set for image fusion to generate a position indicating tool mask; contour detection is performed on the generated position indicating tool mask, and the contour of the hand is determined by screening through the sixth preset condition, and the maximum value point on the vertical axis of the contour is extracted as the fingertip position. The sixth preset condition includes but is not limited to the area size, the area where the contour is located, etc. The area size is similar to the size of the human hand.

[0138] S103: Acquire and play the current pointing chapter voice corresponding to the current pointing chapter.

[0139] Optionally, when the indicating tool includes a finger, the current finger-reading chapter information is determined according to the fingertip position and page information, and audio information is extracted from the audio database according to the number of pages and chapters; the audio information is played through the device to complete the entire finger-reading operation.

[0140] In some embodiments, obtaining and playing the current pointing chapter voice corresponding to the current pointing chapter includes:

[0141] Get the current pointing chapter voice corresponding to the current pointing chapter;

[0142] Get the playback signal and play the current chapter voice.

[0143] In some embodiments, it is possible to obtain a finger-reading image every preset time, and determine the current finger-reading chapter based on the finger-reading image, but play the current finger-reading chapter voice only after obtaining a play signal, wherein the play signal includes but is not limited to a voice control signal, a mechanical control signal, and the like.

[0144] In some embodiments, the current chapter reading voice is stored in the cloud, and the current chapter reading voice can be played through a networked playback device, such as a speaker connected to the network.

[0145] In some embodiments, a speaker may be connected via Bluetooth to play the voice of the current chapter being pointed out.

[0146] In some embodiments, after performing perspective transformation on the finger-reading image according to the vertex information and generating a finger-reading image after perspective, the method further includes: obtaining a historical finger-reading image after perspective, which is a finger-reading image after perspective generated according to the finger-reading image acquired last time; if the historical finger-reading image after perspective is the same as the finger-reading image after perspective, obtaining the current page information determined by the finger-reading method executed last time as the current page information corresponding to the finger-reading image acquired this time. The current finger-reading chapter can be directly determined according to the finger-reading image acquired this time, and then the current finger-reading chapter voice can be determined according to the current page information and the current finger-reading chapter.

[0147] In some embodiments, the finger reading method can be executed locally or in the cloud, which is not limited here.

[0148] Optionally, the finger-reading method of this embodiment can store the pre-collected page images of the finger-reading object, the reference chapter node codes corresponding to each page image, and the voices of each chapter in a cloud server. After the finger-reading images are collected by a local image acquisition device, they are sent to the cloud server. The cloud server executes the finger-reading method and plays the determined current finger-reading chapter voice locally through a local speaker via network transmission.

[0149] Optionally, the pre-collected page images of the finger-reading object, the reference chapter node codes corresponding to the page images, and the voices of the chapters can be stored locally. After the finger-reading images are collected by a local image acquisition device, the finger-reading method is executed locally and the determined current finger-reading chapter voice is played.

[0150] Optionally, each page image of the pointed-to-read object, as well as the reference chapter node code corresponding to each page image and each chapter voice may be partially stored in the cloud server and partially stored locally, which is not limited here.

[0151] The finger reading method provided in this embodiment is further illustrated below by a specific embodiment. Referring to FIG. 7 , a finger reading method for a book includes:

[0152] S701: Book preprocessing.

[0153] Optionally, preprocessing is as follows:

[0154] Obtain a reference image of the entire book, that is, take a front-down shot of all the inner pages of the book to obtain the page images of the inner pages;

[0155] Obtaining the reference chapter node information of each page, the reference chapter node information includes whether there is a chapter node on each page, the number of chapter nodes, and the location information of the chapter nodes, and generating a reference chapter node code according to the reference chapter node information;

[0156] The reference image and reference chapter node codes are stored in a database;

[0157] The voice information of each page and chapter of the book is stored in a database according to the number of pages and chapters.

[0158] Among them, the reference chapter node code is used for subsequent determination of the current page information.

[0159] S702: Acquire the finger-reading image and determine the page information.

[0160] Optionally, by setting a frequency (such as 0.5s), the finger reading image of the preset area is acquired at a certain frequency.

[0161] Optionally, the page information is determined as follows:

[0162] Performing mask processing on the acquired finger-reading image within the preset area, wherein the processing methods include but are not limited to Canny, Sobel, Laplace, etc.;

[0163] Performing contour detection on the initial contour masks of the finger-reading image in the processed mask set respectively, and setting a first preset condition (area size) for screening to screen out noise points or text content contours to avoid affecting subsequent processing, and then summing the screened initial contour sets;

[0164] Approximation processing is performed on the filtered initial contour set, and the second preset condition (area size, number of vertices, aspect ratio) is set again for screening to screen out more accurate suspected border lace contours;

[0165] Performing classification and clustering operations on the suspected border lace outline set that has been screened again, and classifying the single page outlines of the same page in the suspected border lace outlines;

[0166] Perform the optimal clustering operation on each type of contour after classification and clustering to obtain the precise target border lace contour;

[0167] According to the target border outline extracted after the above clustering, the bounding rectangle is extracted, and the bounding rectangle is expanded in a certain proportion in the horizontal and vertical directions, and the image (positioning image) at the corresponding position in the finger-reading image is extracted according to the expanded bounding rectangle information after the expansion to serve as the preliminary page information positioning picture range, and then the relative position coordinate information of the target border outline information in the expanded bounding rectangle is determined, that is, the relative position coordinate information of the target border outline information in the positioning image is determined;

[0168] Perform a zip operation on the target border outline information, expanded bounding rectangle information, and relative position coordinate information in the positioning image, and use them as the positioning information of the current page;

[0169] Perform missing judgment, specifically, the missing judgment includes judging whether the border of the target border lace contour is missing in the positioning image according to whether the vertex information of the target border lace contour in the positioning information of the current page is critical to the external expansion of the circumscribed rectangle, and if there is no missing, performing perspective transformation according to the contour vertex information and adding the perspective finger-reading image after perspective transformation to the perspective result set;

[0170] If there is a missing part, the perspective finger-reading image obtained by perspective is compared with the perspective finger-reading image obtained by the last perspective. If the page is not turned (the two are the same), the last page number information is used and the current finger-reading chapter is directly determined. If the page is turned, the direction information of the available edge in the target border lace outline (up, down, left, and right), the basic information of the available edge (slope, offset, etc.), the direction information of the four vertices (vertical + horizontal, such as the upper left) are determined according to the positioning information, and the corner point information that may be missing in the positioning image and the information of three or two of the four edges that are more reliable are determined in combination with the missing judgment;

[0171] Performing a mask operation on the positioning image to generate a positioning image mask, wherein the mask operation includes but is not limited to at least one of Canny, Sobel, and custom binary;

[0172] The processed positioning image mask is fused with a certain ratio of images (such as Canny7:0.5, Canny3:0.5), and then threshold screening is performed to obtain a binary mask for line detection;

[0173] Perform probabilistic Hough line detection on the binary mask obtained in the previous step, and set the detected straight lines to the third preset condition for screening (whether the range of the straight line is within the correct range, the position information of the intersection of the straight line and the reliable straight line, etc.), and obtain one or two calculated complementary straight lines according to the number of reliable straight lines before;

[0174] The four vertex information is re-calculated according to the completed straight line and the reliable straight line, and the perspective transformation is performed to add the perspective finger-reading image to the perspective result set;

[0175] A mask operation is performed on the contents in the obtained perspective result set respectively, and the mask operation includes but is not limited to at least one of Canny, Sobel, and custom binary.

[0176] Perform contour detection on the perspective mask set, and set the fourth preset condition (area size, length-width ratio of the circumscribed rectangle, whether the position is within the recognized book content range, etc.) to perform contour screening, and make a Hough transform mask for Hough transform based on the acquired contour information;

[0177] Perform Hough circle detection on the Hough transform mask obtained in the previous step, and set the fifth preset condition (center position, circle radius) for screening;

[0178] Classify and cluster the filtered suspected chapter node outline information;

[0179] Clustering the outline information after classification and clustering to find the optimal solution, determining the target chapter node outline, encoding according to the position information of the target chapter node outline, the number information of the determined target chapter node outline, etc., to generate the chapter node code;

[0180] According to the position information of the chapter node in the chapter node code, a comparison is performed in the database obtained by preprocessing and storing the reference chapter node code. When the position content of the chapter node code is a subset or a complete set of the code position of the reference chapter node code, the page image corresponding to the reference chapter node code is stored in the suspicious image set, wherein the influence of the partial node missing caused by the partial missing of the inner page content may not be considered; for example, the chapter node code information includes 2 chapter nodes, and their positions are respectively at the beginning of the first line and the middle of the second line. At this time, the page images corresponding to the reference chapter node code including the beginning of the first line and the middle of the second line with chapter nodes are all added to the suspicious image set;

[0181] The current perspective finger-reading image is compared with the suspicious image set by SIFT (Scale-Invariant Feature Transform), and the suspicious image with the highest feature matching value is used as the current page, and the page number corresponding to the suspicious image is used as the page number of the current page. Optionally, the current page information includes the page number of the current page.

[0182] S703: Obtain the chapter currently being read.

[0183] When the indicating tool includes a finger, a skin color mask is obtained, and HSV and YCbCr color masks are extracted from the perspective image mask set for image fusion to generate a position indicating tool mask; contour detection is performed on the generated position indicating tool mask, and the contour of the hand is determined by screening through the sixth preset condition, and the maximum value point on the vertical axis of the contour is extracted as the fingertip position. The sixth preset condition includes but is not limited to the area size, the area where the contour is located, etc. The area size is similar to the size of the human hand.

[0184] S704: Acquire and play the current pointing chapter voice corresponding to the current pointing chapter.

[0185] Optionally, when the indicating tool includes a finger, the current finger-reading chapter information is determined according to the fingertip position and page information, and audio information is extracted from the audio database according to the number of pages and chapters; the audio information is played through the device to complete the entire finger-reading operation.

[0186] In some embodiments, book finger reading is implemented based on robots, and the implementation process is as follows: Figure 8 As shown:

[0187] S801: Turn on the device and enable finger-to-read mode;

[0188] S802: Turning the book to a page that needs finger reading recognition within a preset area of ​​the device recognition area;

[0189] S803: Perform finger reading operation within a preset area;

[0190] S804: timing detection, obtaining the finger reading image and determining the current page information;

[0191] S805: Determine the current indicated position;

[0192] S806: Determine the current pointed chapter according to the current page information and the indicated position;

[0193] S807: Determine the current pointing chapter voice corresponding to the current pointing chapter, and play it.

[0194] Optionally, steps S801 to S803 may be implemented based on user operations, and steps S804 to S806 may be identified by corresponding robot devices.

[0195] The embodiment of the present invention provides a finger reading method, which obtains a finger reading image, which includes a content body, a border, a chapter node and a position indication tool. The current page information and the current finger reading chapter are determined according to the finger reading image, and the current finger reading chapter voice corresponding to the current finger reading chapter is obtained and played. Finger reading can be achieved based on some existing books through pre-processing, without the need to re-produce books and reading pens, thereby reducing costs, being more convenient, and improving user experience.

[0196] Optionally, the object to be pointed and read can be identified based on visual recognition technology. For a pointing and reading object with slightly different layout, it is only necessary to re-collect the reference image and reference chapter node information to realize the pointing and reading of the new pointing and reading image, which is low-cost, simple and convenient. For example, to point and read the same book with different layouts based on visual recognition technology, it is only necessary to re-perform the preprocessing operation, re-collect the reference image and reference chapter node information and match them with the chapter voice, and the book can be pointed and read, and most versions of the same content as the book on the market can be identified.

[0197] Optionally, two or three reliable contour edges are determined from the four contour edges of the target border lace contour, the positioning image is masked, a positioning image mask is generated, and the positioning image mask is image fused to determine a binary mask, and a probabilistic Hough line detection is performed on the binary mask to generate a completed contour edge, and the vertex information of the target border lace contour is determined based on the reliable contour edge and the completed contour edge; in the case of missing corners due to placement and other reasons, the finger-reading image can be better transformed in perspective for comparison to finally determine the current page information. The page image obtained by multi-mask addition, contour screening and line detection can also achieve better recognition when there are certain missing corners.

[0198] Embodiment 2

[0199] See also Fig. 9 The embodiment of the present invention further provides a finger reading device 900, including:

[0200] An image acquisition module 901 is used to acquire a finger-reading image, which includes a content body, a border, a chapter node, and a position indicator;

[0201] A determination module 902 is used to determine the current page information and the current pointed reading chapter according to the pointed reading image;

[0202] The playing module 903 is used to obtain and play the current pointing chapter voice corresponding to the current pointing chapter.

[0203] In this embodiment, the finger reading device is substantially provided with multiple modules for executing the finger reading method in the above embodiment. The specific functions and technical effects can be referred to the above embodiment 1, which will not be described again here.

[0204] An embodiment of the present invention further provides a finger-reading robot, the finger-reading robot comprising an image acquisition device, a sound generating device and the finger-reading device described in any one of the above embodiments.

[0205] The image acquisition device is used to acquire the finger reading image and send the finger reading image to the finger reading device;

[0206] The sound-generating device is used to play the voice of the current pointing and reading chapter fed back by the pointing and reading device.

[0207] Optionally, the image acquisition device includes a 300,000-megapixel camera, the sound module includes a speaker, and the finger-reading device includes a cloud server.

[0208] The implementation of the finger-reading robot does not require reprinting of the finger-reading object (books, etc.). The finger-reading object is placed in a preset acquisition area for the finger-reading robot's image acquisition. After preprocessing the finger-reading object, the finger-reading robot only needs to be connected to the network. The image acquisition device transmits the acquired finger-reading image to the finger-reading device through the network. After the finger-reading device determines the current finger-reading chapter voice, it controls the generating device to play the current finger-reading chapter voice, so that reading can be achieved wherever the finger is pointed. The device is simple and portable, which improves the user experience.

[0209] In some embodiments, the current chapter reading voice is stored in the cloud, and the finger reading device feeds back the current chapter reading voice to the sound device, and the current chapter reading voice can be played through the networked sound device, such as a speaker connected to the network.

[0210] Optionally, the sound-generating device is used to play the current pointing and reading chapter voice fed back by the pointing and reading device, including the sound-generating device playing the current pointing and reading chapter voice according to the control of the pointing and reading device.

[0211] In some embodiments, the finger-reading device supports Bluetooth function, and can also connect to a sound device such as a speaker, Bluetooth headset, etc. via Bluetooth to play the voice of the current finger-reading chapter. In some embodiments, the image acquisition device and the sound device can be integrated on a wearable device, and the wearable device supports at least one network connection among 2G, 3G, 4G, 5G, and WIFI networks.

[0212] In some embodiments, the image acquisition device and the sound device can be integrated into a smart glasses frame, and the smart glasses frame supports at least one network connection among 2G, 3G, 4G, 5G, and WIFI networks. The sound device includes two speakers, and the two speakers are respectively arranged on two temples. Optionally, the speaker includes a bone conduction speaker.

[0213] See also Fig.10 , the embodiment of the present invention further provides a terminal 1000, including a processor 1001, a memory 1002 and a communication bus 1003;

[0214] The communication bus 1003 is used to connect the processor 1001 and the memory 1002;

[0215] The processor 1001 is used to execute the computer program stored in the memory 1002 to implement one or more finger-reading methods as described in the above-mentioned embodiment 1.

[0216] The embodiment of the present invention further provides a computer-readable storage medium, characterized in that a computer program is stored thereon.

[0217] The computer program is used to enable a computer to execute the finger-reading method as described in any one of the above-mentioned embodiments.

[0218] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of the steps included in the embodiment 1 of the embodiment of the present application.

[0219] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0220] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0221] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0222] The flow chart and block diagram in the accompanying drawings illustrate the possible implementation architecture, function and operation of the method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0223] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A finger reading method, It is characterized in that include: Acquire a finger-reading image, wherein the finger-reading image includes content body, border lace, chapter nodes and position indication tools; Determine the current page information and the current pointing chapter according to the pointing image; Obtain the current pointing chapter voice corresponding to the current pointing chapter and play it; Wherein, determining the current page information according to the finger-reading image comprises: Performing mask processing on the finger-reading image to respectively determine the target border outline and the target chapter node outline; Determine a perspective finger-reading image according to the target frame lace outline; Determine suspicious pictures according to the target chapter node outline; Perform SIFT feature comparison between the perspective finger-reading image and the suspicious image to determine the current page information; Wherein, determining the suspicious image according to the target chapter node outline includes: obtaining the outline information of each target chapter node and determining the chapter node code; determining the suspicious image according to the chapter node code; the target chapter node outline information includes whether there is a chapter node on each page, the number of chapter nodes, and the location information of the chapter nodes; Determining the suspicious image according to the chapter node code includes comparing the chapter node code with a preset reference chapter node code, and when the chapter node position information and the chapter node quantity information corresponding to the chapter node code are a subset or a complete set of the reference chapter node position information and the reference chapter node quantity information corresponding to the reference chapter node code, taking the page image corresponding to the reference chapter node code as the suspicious image; Determining the current pointed chapter based on the pointed image includes: determining a color mask from a perspective image mask set, performing image fusion, and generating a position indication tool mask; determining the outline of the position indication tool based on the position indication tool mask, and determining the point of the position indication tool outline that is closest to the top of the page as the indication position; determining the current pointed chapter based on the indication position and the current page information.

2. The finger reading method according to claim 1, It is characterized in that The performing mask processing on the finger-reading image to determine the target frame lace outline comprises: Performing mask processing on the finger-reading image to obtain a plurality of initial contour masks; Approximating the initial contour mask to determine a plurality of suspected border lace contours; The plurality of suspected border lace contours are clustered to determine a target border lace contour.

3. The finger reading method as claimed in claim 2, It is characterized in that The chapter node outline includes a circular outline, and performing mask processing on the finger-reading image to determine the target chapter node outline includes: Determine each vertex information of the target border lace outline; Performing perspective transformation on the finger-reading image according to the vertex information to generate a perspective finger-reading image; Performing mask processing on the perspective finger-reading image to generate a perspective image mask set, and performing contour detection on the perspective image mask set to generate a Hough transform mask; Performing Hough circle detection on the Hough transform mask to obtain multiple suspected chapter node contours; The chapter node outlines are classified and clustered to determine a target chapter node outline.

4. The finger reading method as claimed in claim 3, It is characterized in that Determining the perspective finger-reading image according to the target frame lace outline includes: Acquire a positioning range including the target frame lace outline, and generate a positioning image according to the finger-reading image within the positioning range; The positioning image is perspective transformed according to the vertex information to generate a perspective finger-reading image.

5. The finger reading method as claimed in claim 4, It is characterized in that The outline of the border lace includes a rectangle, and the vertex information for determining the target border lace outline includes: Determine two or three reliable contour edges from the four contour edges of the target border lace contour; Performing mask processing on the positioning image to generate a positioning image mask, and performing image fusion on the positioning image mask to determine a binary mask; Performing probabilistic Hough line detection on the binary mask to generate a completed contour edge; The vertex information of the target frame lace contour is determined according to the reliable contour edge and the completed contour edge.

6. A finger reading device, It is characterized in that The finger-reading method for implementing claim 1 comprises: An image acquisition module is used to acquire a finger-reading image, wherein the finger-reading image includes content text, borders, chapter nodes and position indication tools; A determination module, used for determining the current page information and the current pointing reading chapter according to the pointing reading image; The playing module is used to obtain and play the current pointing chapter voice corresponding to the current pointing chapter.

7. A finger-reading robot, It is characterized in that It comprises an image acquisition device, a sound generating device and the finger reading device as claimed in claim 6, The image acquisition device is used to acquire a finger reading image and send the finger reading image to the finger reading device; The sound-generating device is used to play the voice of the current finger-reading chapter fed back by the finger-reading device.

8. A terminal, It is characterized in that including a processor, a memory and a communication bus; The communication bus is used to connect the processor and the memory; The processor is used to execute the computer program stored in the memory to implement the finger reading method as described in one or more of claims 1-5.

9. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, The computer program is used to enable the computer to execute the finger-reading method according to any one of claims 1 to 5.