CN113378827A - Scanning pen and method for determining scanning boundary - Google Patents

Scanning pen and method for determining scanning boundary Download PDF

Info

Publication number
CN113378827A
CN113378827A CN202110604768.XA CN202110604768A CN113378827A CN 113378827 A CN113378827 A CN 113378827A CN 202110604768 A CN202110604768 A CN 202110604768A CN 113378827 A CN113378827 A CN 113378827A
Authority
CN
China
Prior art keywords
scanned
medium
instruction
microprocessor unit
pen
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.)
Pending
Application number
CN202110604768.XA
Other languages
Chinese (zh)
Inventor
储德宝
王晓斐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Toycloud Technology Co Ltd
Original Assignee
Anhui Toycloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Toycloud Technology Co Ltd filed Critical Anhui Toycloud Technology Co Ltd
Priority to CN202110604768.XA priority Critical patent/CN113378827A/en
Publication of CN113378827A publication Critical patent/CN113378827A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses a scanning pen and a method for determining a scanning boundary. The core concept of the invention is to provide a scanning pen scheme for accurately determining a scanning starting datum line, and specifically comprises a trigger switch, a microprocessor unit, a camera shooting element, a distance measuring sensor and a datum line emitting element, wherein the trigger switch is used for controlling the opening and closing of the camera shooting element; the distance measuring sensor is used for detecting the distance between the pen point and a medium to be scanned; the microprocessor unit is used for sending a transmitting instruction and a transmitting stopping instruction to the datum line transmitting element and sending a working instruction and a closing instruction to the camera shooting element; the datum line transmitting element is used for responding to a transmitting instruction to send out a positioning cursor and responding to a transmitting stopping instruction to stop working; the image pickup element is used for shooting in response to the working instruction so as to obtain a scanned text. The scanning pen can accurately and clearly determine the scanning initial boundary, furthest ensure the accuracy of the scanning boundary and prevent the phenomena of few words, missing words and multiple words.

Description

