CN113709322B - Scanning method and related equipment thereof - Google Patents
Scanning method and related equipment thereof Download PDFInfo
- Publication number
- CN113709322B CN113709322B CN202110981888.1A CN202110981888A CN113709322B CN 113709322 B CN113709322 B CN 113709322B CN 202110981888 A CN202110981888 A CN 202110981888A CN 113709322 B CN113709322 B CN 113709322B
- Authority
- CN
- China
- Prior art keywords
- scanning
- text
- data
- scanned
- mimicry
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/04—Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
- H04N1/10—Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa using flat picture-bearing surfaces
- H04N1/107—Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa using flat picture-bearing surfaces with manual scanning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/0035—User-machine interface; Control console
- H04N1/00352—Input means
- H04N1/00392—Other manual input means, e.g. digitisers or writing tablets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/0035—User-machine interface; Control console
- H04N1/00405—Output means
- H04N1/00408—Display of information to the user, e.g. menus
- H04N1/00411—Display of information to the user, e.g. menus the display also being used for user input, e.g. touch screen
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a scanning method and related equipment thereof, wherein the method comprises the following steps: after the scanning device receives the device scanning data aiming at the text object to be scanned, the scanning device displays the device scanning data and displays the boundary marker; the scanning device responds to a first operation triggered by a user aiming at the boundary marker, and adjusts the display position of the boundary marker so as to acquire the text to be used of the text object to be scanned from the scanning data of the device according to the display position of the boundary marker after the preset stop condition is confirmed to be reached; finally, the scanning device displays the text to be used so that the text to be used can show the text content which the user wants to extract from the text object to be scanned, so that the flexibility of long text scanning can be improved, the long text scanning effect can be improved, and the user scanning experience can be improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a scanning method and related devices.
Background
With the rapid development of scanning technology, the application range of scanning devices (e.g., scanning pens, etc.) is becoming wider and wider. For example, a scanning pen with dictionary function can replace a traditional key electronic dictionary to perform word generation inquiry, so that the scanning pen with dictionary function is popular with language learners.
However, the scanning result for a long text recording object (for example, a page in a storybook) by the scanning device is also defective due to the defect of the scanning device, so that the long text scanning effect is poor, which results in poor user scanning experience. Where "long text recording object" refers to a scanning medium for recording long text. "long text" refers to text data in which the number of characters exceeds a preset number threshold.
Disclosure of Invention
The main purpose of the embodiment of the application is to provide a scanning method and related equipment, which can improve the scanning effect of a long text, thereby improving the scanning experience of a user.
The embodiment of the application provides a scanning method which is applied to scanning equipment, and comprises the following steps:
After receiving device scan data for a text object to be scanned, displaying the device scan data and displaying a boundary marker;
adjusting a display position of the boundary marker in response to a first operation triggered by a user for the boundary marker;
and after the preset stopping condition is determined to be reached, acquiring and displaying the text to be scanned of the text object to be scanned from the equipment scanning data according to the display position of the boundary marker.
In one possible implementation, the boundary marker comprises at least one marker, and the at least one marker comprises a target;
The adjusting, in response to a first operation triggered by a user for the boundary marker, a display position of the boundary marker includes:
and adjusting the display position of the target symbol in response to a second operation triggered by the user for the target symbol.
In a possible implementation manner, the at least one marker further comprises an association of the target;
the adjusting the display position of the target comprises:
And if the target symbol is determined to meet the preset marking condition, adjusting the display position of the target symbol, and adjusting the display position of the associated symbol of the target symbol.
In a possible embodiment, the scanning device comprises a long text scanning element, and the device scan data is obtained by scanning the long text scanning element for the text object to be scanned.
In one possible embodiment, the scanning device further comprises a display screen, and the relative positional relationship between the long text scanning element and the display screen satisfies a first positional condition.
In one possible embodiment, the scanning device further comprises a display screen, and the long text scanning element is mounted at a preset position in the display screen.
In one possible implementation, the scanning device further includes a display screen, and the long text scanning element is mounted at a preset position in the display screen according to a preset inclination angle.
In one possible embodiment, the scanning device further comprises an adjustment control;
The method further comprises the steps of:
And responding to a third operation triggered by the user for the adjustment control, and adjusting the scanning visual angle of the long text scanning element.
In one possible embodiment, the scanning device further comprises a short text scanning element; the relative positional relationship between the short text scanning element and the long text scanning element satisfies a second positional condition.
In one possible embodiment, the scanning device further comprises a switch control;
The method further comprises the steps of:
And when the trigger action of the user for the switch control meets a preset action condition, starting the long text scanning element and closing the short text scanning element.
In one possible embodiment, the method further comprises:
displaying a deduction icon when the text content type of the to-be-used scanning text meets the preset type condition;
Responding to a fourth operation triggered by the user aiming at the deduction icon, and determining at least one mimicry character and data to be displayed corresponding to the mimicry character according to the text to be used;
displaying at least one mimicry character and displaying data to be displayed corresponding to the mimicry character.
In one possible implementation manner, the determining process of the at least one mimicry person and the data to be displayed corresponding to the at least one mimicry person includes:
According to the to-be-used scanning text, determining at least one to-be-deducted role and display data corresponding to the at least one to-be-deducted role;
according to each role to be deducted, generating a simulated person corresponding to each role to be deducted;
And determining the data to be displayed corresponding to the at least one mimicry character and the at least one mimicry character according to the mimicry character corresponding to the at least one mimicry character and the display data corresponding to the at least one mimicry character.
In one possible implementation manner, the data to be displayed includes text display data and audio display data corresponding to the text display data.
In one possible embodiment, the scanning device includes a sweep control;
The method further comprises the steps of:
Receiving equipment scanning data aiming at a text object to be spliced in response to a fifth operation triggered by the user aiming at the continuous scanning control;
determining a to-be-used scanning text of the text object to be spliced according to the equipment scanning data of the text object to be spliced;
Splicing the text to be used of the text object to be scanned and the text to be used of the text object to be spliced to obtain spliced text data;
And displaying the spliced text data.
The embodiment of the application also provides a scanning device, which comprises:
A display unit for displaying device scan data for a text object to be scanned and displaying a boundary marker after receiving the device scan data;
an adjustment unit, configured to adjust a display position of the boundary marker in response to a first operation triggered by a user for the boundary marker;
And the acquisition unit is used for acquiring and displaying the text to be scanned of the text object to be scanned from the equipment scanning data according to the display position of the boundary marker after the preset stop condition is determined to be reached.
The embodiment of the application also provides equipment, which comprises: a processor, memory, system bus;
The processor and the memory are connected through the system bus;
the memory is used to store one or more programs, which include instructions that, when executed by the processor, cause the processor to perform any of the scanning methods provided by the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, and when the instructions are run on the terminal equipment, the terminal equipment is caused to execute any implementation mode of the scanning method provided by the embodiment of the application.
The embodiment of the application also provides a computer program product, which when being run on a terminal device, causes the terminal device to execute any implementation mode of the scanning method provided by the embodiment of the application.
Based on the technical scheme, the application has the following beneficial effects:
In the technical scheme provided by the application, after the scanning equipment receives equipment scanning data aiming at a text object to be scanned, the scanning equipment displays the equipment scanning data and displays a boundary marker; the scanning device responds to a first operation triggered by a user aiming at the boundary marker, and adjusts the display position of the boundary marker so as to acquire the text to be used of the text object to be scanned from the scanning data of the device according to the display position of the boundary marker after the preset stop condition is confirmed to be reached; finally, the scanning device displays the text to be used so that the text to be used can represent the text content which the user wants to extract from the text object to be used.
The boundary marker can represent the intercepting range of the text to be used for scanning the text object to be scanned, so that a user can realize the process of adjusting the intercepting range by adjusting the display position of the boundary marker, the text to be used for scanning the text object to be scanned, which is acquired based on the boundary marker, can accurately represent the text content which the user hopes to extract from the text object to be scanned, the flexibility of long text scanning can be improved, the long text scanning effect can be improved, and the user scanning experience can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a scanning device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another scanning device according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of still another scanning device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a boundary marker according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating movement of a marker according to an embodiment of the present application;
FIG. 6 is a flowchart of a scanning method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a scanning device according to an embodiment of the present application.
Detailed Description
The inventors have found in a study on a scanning apparatus that the scanning apparatus generally directly saves and outputs its scanning data for a long text recording object (for example, a certain page of a storybook or the like). However, since the size of the scanning area of the "scanning device" is generally fixed, the size of the "scanning data for long text record objects" output by the "scanning device" is also fixed, so that the "scanning data for long text record objects" may have text contents (for example, the 6 th line to the 7 th line of the "certain page") that are not needed by some users, so that the "scanning data for long text" cannot meet the text scanning requirement of users for partial text (for example, the 1 st line to the 5 th line of the "certain page") and thus the long text scanning lacks flexibility, so that the long text scanning effect is poor and thus the user scanning experience is poor.
Based on the above findings, in order to solve the technical problems shown in the background section, an embodiment of the present application provides a scanning method, including: after the scanning device receives the device scanning data aiming at the text object to be scanned, the scanning device displays the device scanning data and displays the boundary marker; the scanning device responds to a first operation triggered by a user aiming at the boundary marker, and adjusts the display position of the boundary marker so as to acquire the text to be used of the text object to be scanned from the scanning data of the device according to the display position of the boundary marker after the preset stop condition is confirmed to be reached; finally, the scanning device displays the text to be used so that the text to be used can represent the text content which the user wants to extract from the text object to be used.
Therefore, the boundary marker can represent the intercepting range of the text to be used for scanning the text object to be scanned, so that a user can realize the process of adjusting the intercepting range by adjusting the display position of the boundary marker, the text to be used for scanning the text object to be scanned, which is acquired based on the boundary marker, can accurately represent the text content which the user hopes to extract from the text object to be scanned, the flexibility of long text scanning can be improved, the long text scanning effect can be improved, and the user scanning experience can be improved.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to facilitate understanding of the scanning method provided by the embodiment of the present application, the following describes the scanning device provided by the embodiment of the present application.
Device embodiment
The scanning device provided by the embodiment of the application can be a terminal device with an information scanning function and an information display function; moreover, the embodiment of the present application is not limited to the scanning device, and for example, the scanning device may be a scanning pen (e.g., a dictionary pen or the like) having a display screen, a learning auxiliary device having a display screen and a scanning section, a smart phone provided with a scanning section, a computer provided with a scanning section, a Personal digital assistant (Personal DIGITAL ASSITANT, PDA) provided with a scanning section, a tablet computer provided with a scanning section, or the like.
Embodiments of the present application are not limited to the device structure of the scanning device, and for example, the scanning device may include a long text scanning element in order to enhance the long text scanning effect of the scanning device.
Wherein the "long text scanning element" is used for performing an overall scan for a long text recorded in a long text recording object (for example, a certain page of a storybook); moreover, embodiments of the present application are not limited to "long text scanning elements," and may be implemented with any device that is capable of performing an entire scan of long text data, either existing or future occurrences. "long text" refers to text data in which the number of characters exceeds a preset number threshold.
In addition, embodiments of the present application are not limited to the location of the "long text scanning element" in the scanning device, and for ease of understanding, the following description will be made with reference to three cases.
In case 1, the relative positional relationship between the long text scanning element in the scanning device and the display screen in the scanning device satisfies the first positional condition.
The "first position condition" may be preset, for example, the mounting surface of the long text scanning element is different from the mounting surface of the display screen. The term "mounting surface of the long text scanning element" refers to a surface of the scanning device on which the long text scanning element is mounted. The "mounting surface of the display screen" refers to the surface of the scanning device on which the display screen is mounted. For ease of understanding, the following description is provided in connection with fig. 1.
As an example, as shown in fig. 1, a display screen 106 in a scanning device 101 may be mounted on the front side of the scanning device 101, and a long text scanning element 104 in the scanning device 101 may be mounted on the back side of the scanning device 101. It can be seen that, for the scanning device 101 shown in fig. 1, the mounting surface of the long text scanning element 104 refers to the back surface of the scanning device 101, and the mounting surface of the display screen 106 refers to the front surface of the scanning device 101, so that the mounting surface of the long text scanning element 104 is different from the mounting surface of the display screen 106, and the long text recording object 105 can be scanned while previewing the scanning result of the long text recording object 105, which is further beneficial to improving the convenience of long text scanning.
In case 2, when the mounting surface of the long text scanning element in the scanning device is the same as the mounting surface of the display screen in the scanning device, the long text scanning element may be mounted at a predetermined position in the display screen.
The "preset position" may be preset, for example, specifically may be a top area of the display screen, and particularly may be a center position of the top area of the display screen. For example, as shown in FIG. 2, a long text scanning element 104 in the scanning device 101 may be mounted in the scanning device 101 at a central location in the top region of the display screen 106.
In case 3, when the mounting surface of the long text scanning element in the scanning device is the same as the mounting surface of the display screen in the scanning device, the long text scanning element may be mounted at a preset position in the display screen according to a preset inclination angle.
Wherein, the 'preset inclination angle' can be preset; moreover, the embodiment of the present application is not limited to the "preset inclination angle", for example, as shown in fig. 3, the long text scanning element 104 in the scanning device 101 may be installed at a preset position in a display screen (not shown in fig. 3) in the scanning device 101 according to the preset inclination angle, so that the long text scanning element 104 may perform scanning processing on the long text recording object 105 according to a scanning view angle corresponding to the preset inclination angle.
Based on the above three situations, for the long text scanning element and the display screen in the scanning device, the long text scanning element and the display screen can be installed on the same side of the scanning device or on different sides of the scanning device, which is beneficial to improving the installation flexibility of the long text scanning element.
In one possible implementation manner, in order to improve the scanning effect of the scanning device, the scanning device provided by the embodiment of the present application may further include a short text scanning element in addition to the long text scanning element and the display screen.
Wherein, the short text scanning element is used for scanning words and sentences recorded on any scanning medium; moreover, the embodiment of the application is not limited to a short text scanning element, and can be implemented by any device which can scan words and sentences in the existing or future.
In addition, the relative positional relationship between the short text scanning element in the scanning device and the long text scanning element in the scanning device satisfies the second positional condition. The "second position condition" may be predetermined, for example, that the mounting end of the short text scanning element is different from the mounting end of the long text scanning element. The "mounting end of the short text scanning element" refers to the end of the scanning device on which the short text scanning element is mounted. The "mounting end of the long text scanning element" refers to the end of the scanning device on which the long text scanning element is mounted. For ease of understanding, the following description is provided in connection with fig. 1.
As an example, as shown in fig. 1, a short text scanning element 103 in a scanning device 101 may be provided at the pen tip of the scanning device 101, and a long text scanning element 104 in the scanning device 101 may be provided at the end of the scanning device 101 furthest from the pen tip. It can be seen that, for the scanning device 101 shown in fig. 1, the mounting end of the short text scanning element 103 may refer to the pen tip of the scanning device 101, and the mounting end of the long text scanning element 104 may refer to the end of the scanning device 101 farthest from the pen tip, so that the mounting end of the short text scanning element 103 is different from the mounting end of the long text scanning element 104, thereby effectively avoiding interaction between the word and sentence scanning function and the long text scanning function, and being beneficial to improving the scanning function of the scanning device.
In a possible implementation manner, in order to improve the long text scanning effect, the scanning device provided by the embodiment of the application may further include an adjustment control in addition to the part or all of the above components.
Wherein the "adjustment control" may be used to perform an adjustment process for the scanning viewing angle of the long text scanning element.
The embodiment of the application is not limited to the implementation of the adjustment control, for example, in order to reduce the hardware cost of the scanning device, the adjustment control and the existing control in the scanning device can be integrated, so that the integrated existing control can be newly added with the function of adjusting the scanning visual angle of the long text scanning element. For another example, to better implement the scanning angle of view adjustment function, a new control may be installed in the scanning device, so that the control can implement the function of adjusting the scanning angle of view of the long text scanning element.
The embodiment of the application is not limited to the function implementation mode of the adjustment control, and can be realized by an entity control arranged on the scanning equipment or a virtual control capable of being displayed in a display screen.
The embodiment of the application is not limited to the installation position of the adjustment control, for example, the installation surface of the adjustment control in the scanning equipment is the same as the installation surface of the display screen in the scanning equipment, so that the purpose of flexibly adjusting the scanning visual angle of the long text scanning element can be realized by means of the scanning preview function of the display screen.
The embodiment of the application is not limited to the working principle of the adjustment control, and for example, the embodiment of the application can specifically comprise: and adjusting the scanning visual angle of the long text scanning element in response to a third operation triggered by the user for the adjustment control. Wherein the third operation is used for adjusting the scanning visual angle of the long text scanning element; further, embodiments of the present application are not limited to "third operation", which may be, for example, a pressing operation of a pointer on one or more of the at least one direction adjustment buttons when the adjustment control includes the at least one direction adjustment button.
It should be noted that the embodiment of the present application is not limited to "at least one direction adjustment button", and for example, it may specifically include an up adjustment button, a down adjustment button, a left adjustment button, and a right adjustment button.
In a possible implementation manner, in order to improve a scanning effect of the scanning device, the scanning device provided by the embodiment of the application may further include a switch control in addition to the part or all of the above components.
Wherein a "switch control" may be used for on control as well as off control for the long text scanning element.
The embodiment of the application is not limited to the implementation of the switch control, for example, in order to reduce the hardware cost of the scanning device, the switch control and the existing control in the scanning device can be integrated, so that the integrated existing control can be newly added with the function of opening control and closing control for the long text scanning element. For another example, to better implement the switch control function, a new control may be installed in the scanning device, so that the control can implement the function of performing on control and off control for the long text scanning element.
The embodiment of the application is not limited to the functional implementation mode of the switch control, and can be realized by an entity control arranged on the scanning equipment or a virtual control capable of being displayed in a display screen.
Embodiments of the present application are not limited to the mounting location of the "switch control", for example, as shown in fig. 1, the mounting surface of the switch control 102 in the scanning device is the same as the mounting surface of the display screen 106 in the scanning device 101.
In addition, to reduce hardware cost, the short text scanning element and the long text scanning element in the scanning device may share the same switch control (e.g., 102 shown in fig. 3), so that the short text scanning element can be controlled to be turned on or off and the long text scanning element can be controlled to be turned on or off respectively by different triggering conditions. For ease of understanding, explanation follows in connection with 102 shown in FIG. 3.
For the scanning device 101 shown in fig. 3 (e.g., a scanning pen), the switch control 102 may be provided at the tip (e.g., a pen tip), and the switch control 102 can control both the turning on or off of the short text scanning element (not shown in fig. 3) and the turning on or off of the long text scanning element 104. In addition, the control principles of the switch control 102 may specifically include: when the tip of the scanning device 101 is in a pressed state, the short text scanning element is turned on to enable the scanning device 101 to perform a word sentence scanning function; when the duration of the tip of the scanning device 101 in the pressed state reaches the first time threshold, the long text scanning element 104 is turned on, and the short text scanning element is turned off, so that the scanning device 101 can perform the long text scanning function; when the tip of the scanning device 101 is not in the pressed state, the short text scanning element is turned off and the long text scanning element 104 is turned off.
In addition, the working principle of the "switch control" is not limited in the embodiment of the present application, for example, the working principle of the switch control 102 shown in fig. 1 may specifically include: in response to a user-triggered pressing operation on the switch control 102, the switch state of the long text scanning element 104 is updated (e.g., may be updated from an off state to an on state, or from an on state to an off state). As another example, the operating principle of the switch control 102 shown in fig. 3 may specifically include: upon determining that the user's triggering action (e.g., pressing action) for the switch control 102 meets a preset action condition (e.g., the duration of the pressing reaches a first time threshold), the long text scanning element 104 is turned on and the short text scanning element is turned off.
In a possible implementation manner, in order to improve flexibility of long text scanning, the scanning device provided by the embodiment of the application may further include a continuous scanning control in addition to the part or all of the parts.
Wherein the "sweep control" is used to control the scanning device to conduct a continuous scanning process for a plurality of scanning media (e.g., pages in a storybook).
The embodiment of the application is not limited to the implementation of the continuous scanning control, for example, in order to reduce the hardware cost of the scanning equipment, the continuous scanning control and the existing control in the scanning equipment can be integrated, so that the integrated existing control can be newly added with the function of continuously scanning a plurality of scanning media. For another example, to better implement the continuous scanning function, a new control may be installed in the scanning device, so that the control can implement the function of performing continuous scanning processing on multiple scanning media.
The embodiment of the application is not limited to the function implementation mode of the continuous scanning control, and can be realized by an entity control arranged on the scanning equipment or a virtual control capable of being displayed in a display screen.
The embodiment of the application is not limited to the installation position of the continuous scanning control, for example, the installation surface of the continuous scanning control in the scanning equipment is the same as the installation surface of the display screen in the scanning equipment, so that the continuous scanning function can be flexibly realized by means of the scanning preview function of the display screen.
The embodiment of the application is not limited to the working principle of the continuous scanning control, and for example, the working principle can comprise the following steps: in response to a fifth operation (e.g., a clicking operation or a pressing operation, etc.) triggered by the user for the continuous scanning control, current scanned data (e.g., "device scan data of text object to be scanned" shown below) is saved, and new scanned data (e.g., "device scan data of text object to be spliced" shown below) is received, so that the purpose of splicing the content recorded by multiple scanning media into one text data can be realized by means of the splicing process between the current scanned data and the new scanned data, which is beneficial to improving the flexibility of long text scanning.
In one possible implementation manner, in order to improve flexibility of long text scanning, the display screen in the scanning device provided by the embodiment of the application can display not only scanning preview information but also boundary markers. Wherein, the boundary marker is used for representing the boundary position of the required reference when the text content is selected according to the scanning result.
In addition, embodiments of the present application are not limited to "boundary markers," which may include at least one marker, for example, and each marker is used to represent a boundary location, respectively. For ease of understanding, the following description is provided in connection with examples.
As an example, for the scanning device 101 shown in fig. 4, the display screen 106 in the scanning device 101 includes a scanning preview area 405, and the scanning preview area 405 may simultaneously display a scanning result for one scanning medium (hereinafter, "device scan data of text object to be scanned" or hereinafter "device scan data of text object to be spliced"), an upper boundary marker 401, a lower boundary marker 402, a start position marker 403, and an end position marker 404. Wherein, the 'upper boundary marker 401' is used for marking the upper boundary position of the selected area when the text content is selected according to the scanning result; the "lower boundary marker 402" is used to mark the lower boundary position of the selected region when selecting text content for the scan result; the "start position marker 403" is used to mark a selected start position of the text content in the selected area when the text content is selected for the scanning result. The "end position marker 404" is used to mark a selected end position of the text content in the selected area when the text content is selected for the scan result.
In addition, the adjustment process of the "boundary marker" is not limited, for example, as shown in fig. 4-5, when the user moves the upper boundary marker 401 upward (or downward) in a preset manner, not only the upper boundary marker 401 needs to be moved upward (or downward), but also the start position marker 403 needs to be moved upward (or downward), so that the start position marker 403 can always indicate the start position of the first line of text content in the selected area; when the user moves the lower boundary marker 402 upwards (or downwards) in a preset manner, not only the lower boundary marker 402 needs to be moved upwards (or downwards), but also the end position marker 404 needs to be moved upwards (or downwards), so that the end position marker 404 always indicates the end position of the last line of text content in the selected area; when the user moves the start position marker 403 leftwards (or rightwards) by means of a preset mode, the user only needs to move the start position marker 403 leftwards (or rightwards); when the user moves the end position marker 404 to the left (or to the right) by a preset manner, the user only needs to move the end position marker 404 to the left (or to the right).
It should be noted that, the "preset mode" may be preset; the embodiment of the present application is not limited to the "preset mode", and may be implemented, for example, in a finger touch (e.g., a fingertip touch), a stylus touch, a mouse control, or a keyboard control mode.
Based on the related content of the scanning device, the embodiment of the application further provides a scanning method, which is explained and illustrated below with reference to the accompanying drawings.
Method embodiment one
Referring to fig. 6, a flowchart of a scanning method according to an embodiment of the present application is shown.
The scanning method provided by the embodiment of the application comprises the following steps of S1-S3:
s1: after the scanning device receives device scan data for a text object to be scanned, the scanning device displays the device scan data for the text object to be scanned and displays the boundary marker.
Wherein, the text object to be scanned refers to a scanning medium which can be scanned by a scanning device; moreover, the embodiment of the present application is not limited to the "text object to be scanned", and for example, it may be any object (e.g., storybook, etc.) recorded with text content (especially recorded with more text content).
The "device scan data of the text object to be scanned" refers to a scan result obtained by performing a scan process on the text object to be scanned by the scanning device.
The boundary marker in S1 is used to represent the boundary position that is required to be used when selecting text content for the above-mentioned "device scan data of text object to be scanned"; also, embodiments of the present application are not limited to "boundary markers," which may be, for example, a completely closed polygonal box (e.g., rectangular box, etc.). As another example, the "boundary marker" may also include at least one marker (e.g., an upper boundary marker 401, a lower boundary marker 402, a start position marker 403, and an end position marker 404 as shown in fig. 4).
Based on the above-mentioned related content of S1, when a user wants to collect text content from a text object to be scanned (for example, a page of a storybook or the like) by means of a scanning device (for example, the scanning device 101 shown in any one of fig. 1 to 4), the user may first perform a scanning process on the text object to be scanned by using the scanning device, so that the scanning device receives device scan data for the text object to be scanned; then, the scanning device displays the device scanning data in a display screen so that the user can preview the text content scanned by the scanning device; meanwhile, a boundary marker (shown in fig. 4) is displayed in the display screen, so that the user can intercept the text content which the user wants to save (or use) from the equipment scanning data by means of the boundary marker, and therefore the scanning requirement of the user for acquiring part of the content from the text object to be scanned by means of the scanning equipment can be met, the long text scanning flexibility is improved, and the long text scanning effect is improved.
S2: the scanning device adjusts a display position of the boundary marker in response to a first operation triggered by a user for the boundary marker.
Wherein a "first operation" is used to make an adjustment for the boundary marker; and embodiments of the present application are not limited to the "first operation". For example, when the above-described "boundary marker" is a completely closed polygonal frame, the "first operation" may include an enlargement operation, a reduction operation, a position movement operation (e.g., upward movement, downward movement, rightward movement, leftward movement). As another example, when the "boundary marker" described above includes N markers (e.g., the upper boundary marker 401, the lower boundary marker 402, the start position marker 403, and the end position marker 404 shown in fig. 4), the "first operation" may include a position adjustment operation corresponding to the 1 st marker, a position adjustment operation corresponding to the 2 nd marker, … …, and a position adjustment operation corresponding to the nth marker. Wherein N is a positive integer.
"Display position of a boundary marker" refers to the position in the display where the boundary marker is located.
In addition, the embodiment of the present application is not limited to the implementation of S2, for example, when the "boundary marker" includes at least one marker and the "at least one marker" includes a target, S2 may specifically include: and adjusting the display position of the target symbol in response to a second operation triggered by the user for the target symbol.
Wherein the second operation is used for representing a user operation required to be used when adjusting the position of the target character in the display screen; moreover, embodiments of the present application are not limited to "second operation", which is, for example, an upward movement operation or a downward movement operation if the target symbol refers to the upper boundary marker 401 shown in fig. 4; if the target is the lower boundary marker 402 shown in fig. 4, the "second operation" is an upward movement operation or a downward movement operation; if the target is the start position marker 403 shown in fig. 4, the "second operation" is a leftward movement operation or a rightward movement operation; if the target is the end position marker 404 shown in fig. 4, the "second operation" is a leftward movement operation or a rightward movement operation.
In some cases, there may be at least one pair of related markers in the "at least one marker" to associate the position adjustment process between the related pairs of markers. Based on this, the embodiment of the present application further provides a possible implementation manner of S2, in this implementation manner, when the "boundary marker" includes at least one marker, and the "at least one marker" includes a target symbol, and an association symbol of the target symbol, S2 may specifically include: and responding to a second operation triggered by the user aiming at the target symbol, if the target symbol is determined to meet the preset marking condition, adjusting the display position of the target symbol, and adjusting the display position of the associated symbol of the target symbol.
Wherein, the 'preset mark condition' can be preset; moreover, embodiments of the present application are not limited to "preset marking conditions," which may include, for example, for the "boundary marker" shown in fig. 4: an upper boundary marker 401 or a lower boundary marker 402. That is, for the "boundary marker" shown in fig. 4, if it is determined that the target is the upper boundary marker 401 or that the target is the lower boundary marker 402, it may be determined that the target satisfies the preset marking condition.
To facilitate understanding of S2, the following description is made in connection with an example.
As an example, with the scanning device 101 shown in fig. 4, after the display screen in the scanning device 101 displays the above-described "device scan data of a text object to be scanned", and the upper boundary marker 401, the lower boundary marker 402, the start position marker 403, and the end position marker 404, the user can implement the adjustment process for the boundary markers by performing at least one operation shown in ①-④ below.
① The user controls the upward movement operation or the downward movement operation of the upper boundary marker 401 by a preset manner.
② The user controls the upward movement operation or the downward movement operation of the lower boundary marker 402 by a preset manner.
③ The user controls the leftward or rightward movement operation of the start position marker 403 by a preset manner.
④ The user controls the leftward or rightward movement operation of the end position marker 404 by a preset manner.
Based on the above-mentioned related content of S2, it is known that, for the scanning device, after the scanning device displays the device scan data of the "text object to be scanned" and the "boundary marker", the user may perform some position-changing related operations (such as a position-shifting operation or a shape-changing operation) for controlling the boundary marker on the scanning device with respect to the "boundary marker", so that the scanning device can adjust the display position of the "boundary marker" according to the position-changing related operations, so that the adjusted "boundary marker" can accurately represent the scanning requirement that the user wants to acquire a part of content from the text object to be scanned by means of the scanning device, which is advantageous for improving the flexibility of long text scanning, and thus for improving the long text scanning effect.
S3: after the scanning device determines that the preset stopping condition is met, the scanning device acquires and displays the text to be scanned of the text object to be scanned from the device scanning data according to the display position of the boundary marker.
Wherein, the 'preset stop condition' can be preset; moreover, embodiments of the present application are not limited to "preset stop conditions," which may include, for example, that the display position of the "boundary marker" is not adjusted within the second duration threshold. For another example, if the scanning device includes a save control, the "preset stop condition" may also trigger a sixth operation (e.g., a click operation or a press operation, etc.) on the scanning device for the save control.
The "save control" is used for saving the text content outlined by the "boundary marker" in the "device scan data of the text object to be scanned" described above.
The embodiment of the application is not limited to the implementation of the "save control", for example, in order to reduce the hardware cost of the scanning device, the save control and the existing control in the scanning device may be integrated, so that the integrated existing control may be newly added with the function of saving the text content marked by the "boundary marker" in the device scan data of the text object to be scanned. For another example, in order to better achieve the effect of text content preservation, a new control may be installed in the scanning device, so that the control can implement a function of preserving the text content outlined by the "boundary marker" in the device scan data of the text object to be scanned.
The embodiment of the application is not limited to the functional implementation mode of the 'save control', and can be realized by an entity control arranged on the scanning equipment, or can be realized by a virtual control capable of being displayed in a display screen.
The embodiment of the application is not limited to the installation position of the 'save control', for example, the installation surface of the save control in the scanning equipment is the same as the installation surface of the display screen in the scanning equipment, so that the text content save processing can be accurately realized by means of the scanning preview function of the display screen.
In S3, the "text to be used for the text object to be scanned" refers to the text content marked by the "boundary marker" in the "device scan data of the text object to be scanned" so that the "text to be used for the text object to be scanned" can accurately represent the text content that the user wants to acquire from the text object to be scanned by means of the scanning device.
Based on the above-described content related to S3, for the scanning device, after determining that the preset stop condition is reached, it may be determined that the user has selected the text content that the user wants to save (or use) from the above-described "device scan data of the text object to be scanned" by using the boundary marker, so that the text content that is outlined by the "boundary marker" may be first cut from the "device scan data of the text object to be scanned" according to the display position of the boundary marker, determined as the text to be used of the text object to be scanned, and the text to be used of the text object to be scanned is displayed on the display screen of the scanning device, so that the user can perform subsequent processing (e.g., saving, story deduction processing shown below, or "text content splicing processing" shown below) for the "text object to be used of the text object to be scanned".
Based on the above-mentioned related content of S1 to S3, in the scanning method provided by the embodiment of the present application, after the scanning device receives the device scanning data for the text object to be scanned, the scanning device displays the device scanning data and displays the boundary marker; the scanning device responds to a first operation triggered by a user aiming at the boundary marker, and adjusts the display position of the boundary marker so as to acquire the text to be used of the text object to be scanned from the scanning data of the device according to the display position of the boundary marker after the preset stop condition is confirmed to be reached; finally, the scanning device displays the text to be used so that the text to be used can represent the text content which the user wants to extract from the text object to be used.
Therefore, the boundary marker can represent the intercepting range of the text to be used for scanning the text object to be scanned, so that a user can realize the process of adjusting the intercepting range by adjusting the display position of the boundary marker, the text to be used for scanning the text object to be scanned, which is acquired based on the boundary marker, can accurately represent the text content which the user hopes to extract from the text object to be scanned, the flexibility of long text scanning can be improved, the long text scanning effect can be improved, and the user scanning experience can be improved.
Method embodiment II
In some application scenarios, in order to improve the display effect of the text content, the embodiment of the present application further provides another possible implementation manner of the scanning method, where in this implementation manner, the scanning method may further include S4-S6 in addition to S1-S3 described above:
S4: when the scanning device determines that the text content type of the text object to be scanned to be used is satisfied with the preset type condition, the scanning device displays a deduction icon.
Wherein, the "preset type condition" can be preset; moreover, embodiments of the present application are not limited to "preset type conditions," which may include, for example: belonging to any one of the preset deductible text content types (e.g., story type, etc.). That is, if it is determined that the text type to which the "text object to be scanned to be used" belongs is a preset deductible text type (e.g., story type), it is determined that the text type to which the "text object to be scanned to be used" belongs satisfies a preset type condition.
"Deduction icon" is used to indicate that a text data can be presented in a person deduction manner; furthermore, embodiments of the present application are not limited to "deduction icons," which may be, for example, a control that may be triggered (hereinafter deduction control).
Wherein the "deduction control" is used for performing a person deduction process with respect to one text data; in addition, the embodiment of the application is not limited to the implementation of the deduction control, for example, in order to reduce the hardware cost of the scanning device, the deduction control and the existing control in the scanning device can be integrated, so that the function of performing the figure deduction processing on one text data can be newly added to the existing control after the integration processing. As another example, to better implement the persona deduction function, a new control may be installed in the scanning device to enable the control to implement the persona deduction function for a text data.
The embodiment of the application is not limited to the implementation mode of the function of the deduction control, and can be realized by an entity control arranged on the scanning equipment or a virtual control capable of being displayed in a display screen.
The embodiment of the application is not limited to the installation position of the deduction control, for example, the installation surface of the deduction control in the scanning equipment is the same as the installation surface of the display screen in the scanning equipment, so that the triggering operation of the deduction icon on the display screen can be more conveniently realized.
Based on the above-described content related to S4, it is known that, for the scanning device, after displaying a text data (for example, the above-described "to-be-scanned text to be used of a text object to be scanned" or "spliced text data" shown below) on the scanning device, it is possible to determine whether the text data belongs to a text content type that satisfies a preset type condition, so that after determining that the text data belongs to a text content type that satisfies the preset type condition, a deduction icon is displayed on a display screen in the scanning device, so that the user can learn, by means of the icon, that the text data can be presented in a person deduction manner, so that there is a subsequent option of the user to perform person deduction processing on the text data.
S5: and the scanning equipment responds to a fourth operation triggered by the user aiming at the deduction icon, and determines at least one mimicry character and data to be displayed corresponding to the mimicry character according to the scanning text to be used of the text object to be scanned.
Wherein the "fourth operation" is for triggering the person deduction process for one text data; the embodiment of the application is not limited to the triggering mode of the fourth operation, and for example, the triggering mode can be implemented by adopting a mode of clicking by a finger, a mode of clicking by a touch pen, a mode of clicking by a mouse or a mode of selecting by a keyboard.
The "at least one mimicry character" is used to simulate a character appearing in the "text to be used for scanning of a text object to be scanned" described above; furthermore, the "mimicry character" of the embodiments of the present application may be implemented, for example, using a pre-set cartoon character.
The data to be displayed corresponding to the ith persona refers to data information (such as text data, picture data, audio data, video data, etc.) which needs to be displayed in a display screen and is related to the persona simulated by the ith persona. Wherein I is a positive integer, I is less than or equal to I, I is a positive integer, and I represents the number of mimicry characters.
In addition, the embodiment of the present application is not limited to the determination process of "at least one mimicry person and data to be displayed corresponding to the at least one mimicry person", and for example, it may specifically include steps 11 to 13:
Step 11: and determining at least one role to be deducted and presentation data corresponding to the at least one role to be deducted according to the text to be used of the text object to be scanned.
Here, the "character to be deducted" refers to a character appearing in the "text to be used of the text object to be scanned" described above.
The presentation data corresponding to the jth character to be deduced refers to data information (e.g., text data, picture data, audio data, video data, etc.) which needs to be presented in the display screen and is related to the jth character to be deduced. Wherein J is a positive integer, J is less than or equal to J, J is a positive integer, and J represents the number of roles to be deduced.
In addition, the embodiment of the present application is not limited to the determination process of the presentation data corresponding to the jth role to be deducted, for example, if the speaking content of the jth role to be deducted exists in the "text to be used for scanning the text object to be scanned" described above, the determination process of the presentation data corresponding to the jth role to be deducted may specifically include: firstly, extracting the speaking content of the j-th character to be deduced from the text to be used of the text object to be scanned; generating text display data of the j-th role to be deduced and audio display data of the j-th role to be deduced according to the speaking content of the j-th role to be deduced, so that the text display data of the j-th role to be deduced is used for displaying the speaking content of the j-th role to be deduced and the audio display data of the j-th role to be deduced is used for displaying the speaking content of the j-th role to be deduced in a language expression process; and finally, carrying out aggregation processing on the text display data of the j-th role to be deduced and the audio display data of the j-th role to be deduced, so as to obtain display data corresponding to the j-th role to be deduced.
Step 12: and generating the mimicry characters corresponding to each role to be deducted according to each role to be deducted.
In the embodiment of the present application, after the jth role to be deduced is acquired, a persona corresponding to the jth role to be deduced may be generated according to the jth role to be deduced, so that the persona corresponding to the jth role to be deduced is used to simulate the jth role to be deduced (for example, a candidate persona is randomly selected from at least one candidate persona, and is determined as the persona corresponding to the jth role to be deduced). Wherein J is a positive integer, J is less than or equal to J, J is a positive integer, and J represents the number of roles to be deduced.
Step 13: and determining the data to be displayed corresponding to the at least one mimicry character and the at least one mimicry character according to the mimicry character corresponding to the at least one mimicry character and the display data corresponding to the at least one mimicry character.
In the embodiment of the application, after obtaining the mimicry characters corresponding to J roles to be deduced, the mimicry character corresponding to the 1 st role to be deduced can be determined as the 1 st mimicry character, and the display data corresponding to the 1 st role to be deduced is determined as the data to be displayed corresponding to the 1 st mimicry character; determining the mimicry character corresponding to the 2 nd mimicry character as the 2 nd mimicry character, and determining the display data corresponding to the 2 nd mimicry character as the data to be displayed corresponding to the 2 nd mimicry character; … … (and so on); and determining the mimicry character corresponding to the J-th to-be-deducted character as the J-th mimicry character, and determining the display data corresponding to the J-th to-be-deducted character as the display data corresponding to the J-th mimicry character.
Based on the related content of the steps 11 to 13, after the "text to be used for scanning the text object to be scanned" is obtained, at least one mimicry character and data to be displayed corresponding to the at least one mimicry character may be generated with reference to character characters existing in the "text to be used for scanning the text object to be scanned", so that the character story described in the "text to be used for scanning the text object to be scanned" may be displayed by means of the at least one mimicry character and the data to be displayed corresponding to the at least one mimicry character.
In addition, the embodiment of the present application is not limited to the execution subjects of the steps 11 to 13, and for example, the execution subjects of the steps 11 to 13 may be the scanning apparatus. It can be seen that, after the scanning device receives the fourth operation triggered by the user for the deduction icon, the scanning device may determine the "at least one mimicry person and the data to be presented corresponding to the at least one mimicry person" by performing the steps 11 to 13.
In some cases, in order to save the computing resources of the scanning device, the execution subject of the steps 11 to 13 may be a server, and the server may be capable of communicating with the scanning device. It can be seen that, after the scanning device receives the fourth operation triggered by the user for the deduction icon, the scanning device may first send the "text to be used for scanning the text object to be scanned" to the server, so that the server determines the "data to be displayed corresponding to the at least one mimicry person and the at least one mimicry person" by executing the steps 11 to 13, and feeds back the "data to be displayed corresponding to the at least one mimicry person and the at least one mimicry person" to the scanning device, so that the scanning device can display the "data to be displayed corresponding to the at least one mimicry person and the at least one mimicry person".
Based on the above-mentioned related content of S5, it is known that, for the scanning device, after the fourth operation triggered by the user for the deduction icon in the scanning device, the scanning device may determine at least one mimicry character and data to be presented corresponding to the at least one mimicry character according to the above-mentioned "text to be used scanned object scanned text", so that the character story described by the "text to be used scanned object scanned text" can be presented subsequently by means of the at least one mimicry character and the data to be presented corresponding to the at least one mimicry character.
S6: the scanning device displays at least one mimicry figure and displays data to be displayed corresponding to the mimicry figure.
In the embodiment of the application, for the scanning device, after the ith mimicry figure and the data to be displayed corresponding to the ith mimicry figure are obtained, the ith mimicry figure and the data to be displayed corresponding to the ith mimicry figure can be synchronously displayed, so that the figure story described by the scanning text to be used of the text object to be scanned can be presented in a role deduction mode by means of the mimicry figure. Wherein I is a positive integer, I is less than or equal to I, I is a positive integer, and I represents the number of mimicry characters.
Based on the above-mentioned related content of S4 to S6, it is known that, for the scanning device, after displaying one text data (for example, the "to-be-used scanned text of the" to-be-scanned text object "or the" spliced text data "shown below) on the scanning device, if it is determined that the text content type to which the text data belongs meets the preset type condition, at least one mimicry character and corresponding to-be-displayed data may be generated according to the text data, so that the subsequent display process based on the at least one mimicry character and the corresponding to-be-displayed data can be realized, and the purpose of presenting the character story described by the" to-be-used scanned text of the "to-be-scanned text object" by means of the mimicry character deduction role is achieved, which is beneficial to improving the display effect of the "to-be-used scanned text of the" to-be-scanned text object "so as to be beneficial to improving the scanning experience of the user.
Method example III
In some cases, a user wants to splice content recorded by multiple scan media (e.g., content recorded by adjacent pages in a storybook) into one text data for presentation. In order to meet the above-mentioned user requirements, another possible implementation of the scanning method is provided in the embodiment of the present application, and in order to facilitate understanding, a procedure of performing a splicing process on contents recorded by two scanning media is described below as an example.
As an example, when the scanning device includes a continuous scanning control, the scanning method may further include S7-S10 in addition to the partial steps or all the steps described above:
s7: and the scanning device receives device scanning data for the text objects to be spliced in response to a fifth operation triggered by the user for the continuous scanning control.
The text object to be spliced is used for recording spliced text content related to the text to be used of the text object to be scanned. For example, if the "text object to be scanned" refers to the kth page in a storybook, the "text object to be spliced" refers to the kth+1th page in the storybook.
In addition, the relevant content of the "device scan data of the text object to be spliced" is similar to the relevant content of the "device scan data of the text object to be scanned" above, and the "text object to be scanned" in the relevant content of the "device scan data of the text object to be scanned" above is only required to be replaced by the "text object to be spliced".
Based on the above-mentioned content related to S7, for the scanning device, if the user wants to use the scanning device to splice the content recorded in the two scanning media, after the user obtains the "text to be used for scanning of the text object to be scanned" by using the scanning device, the user may first trigger a fifth operation for triggering the continuous scanning control in the scanning device, and then trigger the continuous scanning function of the scanning device; and then the scanning equipment is used for scanning the text object to be spliced to obtain equipment scanning data of the text object to be spliced so as to extract text contents which need to be spliced with the scanning text to be used of the text object to be scanned from the equipment scanning data of the text object to be spliced.
S8: and the scanning equipment determines the to-be-used scanning text of the text object to be spliced according to the equipment scanning data of the text object to be spliced.
It should be noted that, the relevant content of the "text object to be spliced to be used for scanning text" is similar to the relevant content of the "text object to be scanned to be used for scanning text" above, and the "text object to be scanned" in the relevant content of the "text object to be scanned to be used for scanning text" above is only required to be replaced by the "text object to be spliced".
S9: and the scanning equipment performs splicing processing on the to-be-used scanning text of the to-be-scanned text object and the to-be-used scanning text of the to-be-spliced text object to obtain spliced text data.
In the embodiment of the present application, for a scanning device, after obtaining a to-be-used scanned text of a to-be-scanned text object and a to-be-used scanned text of a to-be-spliced text object, splicing the to-be-used scanned text of the to-be-scanned text object and the to-be-used scanned text of the to-be-spliced text object according to a preset splicing order (for example, according to a sequence of scanning time) to obtain spliced text data, so that the spliced text data includes the to-be-used scanned text of the to-be-scanned text object and the to-be-used scanned text of the to-be-spliced text object.
S10: the scanning device displays the stitched text data.
It should be noted that the embodiment of the present application is not limited to the implementation manner of S10, and for example, the spliced text data may be directly displayed by the scanning device. For another example, S10 may be implemented by using the presentation process shown in S4-S6 above, and only the "text to be used of the text object to be scanned" in S4-S6 above is replaced by "spliced text data".
Based on the above-mentioned content related to S7 to S10, for the scanning device, if the user wants to use the scanning device to splice the content recorded in K scanning media (e.g., multiple pages in a story), the user may first obtain the text to be used of the 1 st scanning medium by using the scanning device; then aiming at a fifth operation triggered by the continuous scanning control in the scanning equipment, and acquiring a scanning text to be used of the 2 nd scanning medium by utilizing the scanning equipment; then aiming at a fifth operation triggered by the continuous scanning control in the scanning equipment, and acquiring a scanning text to be used of the 3 rd scanning medium by utilizing the scanning equipment; … … (and so on); then aiming at a fifth operation triggered by the continuous scanning control in the scanning equipment, and acquiring a scanning text to be used of a K scanning medium by utilizing the scanning equipment; then, the user performs splicing processing on the to-be-used scanning texts of the K scanning mediums by using scanning equipment to obtain spliced text data corresponding to the K scanning mediums; and finally, displaying the spliced text data corresponding to the K scanning media (or displaying at least one anthropomorphic character and corresponding data to be displayed according to the spliced text data corresponding to the K scanning media) by the scanning equipment. The flexibility of long text scanning is improved, and therefore the user scanning experience is improved. Wherein K is a positive integer.
Based on the scanning method provided by the above method embodiment, the embodiment of the present application further provides a scanning device, which is explained and illustrated below with reference to the accompanying drawings.
Device embodiment
The device embodiment describes the scanning device, and the related content is referred to the above method embodiment.
Referring to fig. 7, a schematic structural diagram of a scanning device according to an embodiment of the present application is shown.
The scanning device 700 provided in the embodiment of the application includes:
A display unit 701 for displaying device scan data for a text object to be scanned and displaying a boundary marker after receiving the device scan data;
an adjustment unit 702, configured to adjust a display position of the boundary marker in response to a first operation triggered by a user for the boundary marker;
And an obtaining unit 703, configured to obtain and display the text to be scanned of the text object to be scanned from the device scan data according to the display position of the boundary marker after determining that the preset stop condition is reached.
In one possible implementation, the boundary marker comprises at least one marker, and the at least one marker comprises a target;
The adjusting unit 702 is specifically configured to: and adjusting the display position of the target symbol in response to a second operation triggered by the user for the target symbol.
In a possible implementation manner, the at least one marker further comprises an association of the target;
the adjusting unit 702 is specifically configured to: and responding to a second operation triggered by the user aiming at the target symbol, if the target symbol is determined to meet a preset marking condition, adjusting the display position of the target symbol, and adjusting the display position of the associated symbol of the target symbol.
In a possible embodiment, the scanning device comprises a long text scanning element, and the device scan data is obtained by scanning the long text scanning element for the text object to be scanned.
In one possible embodiment, the scanning device further comprises a display screen, and the relative positional relationship between the long text scanning element and the display screen satisfies a first positional condition.
In one possible embodiment, the scanning device further comprises a display screen, and the long text scanning element is mounted at a preset position in the display screen.
In one possible implementation, the scanning device further includes a display screen, and the long text scanning element is mounted at a preset position in the display screen according to a preset inclination angle.
In one possible embodiment, the scanning device further comprises an adjustment control;
The scanning device 700 further includes:
and the visual angle updating unit is used for responding to a third operation triggered by the user for the adjustment control and adjusting the scanning visual angle of the long text scanning element.
In one possible embodiment, the scanning device further comprises a short text scanning element; the relative positional relationship between the short text scanning element and the long text scanning element satisfies a second positional condition.
In one possible embodiment, the scanning device further comprises a switch control;
The scanning device 700 further includes:
and the switch updating unit is used for starting the long text scanning element and closing the short text scanning element when determining that the triggering action of the user on the switch control meets the preset action condition.
In one possible implementation, the scanning device 700 further includes:
A deduction unit, configured to display a deduction icon when it is determined that the text content type to which the scanned text to be used belongs meets a preset type condition; responding to a fourth operation triggered by the user aiming at the deduction icon, and determining at least one mimicry character and data to be displayed corresponding to the mimicry character according to the text to be used; displaying at least one mimicry character and displaying data to be displayed corresponding to the mimicry character.
In one possible implementation manner, the determining process of the at least one mimicry person and the data to be displayed corresponding to the at least one mimicry person includes:
According to the to-be-used scanning text, determining at least one to-be-deducted role and display data corresponding to the at least one to-be-deducted role; according to each role to be deducted, generating a simulated person corresponding to each role to be deducted; and determining the data to be displayed corresponding to the at least one mimicry character and the at least one mimicry character according to the mimicry character corresponding to the at least one mimicry character and the display data corresponding to the at least one mimicry character.
In one possible implementation manner, the data to be displayed includes text display data and audio display data corresponding to the text display data.
In one possible embodiment, the scanning device includes a sweep control;
The scanning device 700 further includes:
the splicing processing unit is used for responding to a fifth operation triggered by the user for the continuous scanning control and receiving equipment scanning data for the text object to be spliced; determining a to-be-used scanning text of the text object to be spliced according to the equipment scanning data of the text object to be spliced; splicing the text to be used of the text object to be scanned and the text to be used of the text object to be spliced to obtain spliced text data; and displaying the spliced text data.
Further, an embodiment of the present application further provides a scanning apparatus, including: a processor, memory, system bus;
The processor and the memory are connected through the system bus;
The memory is for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform any of the implementations of the scanning methods described above.
Further, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, and when the instructions run on the terminal equipment, the instructions cause the terminal equipment to execute any implementation method of the scanning method.
Further, the embodiment of the application also provides a computer program product, which when being run on a terminal device, causes the terminal device to execute any implementation method of the scanning method.
From the above description of embodiments, it will be apparent to those skilled in the art that all or part of the steps of the above described example methods may be implemented in software plus necessary general purpose hardware platforms. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
It should be noted that, in the present description, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (18)
1. A scanning method, characterized by being applied to a scanning device, the method comprising:
After receiving device scan data for a text object to be scanned, displaying the device scan data and displaying a boundary marker;
adjusting a display position of the boundary marker in response to a first operation triggered by a user for the boundary marker;
and after the preset stopping condition is determined to be reached, acquiring and displaying the text to be scanned of the text object to be scanned from the equipment scanning data according to the display position of the boundary marker.
2. The method of claim 1, wherein the boundary marker comprises at least one marker, and the at least one marker comprises a target;
The adjusting, in response to a first operation triggered by a user for the boundary marker, a display position of the boundary marker includes:
and adjusting the display position of the target symbol in response to a second operation triggered by the user for the target symbol.
3. The method of claim 2, wherein the at least one marker further comprises an association of the target;
the adjusting the display position of the target comprises:
And if the target symbol is determined to meet the preset marking condition, adjusting the display position of the target symbol, and adjusting the display position of the associated symbol of the target symbol.
4. A method according to any of claims 1-3, wherein the scanning device comprises a long text scanning element and the device scan data is scanned by the long text scanning element for the text object to be scanned.
5. The method of claim 4, wherein the scanning device further comprises a display screen, and wherein the relative positional relationship between the long text scanning element and the display screen satisfies a first positional condition.
6. The method of claim 4, wherein the scanning device further comprises a display screen, and the long text scanning element is mounted at a predetermined location within the display screen.
7. The method of claim 4, wherein the scanning device further comprises a display screen, and wherein the long text scanning element is mounted at a predetermined location within the display screen at a predetermined tilt angle.
8. The method of claim 4, wherein the scanning device further comprises an adjustment control;
The method further comprises the steps of:
And responding to a third operation triggered by the user for the adjustment control, and adjusting the scanning visual angle of the long text scanning element.
9. The method of claim 4, wherein the scanning device further comprises a short text scanning element; the relative positional relationship between the short text scanning element and the long text scanning element satisfies a second positional condition.
10. The method of claim 9, wherein the scanning device further comprises a switch control;
The method further comprises the steps of:
And when the trigger action of the user for the switch control meets a preset action condition, starting the long text scanning element and closing the short text scanning element.
11. The method according to claim 1, wherein the method further comprises:
displaying a deduction icon when the text content type of the to-be-used scanning text meets the preset type condition;
Responding to a fourth operation triggered by the user aiming at the deduction icon, and determining at least one mimicry character and data to be displayed corresponding to the mimicry character according to the text to be used;
displaying at least one mimicry character and displaying data to be displayed corresponding to the mimicry character.
12. The method of claim 11, wherein the determining the at least one mimicry character and the data to be presented corresponding to the at least one mimicry character comprises:
According to the to-be-used scanning text, determining at least one to-be-deducted role and display data corresponding to the at least one to-be-deducted role;
according to each role to be deducted, generating a simulated person corresponding to each role to be deducted;
And determining the data to be displayed corresponding to the at least one mimicry character and the at least one mimicry character according to the mimicry character corresponding to the at least one mimicry character and the display data corresponding to the at least one mimicry character.
13. The method of claim 11, wherein the data to be presented comprises text presentation data and audio presentation data corresponding to the text presentation data.
14. The method of claim 1, wherein the scanning device comprises a sweep control;
The method further comprises the steps of:
Receiving equipment scanning data aiming at a text object to be spliced in response to a fifth operation triggered by the user aiming at the continuous scanning control;
determining a to-be-used scanning text of the text object to be spliced according to the equipment scanning data of the text object to be spliced;
Splicing the text to be used of the text object to be scanned and the text to be used of the text object to be spliced to obtain spliced text data;
And displaying the spliced text data.
15. A scanning device, comprising:
A display unit for displaying device scan data for a text object to be scanned and displaying a boundary marker after receiving the device scan data;
an adjustment unit, configured to adjust a display position of the boundary marker in response to a first operation triggered by a user for the boundary marker;
And the acquisition unit is used for acquiring and displaying the text to be scanned of the text object to be scanned from the equipment scanning data according to the display position of the boundary marker after the preset stop condition is determined to be reached.
16. An apparatus, the apparatus comprising: a processor, memory, system bus;
The processor and the memory are connected through the system bus;
The memory is for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the method of any of claims 1-14.
17. A computer readable storage medium having instructions stored therein which, when run on a terminal device, cause the terminal device to perform the method of any of claims 1 to 14.
18. A computer program product, characterized in that the computer program product, when run on a terminal device, causes the terminal device to perform the method of any of claims 1 to 14.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110981888.1A CN113709322B (en) | 2021-08-25 | 2021-08-25 | Scanning method and related equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110981888.1A CN113709322B (en) | 2021-08-25 | 2021-08-25 | Scanning method and related equipment thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113709322A CN113709322A (en) | 2021-11-26 |
CN113709322B true CN113709322B (en) | 2024-06-28 |
Family
ID=78654691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110981888.1A Active CN113709322B (en) | 2021-08-25 | 2021-08-25 | Scanning method and related equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113709322B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114489438A (en) * | 2022-01-20 | 2022-05-13 | 安徽淘云科技股份有限公司 | Display method and related equipment thereof |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005101193A2 (en) * | 2004-04-06 | 2005-10-27 | King Martin T | Scanning apparatus and related techniques |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2617416C (en) * | 1995-06-07 | 2009-09-29 | Global 360, Inc. | Character recognition system identification of scanned and real time handwritten characters |
US20020131636A1 (en) * | 2001-03-19 | 2002-09-19 | Darwin Hou | Palm office assistants |
US8799303B2 (en) * | 2004-02-15 | 2014-08-05 | Google Inc. | Establishing an interactive environment for rendered documents |
KR20060003631A (en) * | 2004-07-07 | 2006-01-11 | 주식회사 산돌커뮤니케이션 | Method and apparatus for driving specific character sound effect in text |
US20060119901A1 (en) * | 2004-12-06 | 2006-06-08 | Feri Ehrenfeld | Handheld text scanner |
US20080243818A1 (en) * | 2007-03-30 | 2008-10-02 | Konica Minolta Systems Laboratory, Inc. | Content-based accounting method implemented in image reproduction devices |
KR101027306B1 (en) * | 2009-12-14 | 2011-04-06 | 이명술 | Handy scanner device and its control method |
US8457403B2 (en) * | 2011-05-19 | 2013-06-04 | Seiko Epson Corporation | Method of detecting and correcting digital images of books in the book spine area |
CN103608760A (en) * | 2011-06-03 | 2014-02-26 | 谷歌公司 | Gestures for selecting text |
CN103905685B (en) * | 2012-12-25 | 2017-09-29 | 联想(北京)有限公司 | A kind of ancillary equipment for aiding in mobile terminal to be scanned and scan method |
TWI574543B (en) * | 2014-10-17 | 2017-03-11 | 虹光精密工業股份有限公司 | Scanning device |
DE102015006180A1 (en) * | 2015-05-13 | 2016-11-17 | Tsegaye Eshete | Method for correcting a distorted scanned image |
KR20180019976A (en) * | 2016-08-17 | 2018-02-27 | 에스프린팅솔루션 주식회사 | Image forming apparatus, scan image correction method of thereof and non-transitory computer readable medium |
CN107358227A (en) * | 2017-06-29 | 2017-11-17 | 努比亚技术有限公司 | A kind of mark recognition method, mobile terminal and computer-readable recording medium |
CN208766854U (en) * | 2018-01-26 | 2019-04-19 | 宋君莹 | A kind of English Translation auxiliary device |
CN111950397B (en) * | 2020-07-27 | 2021-10-22 | 腾讯科技(深圳)有限公司 | Text labeling method, device and equipment for image and storage medium |
CN112836703B (en) * | 2021-01-25 | 2022-04-26 | 网易有道信息技术(北京)有限公司 | Method for portable electronic device and portable electronic device |
-
2021
- 2021-08-25 CN CN202110981888.1A patent/CN113709322B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005101193A2 (en) * | 2004-04-06 | 2005-10-27 | King Martin T | Scanning apparatus and related techniques |
Also Published As
Publication number | Publication date |
---|---|
CN113709322A (en) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11010027B2 (en) | Device, method, and graphical user interface for manipulating framed graphical objects | |
KR102381801B1 (en) | Systems and methods for guiding handwriting input | |
CN104756060B (en) | Cursor control based on gesture | |
CN110109590B (en) | Automatic reading method and device | |
JP6180888B2 (en) | Electronic device, method and program | |
WO2020211368A1 (en) | Presentation file interaction method and apparatus, terminal device and storage medium | |
CN104360808A (en) | Method and device for editing documents by using symbolic gesture instructions | |
JP2003303047A (en) | Image input and display system, usage of user interface as well as product including computer usable medium | |
CN103718149A (en) | Processing method of text and touch panel equipment | |
EP3029567A1 (en) | Method and device for updating input method system, computer storage medium, and device | |
US20130063357A1 (en) | Method for presenting different keypad configurations for data input and a portable device utilizing same | |
CN108536686B (en) | Picture translation method, device, terminal and storage medium | |
CN107977155B (en) | Handwriting recognition method, device, equipment and storage medium | |
EP4303708A1 (en) | Content display method and apparatus, storage medium, and electronic device | |
WO2014082303A1 (en) | Terminal and control method for screen backlight | |
CN111580903A (en) | Real-time voting method, device, terminal equipment and storage medium | |
CN104794107A (en) | Handwriting editing method | |
EP4224300A1 (en) | Screen capture method and apparatus, and electronic device | |
CN112163432A (en) | Translation method, translation device and electronic equipment | |
CN103529933A (en) | Eye movement control method and system | |
CN113709322B (en) | Scanning method and related equipment thereof | |
CN110427139B (en) | Text processing method and device, computer storage medium and electronic equipment | |
CN113807058B (en) | Text display method and text display device | |
WO2023284640A9 (en) | Picture processing method and electronic device | |
CN111124111A (en) | Processing method and electronic equipment |
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 |