Scanning pen capable of adjusting identification range
By automatically adjusting the focal length with a zoom camera and attitude sensor in the scan pen, the limitations of the existing scan pen adjustment recognition range are solved, and convenient adaptive recognition range adjustment is achieved, reducing equipment cost and volume.
Patent Information
- Application Number
- CN202310794160.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2024-12-31
AI Technical Summary
The existing method of adjusting the recognition range of the scan pen has limitations and cannot be adjusted in real time. It relies on user manual intervention, which leads to inconvenience in use, and conventional design will lead to increased volume and production cost of the scan pen.
Using a single zoom camera and attitude sensor, the focal length of the camera is automatically adjusted by detecting the height and tilt angle of the scanner to achieve adaptive recognition range adjustment.
The scanning pen that automatically adjusts the recognition range is more convenient to use, reduces the internal space and cost of the equipment, and ensures the clear and accurate of the scanned data.
Smart Images

Figure CN119229071A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of scanning pens, and in particular to a scanning pen with an adjustable recognition range. Background Art
[0002] There are two main ways to adjust the recognition range of scanning pens in the industry. One is to use dual fixed-focus cameras set at both ends of the scanning pen, and use two fixed-focus cameras in different positions to scan to increase or decrease its recognition range; the other is to adjust the position of the camera through a mechanical device to reduce the area blocked by the camera's field of view, so as to achieve the purpose of adjusting the size of the camera's effective field of view, thereby increasing the camera's recognition range. Both of the above adjustment methods have certain limitations in use. In actual application, the recognition range cannot be adjusted in real time, and it relies more on the user to manually intervene to adjust the recognition range, which is inconvenient to use. In addition, whether it is a dual fixed-focus camera or a mechanical device, the size of the scanning pen will increase and the production cost will increase. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a scanning pen with an adjustable recognition range, which can solve the above-mentioned problems existing in the prior art, achieve the purpose of adaptively adjusting the recognition range of a single zoom camera, and is easy to use.
[0004] To achieve the above objectives, this application adopts the following technical solutions:
[0005] On the one hand, a scanning pen with adjustable recognition range is provided, comprising: a scanning pen body, a zoom camera and a posture sensor, wherein a microprocessor is arranged inside the scanning pen body, and a pen head is arranged at one end of the scanning pen body;
[0006] The zoom camera is installed at one end of the scanning pen body close to the pen head, and the zoom camera is electrically connected to the microprocessor;
[0007] The posture sensor is installed inside the scanning pen body and is used to detect the height and tilt angle of the scanning pen body. The posture sensor is electrically connected to the microprocessor;
[0008] The zoom camera is configured to obtain height information and tilt angle information of the scanning pen body through the posture sensor, send the information to the microprocessor for data processing and analysis, and send a control instruction to the zoom camera to adjust its focal length based on the result of the data analysis.
[0009] Optionally, a switch component is further included, which is arranged on the scanning pen body and connected to the posture sensor. When the switch component is pressed, it can trigger the posture sensor to detect the current height and tilt angle of the scanning pen body.
[0010] Optionally, the switch element is a push button switch or a touch screen switch.
[0011] Optionally, the switch element is arranged on a surface of the scanning pen body close to the pen head.
[0012] Optionally, a trigger member is further included, wherein the trigger member is mounted on the pen tip, and when the trigger member abuts against a scanning plane, the zoom camera starts scanning.
[0013] Optionally, two trigger members are provided, and the two trigger members are respectively provided at two ends of the pen tip.
[0014] Optionally, a display screen is further included, which is arranged on the surface of the scanning pen body and is electrically connected to the microprocessor, and the display screen is used to display the information obtained by scanning.
[0015] Optionally, the central axis of the zoom camera coincides with or is parallel to the central axis of the scanning pen body.
[0016] Optionally, a distance sensor is further included, wherein the distance sensor is electrically connected to the microprocessor, and the distance sensor is used to detect the focusing distance between the zoom camera and the scanning plane.
[0017] Optionally, the posture sensor is a three-axis sensor or a six-axis sensor.
[0018] The beneficial effects of the present application are as follows: the height and tilt angle information of the scanning pen body is obtained based on the posture sensor to adjust the angle of the zoom camera. When the scanning pen body is in different positions, the focal length of the zoom camera is different to ensure that the zoom camera can clearly capture the scanning plane to obtain clear and accurate scanning data. This method is automatically adjusted and is automatically adjusted by the posture sensor in conjunction with obtaining relevant data, which ensures that the zoom camera can accurately and effectively perform scanning actions, and is more convenient in actual use. In addition, the conventional design of dual fixed-focus cameras or mechanical devices is abandoned, and only one zoom camera is used to achieve automatic adjustment of the recognition range, which not only saves the installation space inside the scanning pen body, allowing the scanning pen body to be designed to be small and exquisite, but also effectively saves production costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The present application is further described in detail below based on the drawings and embodiments.
[0020] Figure 1 This is a schematic diagram of the overall structure of a scanning pen with adjustable recognition range according to an embodiment of the present application;
[0021] Figure 2 This is a schematic diagram of a scanning pen with an adjustable recognition range according to an embodiment of the present application being placed in the recognition area of a scanning plane;
[0022] Figure 3 This is a schematic diagram of the recognition area when the scanning pen with adjustable recognition range described in an embodiment of the present application is raised.
[0023] In the figure: 1. Scanning body; 2. Zoom camera; 3. Display screen; 4. Trigger; 5. Switch. DETAILED DESCRIPTION
[0024] In order to make the technical problems solved by this application, the technical solutions adopted, and the technical effects achieved more clearly, the technical solutions of the embodiments of this application are further described in detail below. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0025] In the description of this application, unless otherwise clearly specified and limited, the terms "connected", "connected", and "fixed" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0026] In the present application, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.
[0027] Embodiment 1: A scanning pen with adjustable recognition range.
[0028] like Figure 1As shown, this embodiment provides a scanning pen with an adjustable recognition range, including: a scanning pen body 1, a zoom camera 2, and a posture sensor, wherein a microprocessor is arranged inside the scanning pen body 1, and a pen head is arranged at one end of the scanning pen body 1; the zoom camera 2 is installed at one end of the scanning pen body 1 close to the pen head, and the zoom camera 2 is electrically connected to the microprocessor; the posture sensor is installed inside the scanning pen body 1, and is used to detect the height and tilt angle of the scanning pen body 1, and the posture sensor is electrically connected to the microprocessor; the zoom camera 2 is configured to: obtain the height information and tilt angle information of the scanning pen body 1 through the posture sensor, send it to the microprocessor for data processing and analysis, and send a control instruction to the zoom camera 2 to adjust its focal length based on the result of the data analysis.
[0029] Based on the above scheme, during use, the pen head on the scanning pen body 1 is against the scanning plane, and the posture sensor obtains the current height and tilt angle of the scanning pen body 1. The height referred to here is the vertical height of the zoom camera 2 installed on the scanning pen body 1 relative to the scanning plane, and the tilt angle refers to the angle formed between the central axis of the zoom camera 2 and the scanning plane. The focal length of the zoom camera 2 is adjusted based on the obtained height and tilt angle. In this process, the microprocessor in the scanning pen body 1 plays a role in data collection and analysis. The optimal focal length of the zoom camera 2 is obtained by analyzing the height and tilt angle, and the relevant control instructions are sent to the zoom camera 2. After receiving the instructions, the zoom camera 2 adjusts its focal length, and then shoots and scans the scanning plane. When the scanning pen body 1 is lifted, the height and tilt angle of the zoom camera 2 will change. At this time, the new height and tilt angle are obtained again through the posture sensor, and the focal length of the zoom camera 2 is re-determined as in the above action, to ensure that the zoom camera 2 can still scan clear information after the scanning pen body 1 is lifted. During this process, the user does not need to make any adjustments. When the recognition range needs to be adjusted, the user only needs to lift the scanning pen body 1 to increase the recognition range and obtain clearly scanned text. By the same token, lowering the height of the scanning pen body can reduce the recognition range. The user can make adjustments according to actual scanning needs. It is easy to use and the scanning is guaranteed to be clear. Moreover, the scanning pen only needs to be equipped with a zoom camera 2, and there is no need to increase the size of the scanning pen. At the same time, it can also reduce the production cost, which can bring huge economic benefits to mass production projects.
[0030] It is worth mentioning that the design of the scanning pen that scans with the zoom camera 2 and the posture sensor is not limited to newly developed scanning pen projects. It can also be used to upgrade existing scanning pens. It only requires adding a posture sensor to the existing scanning pen, replacing the camera with the zoom camera 2, and matching the corresponding control judgment logic to realize automatic and intelligent adjustment of the recognition range.
[0031] Preferably, it also includes a switch 5, which is arranged on the scanning pen body 1 and at least partially exposed so that the user can touch it. The switch 5 is connected to the posture sensor. When the switch 5 is pressed, it can trigger the posture sensor to detect the current height and tilt angle of the scanning pen body 1. The purpose of setting the switch 5 is to allow the user to choose whether to adjust the focal length of the zoom camera 2. In this solution, when the user presses the switch 5, the posture sensor will re-acquire the height and tilt angle of the scanning pen body 1 in the current state, and adjust the focal length of the zoom camera 2 based on the most recently obtained height and tilt angle to ensure that the text scanned by the zoom camera 2 is clear. At the beginning, when the pen tip of the scanning pen body 1 is placed on the scanning plane, the user can choose to press the switch 5 to start scanning. When the scanning pen body 1 is raised to a certain height, the focal length of the zoom camera 2 does not change. If the user does not intend to adjust the recognition range, and the user may just move his shoulders, etc., the switch 5 will not be pressed at this time, and the zoom camera 2 will not change the focal length. When the user puts the scanning pen body 1 on the scanning plane for scanning again, the zoom camera 2 can respond quickly, reducing the unnecessary adjustment process in the middle. This solution can be understood as that when the scanning pen body 1 is raised to a certain height, only when the user presses the switch 5 will the subsequent focal length adjustment action be performed.
[0032] Optionally, the switch member 5 is a push button switch or a touch screen switch. When the switch member 5 is a push button switch, the push button switch is convexly arranged on the surface of the scanning pen body 1, and there will be tactile feedback when the user presses it. When the switch member 5 is a touch screen switch, the touch screen switch is equivalent to being hidden on the display screen 3, and there is no trace of the touch screen switch on the surface of the scanning pen body 1, so there will be more space in the overall appearance design.
[0033] In order to facilitate the user to quickly and effectively press the switch component 5 when holding the scanning pen body 1, the switch component 5 is arranged on the surface of the scanning pen body 1 close to the pen head. The switch component 5 is arranged close to the finger, and the user can directly press the switch component 5 quickly with the finger to adjust the focal length of the zoom camera 2. In addition, in order to meet the hand holding habits during use, the switch component 5 can be installed on the side of the scanning pen body 1. This design is for a physical key switch, so that the key switch can be hidden on the side and is easy to press.
[0034] During the use of the scanning pen, in order to enable it to quickly start scanning, a trigger 4 is also provided. The trigger 4 is installed on the pen head. When the trigger 4 abuts against the scanning plane, the zoom camera 2 starts scanning. In the scanning pen scheme provided with a trigger 4, at least the following two situations are included when scanning. The first is that the trigger 4 is directly electrically connected to the zoom camera 2, and the second is that the trigger 4 is electrically connected to the posture sensor. In the first scheme, when the trigger 4 contacts the scanning plane, the trigger 4 directly triggers the zoom camera 2 to start scanning, and directly skips the stage of posture sensor detection. This scheme is based on the zoom camera 2 presetting a focal length, which is determined when the trigger 4 is placed on the scanning plane. The zoom camera 2 can clearly scan the text using this focal length.
[0035] It should be noted that in the first solution, during the test phase, the scanning posture that the user may use is simulated to determine the focal length of the zoom camera 2, and the range of the focal length is determined through repeated detection, and then a suitable focal length value within the range is selected as the focal length of the initial scan to ensure the clarity of the scan.
[0036] Compared with the first solution, the second solution is more rigorous and accurate. In the second solution, when the trigger member 4 contacts the scanning plane, it will trigger the posture sensor to detect and obtain the height and tilt angle information, and send the information to the microprocessor for processing and analysis, and then control the zoom camera 2 to adjust to the appropriate focal length. Since the state of the scanning pen body 1 when placed on the scanning plane is not completely consistent, when there is an angle deviation or height deviation, using the same focal length may cause deviations in scanning clarity and fail to obtain accurate scanning results. By using the posture sensor to detect and then determine the focal length, it can be ensured that each scan is accurate.
[0037] like Figure 1 As shown, the trigger members 4 are respectively arranged at the two ends of the pen tip. The two trigger members 4 are also located at the two ends of the zoom camera 2, which plays a role in protecting the zoom camera 2. At the same time, the trigger members 4 are arranged at the two ends so that the scanning pen is not limited to a fixed scanning posture when used. Any trigger member 4 can be touched to start scanning, which provides a better user experience.
[0038] In some embodiments, a display screen 3 is also included. When the switch element 5 is a touch screen switch, the touch switch can be set on the display screen 3. The display screen 3 is set on the surface of the scanning pen body 1 and is electrically connected to the microprocessor. The display screen 3 is used to display the information obtained by scanning. The main function of the display screen 3 is to display the scanning results. The text information or translation information scanned by the zoom camera 2 will be displayed on the display screen 3. In order to facilitate the user to watch, the display screen 3 is set on the surface of the scanning pen body 1, that is, the front side, so that the display screen 3 can be designed to be maximized.
[0039] It should be noted that the display screen 3 can be directly electrically connected to the zoom camera 2. After the focal length of the zoom camera 2 is adjusted, the real-time image captured by the zoom camera 2 can be directly displayed on the display screen 3. The user can determine the recognition range through the display screen 3, and then further adjust the recognition range to meet the scanning requirements.
[0040] Preferably, the central axis of the zoom camera 2 coincides with or is parallel to the central axis of the scanning pen body 1. Only when the central axis of the zoom camera 2 is parallel to or coincides with the central axis of the scanning pen body 1, the tilt angle detected by the posture sensor can be directly used as the tilt angle of the zoom camera 2, otherwise an angle difference must be added or subtracted from the detected tilt angle to obtain the required tilt angle.
[0041] Optionally, a distance sensor is further included, the distance sensor is electrically connected to the microprocessor, and the distance sensor is used to detect the focus distance between the zoom camera 2 and the scanning plane. In addition, the focus distance can also be obtained by a monocular camera distance measurement algorithm.
[0042] Optionally, the attitude sensor includes a three-axis sensor or a six-axis sensor. The attitude sensor integrates an industrial-grade, high-reliability three-axis gyroscope, a three-axis accelerometer, and a three-axis magnetic sensor. Through the embedded attitude fusion algorithm, high-precision sensor error compensation algorithm, and strict factory test calibration, it can achieve 0.1° roll and pitch angle measurement accuracy and 0.5° non-reference heading angle and 1° magnetic reference heading angle measurement accuracy, ensuring that the height and tilt angle detected by the attitude sensor are accurate, and then analyzing and deriving the accurate focal length.
[0043] During the scanning process, the size of the recognition range is determined as follows: when the pen head of the scanning pen body 1 is placed on the scanning plane, Figure 2 As shown, start scanning, obtain a focus distance of D0, a depth of field of d, an angle α between the central axis of the zoom camera 2 and the scanning plane, a field of view 2β in the width direction of the scanning pen, a recognition area width W = 2*D0*tan(β), a recognition area length L = d / cos(α), and a recognition distinction area S = W*L.
[0044] When the scanner is lifted up, Figure 3 As shown, the switch 5 is pressed to start scanning, the lifting height is h, the focusing distance is D, D=h / sin(α)+D0, the depth of field is d', the angle between the central axis of the zoom camera 2 and the scanning plane is α, the field of view in the width direction of the scanning pen is 2β, the recognition area width W=2*D*tan(β), and the recognition area length L=d' / cos(α).
[0045] To sum up, the scanning pen described in the present application is based on the non-fixed focal length and depth of field of the zoom camera 2. After the scanning pen is raised to different heights, the automatic focus algorithm can be used to clearly identify the content that needs to be scanned and identified, thereby achieving the purpose of adaptively adjusting the recognition range of the scanning pen, making it more intelligent and user-friendly to use.
[0046] In the description of this article, it should be understood that the terms "upper", "lower", "left", "right", etc., and other directions or positional relationships are only for the convenience of description and simplification of operation, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation of this application. In addition, the terms "first" and "second" are only used to distinguish in the description and have no special meaning.
[0047] In the description of this specification, the description with reference to the terms "an embodiment", "example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example.
[0048] In addition, it should be understood that although this specification is described according to implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0049] The technical principles of the present application are described above in conjunction with specific embodiments. These descriptions are only for explaining the principles of the present application and cannot be interpreted as limiting the scope of protection of the present application in any way. Based on the explanations herein, those skilled in the art can think of other specific implementation methods of the present application without creative work, and these methods will fall within the scope of protection of the present application.
Claims
1. A scanning pen with adjustable recognition range, characterized in that: include: A scanning pen body (1) is provided with a microprocessor inside, and a pen head is provided at one end of the scanning pen body (1); A zoom camera (2) is mounted on one end of the scanning pen body (1) close to the pen tip, and the zoom camera (2) is electrically connected to the microprocessor; A posture sensor installed inside the scanning pen body (1) and used to detect the height and tilt angle of the scanning pen body (1), the posture sensor being electrically connected to the microprocessor; The zoom camera (2) is configured to obtain height information and tilt angle information of the scanning pen body (1) through the posture sensor, and send the information to the microprocessor for data processing and analysis; the microprocessor sends a control instruction to the zoom camera (2) to adjust its focal length based on the result of the data analysis.
2. The scanning pen with adjustable recognition range according to claim 1, characterized in that: The invention also comprises a switch component (5), wherein the switch component (5) is arranged on the scanning pen body (1) and is connected to the posture sensor. When the switch component (5) is pressed, the posture sensor can be triggered to detect the current height and tilt angle of the scanning pen body (1).
3. The scanning pen with adjustable recognition range according to claim 2, characterized in that: The switch element (5) is a key switch or a touch screen switch.
4. The scanning pen with adjustable recognition range according to claim 2, characterized in that: The switch component (5) is arranged on the surface of the scanning pen body (1) on a side close to the pen head.
5. The scanning pen with adjustable recognition range according to claim 1, characterized in that: It also comprises a triggering member (4), wherein the triggering member (4) is mounted on the pen tip, and when the triggering member (4) abuts against a scanning plane, the zoom camera (2) starts scanning.
6. The scanning pen with adjustable recognition range according to claim 5, characterized in that: Two trigger members (4) are provided, and the two trigger members (4) are respectively provided at the two ends of the pen tip.
7. The scanning pen with adjustable recognition range according to claim 1, characterized in that: It also comprises a display screen (3), which is arranged on the surface of the scanning pen body (1) and is electrically connected to the microprocessor. The display screen (3) is used to display the information obtained by scanning.
8. The scanning pen with adjustable recognition range according to claim 1, characterized in that: The central axis of the zoom camera (2) coincides with or is parallel to the central axis of the scanning pen body (1).
9. The scanning pen with adjustable recognition range according to claim 1, characterized in that: It also comprises a distance sensor, which is electrically connected to the microprocessor and is used to detect the focus distance between the zoom camera (2) and the scanning plane.
10. The scanning pen with adjustable recognition range according to claim 1, characterized in that: The posture sensor is a three-axis sensor or a six-axis sensor.
Citation Information
Patent Citations
Scanning pen for supporting global recognition
CN113691692A
Scanning pen, scanning method and main control chip
CN114125173A
Scanning pen
CN215734436U
The Included Receiver in Camera housing
KR2020100003005U