Scanning pen and method for determining scanning boundary
Technical Field
The invention relates to the technical field of intelligent identification, in particular to a scanning pen and a method for determining a scanning boundary.
Background
The scanning pen realizes reading of paper texts or images through an image recognition technology, and the scanning pen can translate or convert read information into electronic information. As a product type capable of providing functions of translation, word meaning explanation and the like, the portable electronic book is very convenient to carry and is convenient to use at any time due to the compact structure and the ingenious structural design similar to a pen.
When the existing scanning pen is used, when a user holds the scanning pen to scan characters or images on a medium, due to lack of reference or fuzzy reference positioning, initial characters are not scanned frequently, or the initial characters are scanned for a plurality of times, so that word missing or multiple words are caused, and the problems of inaccurate scanning information and inaccurate translation are caused.
Therefore, a scanning pen and a method for determining a scanning boundary are needed.
Disclosure of Invention
In view of the above, the present invention provides a scanning pen and a method for determining a scanning boundary, which can accurately and clearly determine a scanning start boundary, ensure accuracy of the scanning boundary to the maximum extent, and prevent the occurrence of the phenomena of few words, missing words, and multiple words.
The technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a wand comprising:
the pen comprises a pen body and a pen point arranged at one end of the pen body, wherein one end of the pen body close to the pen point is provided with a trigger switch, a microprocessor unit, a camera element, a distance measuring sensor and a datum line emitting element are arranged in the pen body, the camera element, the distance measuring sensor and the datum line emitting element are connected with the microprocessor unit, the microprocessor unit is connected with the camera element,
the trigger switch is connected with the microprocessor unit and is used for sending an activation signal to the microprocessor unit when the pen point is contacted with a medium to be scanned and sending a deactivation signal to the microprocessor unit when the pen point is separated from the medium to be scanned so as to control the on and off of the camera element through the activation signal and the deactivation signal;
the distance measuring sensor is used for detecting the distance between the pen point and a medium to be scanned, sending a datum line emission request to the microprocessor unit when the distance is smaller than or equal to a preset threshold value, and sending a datum line emission stop request to the microprocessor unit when the distance is larger than the preset threshold value;
the microprocessor unit is used for receiving the datum line transmitting request and sending a transmitting instruction to the datum line transmitting element; receiving the datum line emission stopping request, and sending an emission stopping instruction to the datum line emission element; receiving the activation signal and sending a working instruction to the camera element; receiving the deactivation signal and sending a closing instruction to the image pickup element;
the datum line transmitting element is used for responding to the transmitting instruction and sending out a positioning cursor; stopping working in response to the emission stopping instruction;
the image pickup element is used for responding to the working instruction and picking up the text content on the medium to be scanned; and in response to the closing instruction, stopping working to obtain a scanned text, and sending the scanned text to the microprocessor unit so as to enable the microprocessor unit to process the scanned text.
In one possible implementation manner, the scanning pen further includes an observation window disposed at one end of the pen body close to the pen tip, and the observation window and the trigger switch are disposed at two sides of the pen tip, and the observation window is used for observing text contents on the medium to be scanned.
In one possible implementation manner, the distance measuring sensor, the reference line transmitting element and the image pickup element are arranged at the bottom of the microprocessor element, the reference line transmitting element is arranged between the distance measuring sensor and the image pickup element, and the distance measuring sensor is arranged at one end far away from the trigger switch.
In one possible implementation manner, the scanning pen further includes an illuminating lamp, which is disposed inside the pen body and connected to the microprocessor unit, and is configured to respond to the working instruction to illuminate text content on the medium to be scanned; and stopping working in response to the closing instruction.
In one possible implementation, the illumination lamp is disposed at the bottom of the microprocessor element and at an end near the trigger switch.
In a second aspect, the present invention provides a method for determining a scanning boundary using the scanning pen, including:
enabling the pen point end to be close to a medium to be scanned, and enabling the datum line emitting element to emit a positioning cursor when the distance between the pen point and the medium to be scanned is smaller than or equal to a preset threshold value, so that a user can determine the initial position of a text on the medium to be scanned according to the positioning cursor;
lowering the pen body, and activating the image pickup element through the trigger switch so that the image pickup element picks up the text on the medium to be scanned;
when the positioning cursor is positioned at the end of the text, the pen body is lifted, and the shooting of the camera element is controlled to stop through the trigger switch;
and continuing to lift the pen body upwards until the distance is greater than the preset threshold value, and stopping sending the positioning cursor by the datum line transmitting element.
In one possible implementation manner, when the pen tip is close to a medium to be scanned and a distance between the pen tip and the medium to be scanned is less than or equal to a preset threshold, the sending of the positioning cursor by the reference line emitting element so that a user determines a starting position of a text on the medium to be scanned according to the positioning cursor includes:
when the pen tip is close to a medium to be scanned, the distance measuring sensor detects the distance between the pen tip and the medium to be scanned;
when the distance is smaller than or equal to a preset threshold value, the ranging sensor sends a datum line emission request to the microprocessor unit;
the microprocessor unit receives the datum line transmitting request and sends a transmitting instruction to the datum line transmitting element;
in response to the transmitting instruction, the datum line transmitting element sends out a positioning cursor;
and the user determines the initial position of the text on the medium to be scanned according to the positioning cursor.
In one possible implementation manner, the lowering the pen body and activating the image pickup element through the trigger switch to make the image pickup element shoot the text on the medium to be scanned includes:
when the pen point contacts the medium to be scanned, the trigger switch sends an activation signal to the microprocessor unit;
the microprocessor unit receives the activation signal and sends a working instruction to the image pickup element;
and responding to the working instruction, the image pickup element starts to shoot the text content on the medium to be scanned.
In one possible implementation manner, the lifting the pen body when the positioning cursor is located at the end of the text, and controlling the image pickup element to stop shooting through the trigger switch includes:
when the positioning cursor is positioned at the end of a text and the pen body is lifted until the pen point is separated from the medium to be scanned, the trigger switch sends a deactivation signal to the microprocessor unit;
the microprocessor unit receives the deactivation signal and sends a closing instruction to the image pickup element;
in response to the closing instruction, the image pickup element stops shooting, and text content shot by the image pickup element after receiving the working instruction and before receiving the closing instruction is taken as a scanned text.
In one possible implementation manner, the continuously lifting the pen body upward until the distance is greater than the preset threshold, the stopping sending of the positioning cursor by the reference line transmitting element includes:
continuing to lift the pen body upwards, and detecting the distance between the pen point and a medium to be scanned by the ranging sensor;
when the distance is greater than the preset threshold value, the ranging sensor sends a datum line emission stopping request to the microprocessor unit;
the microprocessor unit receives the datum line emission stopping request and sends an emission stopping instruction to the datum line emission element;
and in response to the emission stopping instruction, the datum line emission element stops emitting the positioning cursor.
The core concept of the invention is to provide a scanning pen scheme for accurately determining a scanning starting datum line, and particularly, a trigger switch is arranged at one end of a pen body close to a pen point, a microprocessor unit, a camera element, a distance measuring sensor and a datum line emitting element are arranged in the pen body, and the trigger switch is used for controlling the on and off of the camera element through an activation signal and a deactivation signal; the distance measuring sensor is used for detecting the distance between the pen point and a medium to be scanned and sending a reference line transmitting request and a reference line stopping transmitting request to the microprocessor unit; the microprocessor unit is used for sending a transmitting instruction and a transmitting stopping instruction to the datum line transmitting element and sending a working instruction and a closing instruction to the camera shooting element; the datum line transmitting element is used for responding to a transmitting instruction to send out a positioning cursor and responding to a transmitting stopping instruction to stop working; the image pickup element is used for responding to a working instruction to pick up text content on a medium to be scanned, responding to a closing instruction to stop working so as to obtain a scanned text, and sending the scanned text to the microprocessor unit for processing. The datum line emitting element emits the positioning cursor when the pen point is in a suspended state, and the pen point can be lowered for scanning and inputting after a user selects the initial position according to the positioning cursor, so that the scanning initial boundary can be accurately and clearly determined, the accuracy of the scanning boundary is ensured to the maximum extent, and the phenomena of few words, missing words and multiple words are prevented.
Drawings
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described with reference to the accompanying drawings, in which:
FIG. 1 is a schematic structural diagram of an embodiment of a scanning pen provided by the present invention;
FIG. 2 is a block diagram of an embodiment of a wand of the present invention;
fig. 3 is a flowchart of an embodiment of a method for determining a scan boundary provided in the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As mentioned above, when the existing scan pen is used, when a user holds the scan pen to scan characters or images on a medium, due to lack of reference or fuzzy reference positioning, the initial characters are not scanned or the initial characters are scanned for multiple times, which often causes word missing or multiple words, and causes the problems of inaccurate scanned information and inaccurate translation.
Based on the analysis and exploration of the scheme with poor effect, the invention provides the scanning pen for accurately determining the scanning starting datum line. Specifically, the present invention provides at least one embodiment of the scanning pen, as shown in fig. 1, which may include:
the pen comprises a pen body 1 and a pen point arranged at one end of the pen body 1, wherein one end of the pen body 1 close to the pen point is provided with a trigger switch 8, a microprocessor unit (MPU) 3, an image pickup element 6 connected with the microprocessor unit 3, a distance measuring sensor 4 and a datum line emitting element 5 are arranged in the pen body 1,
the trigger switch 8 is connected with the microprocessor unit 3, and is used for sending an activation signal to the microprocessor unit 3 when the pen tip contacts a medium to be scanned, and sending a deactivation signal to the microprocessor unit 3 when the pen tip is separated from the medium to be scanned, so as to control the on and off of the image pickup element 6 through the activation signal and the deactivation signal;
the distance measuring sensor 4 is used for detecting the distance between the pen point and a medium to be scanned, sending a reference line emission request to the microprocessor unit 3 when the distance is smaller than or equal to a preset threshold value, and sending a reference line emission stop request to the microprocessor unit 3 when the distance is larger than the preset threshold value;
the microprocessor unit 3 is used for receiving the datum line transmitting request and sending a transmitting instruction to the datum line transmitting element 5; receiving the datum line emission stopping request, and sending an emission stopping instruction to the datum line emission element 5; receiving the activation signal, and sending a work instruction to the image pickup element 6; receiving the deactivation signal, and sending a closing instruction to the image pickup element 6;
the datum line transmitting element 5 is used for responding to the transmitting instruction and sending out a positioning cursor; stopping working in response to the emission stopping instruction;
the camera element 6 is used for responding to the working instruction and shooting the text content on the medium to be scanned; and in response to the closing instruction, stopping working to obtain a scanned text, and sending the scanned text to the microprocessor unit 3 so that the microprocessor unit 3 processes the scanned text.
The camera element 6, the distance measuring sensor 4 and the reference line emitting element 5 are connected to the microprocessor unit 3 via a communication bus. In some embodiments of the present invention, the microprocessor Unit 3 is a microprocessor Unit that satisfies 1G master frequency and has a multi-core Network Processing Unit (NPU). In the present invention, as shown in fig. 2, the microprocessor unit 3 sends an operation instruction to the reference line emitting element 5 and the image pickup element 6 by receiving and processing signals from the ranging sensor 4, the image pickup element 6, and the trigger switch 8. Further, the processing process of the scanned text by the microprocessor unit 3 may be, for example, translation, voice conversion, voice broadcasting, word segmentation, etc., and the specific processing method may refer to the prior art, which is not described in detail herein.
Further, the image pickup element 6 can be controlled to be turned on and off by the trigger switch 8, and in some embodiments of the present invention, the pressing action of the trigger switch 8 is used as a start trigger of the image pickup element 6, and the releasing reset action of the trigger switch 8 is used as a turn-off trigger of the image pickup element 6. The type and manner of triggering the trigger switch 8 are not particularly limited in the present invention.
As described above, the distance measuring sensor 4 transmits the reference line transmission request to the microprocessor unit 3 when detecting that the distance between the pen tip and the medium to be scanned is equal to or less than the preset threshold, and transmits the reference line stop transmission request to the microprocessor unit 3 when the distance is greater than the preset threshold, so that the working range of the reference line transmission element 5 is within the range where the distance between the pen tip and the medium to be scanned is equal to or less than the preset threshold. Therefore, when the scanning pen is in a suspended state and is not in contact with a medium to be scanned, the reference line emitting element 5 already emits a positioning cursor, so that a user can accurately and clearly determine a scanning starting boundary. As an example and not by way of limitation, the reference line emitting element 5 has emitted a long strip structure with a dark positioning cursor, in some embodiments of the present invention, the color of the positioning cursor is red with high identification, preferably, the long side of the long strip is perpendicular to the row of the text content on the medium to be scanned, in other embodiments of the present invention, the long side of the long strip is inclined to the row of the text content on the medium to be scanned, and it should be noted that the present invention does not specifically limit the included angle between the long side of the long strip and the row of the text content on the medium to be scanned.
Further, the scanning pen further comprises an observation window 2, the observation window 2 is arranged at one end, close to the pen point, of the pen body 1, the observation window 2 and the trigger switch 8 are arranged on two sides of the pen point, and the observation window 2 is used for observing text contents on the medium to be scanned. Since the text content on the medium to be scanned can be directly seen through the observation window 2, the scanning position can be determined in the scanning process.
The distance measuring sensor 4, the reference line transmitting member 5 and the image pickup element 6 are provided at the bottom of the microprocessor element 3, and the reference line transmitting member 5 is provided between the distance measuring sensor 4 and the image pickup element 6, and the distance measuring sensor 4 is provided at an end distant from the trigger switch 8.
The scanning pen further comprises an illuminating lamp 7, the illuminating lamp is arranged inside the pen body 1, is connected with the microprocessor unit 3 and is used for responding to the working instruction and illuminating text contents on the medium to be scanned; and stopping working in response to the closing instruction. The microprocessor unit 3 is also used for sending a working instruction to the illuminating lamp 7 after receiving the activation signal; after receiving the deactivation signal, a turn-off instruction is sent to the illumination lamp 7. By means of the illumination lamp 7, the definition of the text content on the medium to be scanned, which is photographed by the image pickup element 6, can be ensured. As shown in fig. 2, the microprocessor unit 3 receives and processes a signal from the trigger switch 8, and sends an operation instruction to the illumination lamp 7. Specifically, as shown in fig. 1, the illumination lamp 7 is provided at the bottom of the microprocessor element 3 and at an end near the trigger switch 8.
In the invention, the trigger switch 8 can control the on and off of the camera element 6 and the illuminating lamp 7, the camera element 6 and the illuminating lamp 7 are triggered to be turned on along with the fact that the trigger switch 8 is pressed down and is in contact with the surface of a medium to be scanned, and the camera element 6 and the illuminating lamp 7 are triggered to be turned off along with the fact that the trigger switch 8 is lifted and separated from the surface of the medium.
In summary, the present invention provides a scanning pen scheme for accurately determining a scanning start datum line, and specifically, a trigger switch is disposed at one end of a pen body close to a pen tip, a microprocessor unit, an image pickup element, a distance measurement sensor and a datum line emitting element are disposed in the pen body, and the trigger switch is configured to control the image pickup element to be turned on and off by an activation signal and a deactivation signal; the distance measuring sensor is used for detecting the distance between the pen point and a medium to be scanned and sending a reference line transmitting request and a reference line stopping transmitting request to the microprocessor unit; the microprocessor unit is used for sending a transmitting instruction and a transmitting stopping instruction to the datum line transmitting element and sending a working instruction and a closing instruction to the camera shooting element; the datum line transmitting element is used for responding to a transmitting instruction to send out a positioning cursor and responding to a transmitting stopping instruction to stop working; the image pickup element is used for responding to a working instruction to pick up text content on a medium to be scanned, responding to a closing instruction to stop working so as to obtain a scanned text, and sending the scanned text to the microprocessor unit for processing. The datum line emitting element emits the positioning cursor when the pen point is in a suspended state, and the pen point can be lowered for scanning and inputting after a user selects the initial position according to the positioning cursor, so that the scanning initial boundary can be accurately and clearly determined, the accuracy of the scanning boundary is ensured to the maximum extent, and the phenomena of few words, missing words and multiple words are prevented.
It should be understood that the division of the components of the stylus shown in fig. 1 is merely a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these components may all be implemented in software invoked by a processing element; or may be implemented entirely in hardware; and part of the components can be realized in the form of calling by the processing element in software, and part of the components can be realized in the form of hardware. For example, a certain module may be a separate processing element, or may be integrated into a certain chip of the electronic device. Other components are implemented similarly. In addition, all or part of the components can be integrated together or can be independently realized. In implementation, each step of the above method or each component above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Corresponding to the above embodiments and preferred solutions, the present invention further provides at least one embodiment of a method for determining a scanning boundary using the above stylus, as shown in fig. 3, which may include:
and step S1, enabling the pen tip to be close to a medium to be scanned until the distance between the pen tip and the medium to be scanned is smaller than or equal to a preset threshold value, and enabling the datum line emitting element to emit a positioning cursor so that a user can determine the initial position of the text on the medium to be scanned according to the positioning cursor.
During the descending process of the pen body 1, the distance between the pen point and a medium to be scanned is detected through the distance measuring sensor 4, and when the distance falls into the working interval of the datum line emitting element 5, the microprocessor unit 3 sends an emitting instruction to the datum line emitting element 5, so that the datum line emitting element 5 sends out a positioning cursor, and a user can conveniently determine a scanning starting datum line according to the positioning cursor. In one embodiment, step S1 may include the following steps:
step S11, when the pen tip approaches the medium to be scanned, the distance measuring sensor 4 detects the distance between the pen tip and the medium to be scanned.
Step S12, when the distance is less than or equal to the preset threshold, the distance measuring sensor 4 sends a reference line transmission request to the microprocessor unit 3.
In step S13, the microprocessor unit 3 receives the reference line transmission request and sends a transmission instruction to the reference line transmission element 5.
Step S14, in response to the transmission instruction, the reference line transmitting element 5 sends out a positioning cursor.
And step S15, the user determines the initial position of the text on the medium to be scanned according to the positioning cursor.
The working interval of the reference line emitting element 5 is within the range that the distance between the pen point and the medium to be scanned is less than or equal to the preset threshold, and when the scanning pen is in a suspended state and is not in contact with the medium to be scanned, the reference line emitting element 5 already emits a positioning cursor, so that a user can accurately and clearly determine the scanning starting boundary. As an example and not by way of limitation, the reference line emitting element 5 has emitted a long strip structure with a dark positioning cursor, in some embodiments of the present invention, the color of the positioning cursor is red with high identification, preferably, the long side of the long strip is perpendicular to the row of the text content on the medium to be scanned, in other embodiments of the present invention, the long side of the long strip is inclined to the row of the text content on the medium to be scanned, and it should be noted that the present invention does not specifically limit the included angle between the long side of the long strip and the row of the text content on the medium to be scanned.
Step S2, lowering the pen body 1, and activating the image pickup device 6 through the trigger switch 8, so that the image pickup device 6 picks up the text on the medium to be scanned.
The on and off of the image pickup element 6 can be controlled by the trigger switch 8, and in some embodiments of the present invention, the pressing action of the trigger switch 8 is used as the starting trigger of the image pickup element 6, and the releasing reset action of the trigger switch 8 is used as the off trigger of the image pickup element 6. In one embodiment, step S2 may include the following steps:
step S21, when the pen tip touches the medium to be scanned, the trigger switch 8 sends an activation signal to the microprocessor unit 3.
In step S22, the microprocessor unit 3 receives the activation signal and sends a work instruction to the image pickup device 6.
In some embodiments of the present invention, the trigger switch 8 may further control the illumination lamp 7 to be turned on and off, specifically, after receiving the activation signal, the microprocessor unit 3 sends a working instruction to the image pickup element 6 and also sends a working instruction to the illumination lamp 7, so that the illumination lamp 7 works in response to the working instruction sent by the microprocessor unit 3, and the illumination lamp 7 may illuminate text content on a medium to be scanned, and assist the image pickup element 6 to take a clear picture, so as to ensure the definition of the text content on the medium to be scanned, which is photographed by the image pickup element 6.
In step S23, in response to the operation instruction, the image pickup element 6 starts to photograph the text content on the medium to be scanned.
In some embodiments of the present invention, while the image pickup element 6 starts to photograph the text content on the medium to be scanned in response to the operation instruction issued by the microprocessor unit 3, the illumination lamp 7 illuminates the text content on the medium to be scanned in response to the operation instruction.
It can be seen that the trigger switch 8 can control the turning on of the image pickup element 6 and the illuminating lamp 7, and the image pickup element 6 and the illuminating lamp 7 are triggered to turn on along with the pressing down of the trigger switch 8 and the contact with the surface of the medium to be scanned, and in the invention, the image pickup element 6 and the illuminating lamp 7 both work in response to the working instruction sent by the microprocessor unit 3 after the pen point contacts the medium to be scanned.
Step S3 is to lift the pen body 1 when the positioning cursor is located at the end of the text, and to control the image pickup device 6 to stop shooting through the trigger switch 8.
The working interval of the image pickup element 6 is that the image pickup element 6 stops working after the trigger switch 8 is separated from the surface of the medium while the trigger switch 8 is in contact with the surface of the medium to be scanned. In one embodiment, step S3 may include the following steps:
step S31, when the positioning cursor is located at the end of the text and the pen body 1 is lifted to the point where the pen tip is separated from the medium to be scanned, the trigger switch 8 sends a deactivation signal to the microprocessor unit 3.
In step S32, the microprocessor unit 3 receives the deactivation signal and sends a shutdown instruction to the image pickup element 6.
In some embodiments of the invention, after receiving the deactivation signal, the microprocessor unit 3 sends a turn-off command to the image pickup element 6 and, at the same time, to the illumination lamp 7, so that the illumination lamp 7 stops operating in response to the turn-off command sent by the microprocessor unit 3.
Step S33, in response to the close instruction, the image pickup element 6 stops shooting, and takes the text content shot by the image pickup element 6 after receiving the operation instruction and before receiving the close instruction as the scanned text.
In some embodiments of the present invention, while the image pickup element 6 stops capturing the text content on the medium to be scanned in response to a turn-off instruction issued by the microprocessor unit 3, the illumination lamp 7 is also turned off in response to the turn-off instruction, stopping illuminating the text content on the medium to be scanned.
After the scanning is finished, the image pickup element 6 sends the scanned text to the microprocessor unit 3 so that the microprocessor unit 3 processes the scanned text. Further, the processing process of the scanned text by the microprocessor unit 3 may be, for example, translation, voice conversion, voice broadcasting, word segmentation, etc., and the specific processing method may refer to the prior art, which is not described in detail herein.
Therefore, the trigger switch 8 can control the on and off of the camera element 6 and the illuminating lamp 7, the camera element 6 and the illuminating lamp 7 are triggered to be turned on along with the fact that the trigger switch 8 is pressed down and is in contact with the surface of a medium to be scanned, and the camera element 6 and the illuminating lamp 7 are triggered to be turned off along with the fact that the trigger switch 8 is lifted up and separated from the surface of the medium.
Step S4, continuing to lift the pen body 1 upward until the distance is greater than the preset threshold, and the reference line emitting element 5 stops emitting the positioning cursor.
After scanning is finished, in the lifting process of the pen body 1, the distance between the pen point and a medium to be scanned is detected through the distance measuring sensor 4, and when the distance exceeds the working interval of the datum line emitting element 5, the emission stopping instruction is sent to the datum line emitting element 5 through the microprocessor unit 3, so that the datum line emitting element 5 stops sending a positioning cursor, and a user can accurately determine a scanning position in the whole scanning process conveniently. In one embodiment, step S4 may include the following steps:
and step S41, continuing to lift the pen body 1 upwards, and detecting the distance between the pen point and the medium to be scanned by the distance measuring sensor 4.
Step S42, when the distance is greater than the preset threshold, the distance measuring sensor 4 sends a reference line stop transmission request to the microprocessor unit 3.
In step S43, the microprocessor unit 4 receives the reference line transmission stop request, and sends a transmission stop instruction to the reference line transmission element 5.
Step S44, in response to the emission stopping instruction, the reference line emitting element 5 stops emitting the positioning cursor.
In summary, the core concept of the present invention is to provide a scanning pen scheme for accurately determining a scanning start reference line, specifically, when a distance between a pen tip and a medium to be scanned is less than or equal to a preset threshold, a reference line emitting element emits a positioning cursor, so that a user determines a start position of a text on the medium to be scanned according to the positioning cursor; lowering the pen body, and activating the camera shooting element to start shooting through the trigger switch; when the positioning cursor is positioned at the end of the text, the pen body is lifted, and the shooting of the camera shooting element is controlled to stop by the trigger switch; and continuously lifting the pen body upwards until the distance is greater than a preset threshold value, and stopping sending the positioning cursor by the datum line transmitting element. The invention can emit the positioning cursor through the datum line emitting element when the pen point is in a suspended state, and the pen point can be lowered for scanning and inputting after a user selects the initial position according to the positioning cursor, so that the scanning initial boundary can be accurately and clearly determined, the accuracy of the scanning boundary is ensured to the maximum extent, and the phenomena of few words, missing words and multiple words are prevented.
In the embodiments of the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of skill in the art will appreciate that the various modules, elements, and method steps described in the embodiments disclosed in this specification can be implemented as electronic hardware, combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In addition, the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other. In particular, for embodiments of devices, apparatuses, etc., since they are substantially similar to the method embodiments, reference may be made to some of the descriptions of the method embodiments for their relevant points. The above-described embodiments of devices, apparatuses, etc. are merely illustrative, and modules, units, etc. described as separate components may or may not be physically separate, and may be located in one place or distributed in multiple places, for example, on nodes of a system network. Some or all of the modules and units can be selected according to actual needs to achieve the purpose of the above-mentioned embodiment. Can be understood and carried out by those skilled in the art without inventive effort.
The structure, features and effects of the present invention have been described in detail with reference to the embodiments shown in the drawings, but the above embodiments are merely preferred embodiments of the present invention, and it should be understood that technical features related to the above embodiments and preferred modes thereof can be reasonably combined and configured into various equivalent schemes by those skilled in the art without departing from and changing the design idea and technical effects of the present invention; therefore, the invention is not limited to the embodiments shown in the drawings, and all the modifications and equivalent embodiments that can be made according to the idea of the invention are within the scope of the invention as long as they are not beyond the spirit of the description and the drawings.

Claims (10)

1. A wand, comprising:
the pen comprises a pen body and a pen point arranged at one end of the pen body, wherein one end of the pen body close to the pen point is provided with a trigger switch, a microprocessor unit, a camera element, a distance measuring sensor and a datum line emitting element are arranged in the pen body, the camera element, the distance measuring sensor and the datum line emitting element are connected with the microprocessor unit, the microprocessor unit is connected with the camera element,
the trigger switch is connected with the microprocessor unit and is used for sending an activation signal to the microprocessor unit when the pen point is contacted with a medium to be scanned and sending a deactivation signal to the microprocessor unit when the pen point is separated from the medium to be scanned so as to control the on and off of the camera element through the activation signal and the deactivation signal;
the distance measuring sensor is used for detecting the distance between the pen point and a medium to be scanned, sending a datum line emission request to the microprocessor unit when the distance is smaller than or equal to a preset threshold value, and sending a datum line emission stop request to the microprocessor unit when the distance is larger than the preset threshold value;
the microprocessor unit is used for receiving the datum line transmitting request and sending a transmitting instruction to the datum line transmitting element; receiving the datum line emission stopping request, and sending an emission stopping instruction to the datum line emission element; receiving the activation signal and sending a working instruction to the camera element; receiving the deactivation signal and sending a closing instruction to the image pickup element;
the datum line transmitting element is used for responding to the transmitting instruction and sending out a positioning cursor; stopping working in response to the emission stopping instruction;
the image pickup element is used for responding to the working instruction and picking up the text content on the medium to be scanned; and in response to the closing instruction, stopping working to obtain a scanned text, and sending the scanned text to the microprocessor unit so as to enable the microprocessor unit to process the scanned text.
2. The wand of claim 1, further comprising a viewing window disposed at an end of the body proximate to the tip, wherein the viewing window and the trigger switch are disposed on opposite sides of the tip, wherein the viewing window is configured to view text content on the medium to be scanned.
3. The wand of claim 1, wherein the distance measuring sensor, the reference line emitting element and the image pickup element are disposed at a bottom of the microprocessor element, and the reference line emitting element is disposed between the distance measuring sensor and the image pickup element, the distance measuring sensor being disposed at an end remote from the trigger switch.
4. The wand of claim 1, further comprising an illumination lamp disposed within the body and coupled to the microprocessor unit for illuminating text content on the medium to be scanned in response to the operating instructions; and stopping working in response to the closing instruction.
5. The wand of claim 4, wherein the illumination lamp is disposed at a bottom of the microprocessor element and at an end adjacent to the trigger switch.
6. A method for determining a scanning boundary using the stylus according to any one of claims 1-5, comprising:
enabling the pen point end to be close to a medium to be scanned, and enabling the datum line emitting element to emit a positioning cursor when the distance between the pen point and the medium to be scanned is smaller than or equal to a preset threshold value, so that a user can determine the initial position of a text on the medium to be scanned according to the positioning cursor;
lowering the pen body, and activating the image pickup element through the trigger switch so that the image pickup element picks up the text on the medium to be scanned;
when the positioning cursor is positioned at the end of the text, the pen body is lifted, and the shooting of the camera element is controlled to stop through the trigger switch;
and continuing to lift the pen body upwards until the distance is greater than the preset threshold value, and stopping sending the positioning cursor by the datum line transmitting element.
7. The method for determining the scanning boundary according to claim 6, wherein the step of bringing the pen tip close to the medium to be scanned until the distance between the pen tip and the medium to be scanned is less than or equal to a preset threshold value, the step of emitting a positioning cursor by the reference line emitting element so that a user can determine the starting position of the text on the medium to be scanned according to the positioning cursor comprises:
when the pen tip is close to a medium to be scanned, the distance measuring sensor detects the distance between the pen tip and the medium to be scanned;
when the distance is smaller than or equal to a preset threshold value, the ranging sensor sends a datum line emission request to the microprocessor unit;
the microprocessor unit receives the datum line transmitting request and sends a transmitting instruction to the datum line transmitting element;
in response to the transmitting instruction, the datum line transmitting element sends out a positioning cursor;
and the user determines the initial position of the text on the medium to be scanned according to the positioning cursor.
8. The method for determining the scanning boundary according to claim 6, wherein the lowering the pen body and activating the image capturing element through the trigger switch to enable the image capturing element to capture the text on the medium to be scanned comprise:
when the pen point contacts the medium to be scanned, the trigger switch sends an activation signal to the microprocessor unit;
the microprocessor unit receives the activation signal and sends a working instruction to the image pickup element;
and responding to the working instruction, the image pickup element starts to shoot the text content on the medium to be scanned.
9. The method for determining the scanning boundary according to claim 6, wherein the lifting the pen body when the positioning cursor is located at the end of the text, and the controlling the image capturing element to stop capturing the image by the trigger switch comprises:
when the positioning cursor is positioned at the end of a text and the pen body is lifted until the pen point is separated from the medium to be scanned, the trigger switch sends a deactivation signal to the microprocessor unit;
the microprocessor unit receives the deactivation signal and sends a closing instruction to the image pickup element;
in response to the closing instruction, the image pickup element stops shooting, and text content shot by the image pickup element after receiving the working instruction and before receiving the closing instruction is taken as a scanned text.
10. The method for determining the scanning boundary according to claim 9, wherein the step of continuing to lift the pen body upward until the distance is greater than the preset threshold value, the step of stopping the emission of the positioning cursor by the reference line emitting element comprises:
continuing to lift the pen body upwards, and detecting the distance between the pen point and a medium to be scanned by the ranging sensor;
when the distance is greater than the preset threshold value, the ranging sensor sends a datum line emission stopping request to the microprocessor unit;
the microprocessor unit receives the datum line emission stopping request and sends an emission stopping instruction to the datum line emission element;
and in response to the emission stopping instruction, the datum line emission element stops emitting the positioning cursor.
CN202110604768.XA 2021-05-31 2021-05-31 Scanning pen and method for determining scanning boundary Pending CN113378827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110604768.XA CN113378827A (en) 2021-05-31 2021-05-31 Scanning pen and method for determining scanning boundary

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110604768.XA CN113378827A (en) 2021-05-31 2021-05-31 Scanning pen and method for determining scanning boundary

Publications (1)

Publication Number Publication Date
CN113378827A true CN113378827A (en) 2021-09-10

Family

ID=77575103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110604768.XA Pending CN113378827A (en) 2021-05-31 2021-05-31 Scanning pen and method for determining scanning boundary

Country Status (1)

Country Link
CN (1) CN113378827A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116580402A (en) * 2023-05-26 2023-08-11 读书郎教育科技有限公司 Text recognition method and device for dictionary pen

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205003693U (en) * 2015-09-18 2016-01-27 北京汉王国粹科技有限责任公司 Optical scan pen
CN205003694U (en) * 2015-09-18 2016-01-27 北京汉王国粹科技有限责任公司 Scanning pen
CN207752496U (en) * 2018-01-31 2018-08-21 浙江工业大学 A kind of wand
CN110225219A (en) * 2019-07-19 2019-09-10 山东积至电子有限公司 Data typing pen with camera function and its range laser positioning method of taking pictures
CN111783768A (en) * 2020-07-07 2020-10-16 科大讯飞股份有限公司 Scanning pen
CN212256338U (en) * 2019-06-27 2020-12-29 网易有道信息技术(北京)有限公司 Scanning pen
CN212460577U (en) * 2020-07-07 2021-02-02 科大讯飞股份有限公司 Scanning device
CN212519119U (en) * 2020-08-13 2021-02-09 安徽淘云科技有限公司 Scanning device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205003693U (en) * 2015-09-18 2016-01-27 北京汉王国粹科技有限责任公司 Optical scan pen
CN205003694U (en) * 2015-09-18 2016-01-27 北京汉王国粹科技有限责任公司 Scanning pen
CN207752496U (en) * 2018-01-31 2018-08-21 浙江工业大学 A kind of wand
CN212256338U (en) * 2019-06-27 2020-12-29 网易有道信息技术(北京)有限公司 Scanning pen
CN110225219A (en) * 2019-07-19 2019-09-10 山东积至电子有限公司 Data typing pen with camera function and its range laser positioning method of taking pictures
CN111783768A (en) * 2020-07-07 2020-10-16 科大讯飞股份有限公司 Scanning pen
CN212460577U (en) * 2020-07-07 2021-02-02 科大讯飞股份有限公司 Scanning device
CN212519119U (en) * 2020-08-13 2021-02-09 安徽淘云科技有限公司 Scanning device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116580402A (en) * 2023-05-26 2023-08-11 读书郎教育科技有限公司 Text recognition method and device for dictionary pen

Similar Documents

Publication Publication Date Title
US7345673B2 (en) Input unit arrangement
US6906699B1 (en) Input unit, method for using the same and input system
US6744537B1 (en) Image reader
US4804949A (en) Hand-held optical scanner and computer mouse
CN103916592B (en) For shooting the device and method of portrait in the portable terminal with camera
US8131025B2 (en) Fingerprint detection apparatus
US20110130096A1 (en) Operation control and data processing in an electronic pen
US6765700B1 (en) Method for detecting and controlling home position of image reader
JP5159530B2 (en) Method, surface computer and computer program for displaying an image of an object placed on a surface computer
RU2456659C2 (en) Image capturing device, image display and capturing device and electronic device
JPH11345074A (en) Hand-held pointing and scanning device
EP1073944A1 (en) Input unit, method for using the same and input system
CN106873789B (en) Projection system
US20020071036A1 (en) Method and system for video object range sensing
WO2019024644A1 (en) Proximity detection method and apparatus, storage medium, and electronic device
CN105245716A (en) Method and mobile terminal for preventing from accidentally dialling
US7701503B2 (en) Method for controlling light source and optical input device using the same
CN212256338U (en) Scanning pen
JP2008198130A (en) Image reader, image reading method, and fingerprint reader
JP2017117312A (en) Information processing device, information input system, information processing method, and program
JPH0546824A (en) Information write/read system for ic card
CN113378827A (en) Scanning pen and method for determining scanning boundary
TW201337649A (en) Optical input device and input detection method thereof
JPH07244557A (en) Input device
CN221124621U (en) Motion recognition sensor and intelligent furniture

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210910

RJ01 Rejection of invention patent application after publication