Method for portable scanning device and related products
Patent Information
- Application Number
- CN202311284470.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2043-09-28
AI Technical Summary
Existing portable scanning devices suffer from low accuracy during scanning, which can easily lead to missed content or repeated scanning, and are cumbersome to operate.
Virtual scanning guide icons are displayed on portable scanning devices, and the display status of the icons is adjusted according to image recognition technology to guide users to scan accurately.
It improves scanning accuracy, simplifies the operation process, avoids content omissions and duplicate scanning, and enhances the user experience.
Smart Images

Figure CN117274997B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of portable scanning device technology, and more specifically, the embodiments of the present invention relate to a method for a portable scanning device, as well as a portable scanning device and a computer-readable storage medium for performing the aforementioned method. Background Technology
[0002] This section is intended to provide background or context for embodiments of the invention set forth in the claims. The description herein may include concepts that may be explored, but not necessarily concepts that have been previously conceived or explored. Therefore, unless otherwise stated, what is described in this section is not prior art for the purposes of this application's specification and claims, and is not acknowledged as prior art simply by virtue of its inclusion in this section.
[0003] Users often encounter several problems when using dictionary pens currently on the market. Specifically, scanning with a dictionary pen requires users to rely on their own experience to operate it. If the pen tip is placed too close to the start of the content to be scanned, it can easily lead to missed sections at the beginning. Similarly, if the number of lines to be scanned is large, and the pen tip deviates too far from a particular line, it can also cause scanning failures. In particular, when the dictionary pen tip has an obstructing border, it makes it even more difficult for users to accurately control the pen, sometimes requiring multiple rescans, resulting in cumbersome operation and low accuracy. Summary of the Invention
[0004] The known scanning control effects of portable scanning devices are unsatisfactory, which is a very frustrating process.
[0005] Therefore, there is a great need for an improved solution for portable scanning devices that can guide users to perform accurate scans and improve scanning accuracy.
[0006] In this context, embodiments of the present invention are intended to provide a method and related products for a portable scanning device.
[0007] In a first aspect of the present invention, a method for a portable scanning device is provided, comprising: in response to the portable scanning device being in an operational state, controlling the display of a virtual scanning guide icon on the portable scanning device; wherein the scanning guide icon is used to indicate the scanning range of the portable scanning device for the content to be scanned.
[0008] In one embodiment of the present invention, controlling the display of a virtual scan guide icon on the portable scanning device includes: acquiring an image of the content to be scanned; and controlling the display state of the scan guide icon based on the acquired image.
[0009] In another embodiment of the present invention, controlling the display state of the scanning guide sign based on the acquired image includes: determining the layout information of the characters in the image; and adjusting the display state of the scanning guide sign based on the layout information.
[0010] In another embodiment of the present invention, controlling the display state of the scanning guide sign based on the acquired image includes: acquiring the image slicing range involved in the optical character recognition process of the image; and adjusting the display state of the scanning guide sign based on the image slicing range.
[0011] In another embodiment of the present invention, controlling the display of a virtual scan guide icon on the portable scanning device includes: determining the image capture range of the portable scanning device for the content to be scanned; controlling the display of an initial scan guide icon at a predetermined position on the portable scanning device according to the image capture range; and selectively adjusting the display state of the initial scan guide icon according to the image of the content to be scanned.
[0012] In one embodiment of the present invention, the scanning guide identifier includes a start position identifier and / or a scanning boundary identifier, and controlling the display state of the scanning guide identifier includes controlling the display position and / or display form of the start position identifier and / or the scanning boundary identifier.
[0013] In another embodiment of the present invention, the working state of the portable scanning device includes a multi-line scanning state, and controlling the display state of the scanning guide icon includes: adjusting the display state of the scanning guide icon for the multi-line content to be scanned in response to the portable scanning device being in the multi-line scanning state.
[0014] In another embodiment of the present invention, the starting position identifier and the scanning boundary identifier include alignment marks, and adjusting the display state of the scanning guide identifier for the multiple lines of content to be scanned includes: displaying alignment marks as the starting position identifier of each line of content, and alignment marks as the scanning boundary identifier of each line of content.
[0015] In another embodiment of the present invention, the scan guide mark includes an alignment surface, wherein each boundary of the alignment surface serves as the starting position mark and the scan boundary mark, respectively, and adjusting the display state of the scan guide mark for the multi-line content to be scanned includes: displaying an alignment surface covering the multi-line content.
[0016] In one embodiment of the present invention, the method further includes: obtaining the scanning result of the content to be scanned; and controlling the differentiated display of the scanning guidance mark according to the scanning result.
[0017] In another embodiment of the present invention, the portable scanning device includes a main display screen and a sub-display screen as a scanning window, wherein the sub-display screen is set independently relative to the main display screen, or the sub-display screen and the main display screen are integrated. Controlling the display of a virtual scanning guide icon on the portable scanning device includes controlling the display of the scanning guide icon on the sub-display screen.
[0018] In another embodiment of the present invention, the method further includes: displaying the content scanned under the guidance of the scanning guide mark on the sub-display screen in real time.
[0019] In a second aspect of the present invention, a portable scanning device is provided, comprising: a processor; and a memory storing computer instructions for the portable scanning device, wherein when the computer instructions are executed by the processor, the portable scanning device causes the portable scanning device to perform the methods described according to the foregoing and the following embodiments.
[0020] In a third aspect of the present invention, a computer-readable storage medium is provided, comprising program instructions for a portable scanning device, which, when executed by a processor, cause the methods described according to the foregoing and the following embodiments to be implemented.
[0021] According to the method and related products for portable scanning devices of the present invention, a virtual scanning guide icon can be displayed on the portable scanning device to guide the user to scan accurately. Thus, when using the portable scanning device, the user can refer to the scanning guide icon to determine the specific scanning area, avoiding omissions or scanning failures caused by "blind scanning," effectively simplifying the scanning operation and improving scanning accuracy.
[0022] Furthermore, in some embodiments of the present invention, the display state (e.g., length, position, etc.) of the scanning guide mark can be adjusted using the slicing range involved in the optical character recognition process. This guide mark helps the user clearly define the slicing range, ensuring that the content scanned under its guidance better meets the slicing requirements for subsequent stitching. Especially in multi-line scanning mode, this better supports contextual stitching during scanning. Attached Figure Description
[0023] The above and other objects, features, and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated in the drawings by way of example and not limitation, wherein:
[0024] Figure 1A block diagram schematically illustrates an exemplary computing system 100 suitable for implementing embodiments of the present invention;
[0025] Figure 2 A schematic flowchart of a method for a portable scanning device according to an embodiment of the present invention is shown.
[0026] Figure 3 A schematic flowchart of a method for a portable scanning device according to another embodiment of the present invention is shown.
[0027] Figure 4 A schematic flowchart of a method for a portable scanning device according to yet another embodiment of the present invention is shown.
[0028] Figure 5 A schematic flowchart of a method for a portable scanning device according to another embodiment of the present invention is shown.
[0029] Figure 6A and Figure 6B A schematic diagram illustrating the scanning process of a portable scanning device according to an embodiment of the present invention is shown.
[0030] Figure 7 A schematic diagram illustrating a scanning guide identifier according to an embodiment of the present invention is shown; and
[0031] Figure 8 A schematic diagram of the structure of a portable scanning device according to an embodiment of the present invention is shown.
[0032] In the accompanying drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Implementation
[0033] The principles and spirit of the invention will now be described with reference to several exemplary embodiments. It should be understood that these embodiments are given merely to enable those skilled in the art to better understand and implement the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided to make this disclosure more thorough and complete, and to fully convey the scope of this disclosure to those skilled in the art.
[0034] Figure 1 A block diagram of an exemplary computing system 100 suitable for implementing embodiments of the present invention is shown. For example... Figure 1As shown, the computing system 100 may include: a central processing unit (CPU) 101, random access memory (RAM) 102, read-only memory (ROM) 103, a system bus 104, a hard disk controller 105, a keyboard controller 106, a serial interface controller 107, a parallel interface controller 108, a display controller 109, a hard disk 110, a keyboard 111, a serial external device 112, a parallel external device 113, and a display 114. Among these devices, the CPU 101, RAM 102, ROM 103, hard disk controller 105, keyboard controller 106, serial controller 107, parallel controller 108, and display controller 109 are coupled to the system bus 104. The hard disk 110 is coupled to the hard disk controller 105, the keyboard 111 is coupled to the keyboard controller 106, the serial external device 112 is coupled to the serial interface controller 107, the parallel external device 113 is coupled to the parallel interface controller 108, and the display 114 is coupled to the display controller 109. It should be understood that... Figure 1 The structural block diagrams described are for illustrative purposes only and are not intended to limit the scope of the invention. In some cases, certain devices may be added or removed depending on the specific circumstances.
[0035] Those skilled in the art will recognize that embodiments of the present invention can be implemented as a system, method, or computer program product. Therefore, this disclosure can be specifically implemented as entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," "unit," or "system." Furthermore, in some embodiments, the present invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.
[0036] Any combination of one or more computer-readable media may be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (not exhaustive) of a computer-readable storage medium may include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0037] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0038] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0039] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network (including a local area network (LAN) or a wide area network (WAN)), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0040] Embodiments of the present invention will now be described with reference to flowchart illustrations and block diagrams of apparatus (or systems) according to embodiments of the invention. It should be understood that each block of the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine that, when executed by the computer or other programmable data processing apparatus, creates means for implementing the functions / operations specified in the blocks of the flowchart and / or block diagram.
[0041] These computer program instructions may also be stored in a computer-readable medium that enables a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce a product comprising an instruction apparatus that implements the functions / operations specified in the boxes of a flowchart and / or block diagram.
[0042] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, such that the instructions that execute on the computer or other programmable apparatus can provide a process for implementing the functions / operations specified in the boxes of a flowchart and / or block diagram.
[0043] According to embodiments of the present invention, a method and related products for a portable scanning device are provided. Furthermore, any number of elements in the accompanying drawings is for illustrative purposes only and not for limitation, and any naming is for distinction only and has no limiting meaning.
[0044] The principles and spirit of the present invention will be explained in detail below with reference to several representative embodiments. Invention Overview
[0045] The inventors discovered that current scanning controls for portable scanning devices are not ideal. Specifically, users are essentially operating in a "blind scanning" mode when using dictionary pens on the market. That is, users need to rely on experience to estimate the scanning range of the dictionary pen and then control it to scan. Consequently, when the pen tip is too close to the starting content, that content is likely to be obscured by the pen tip's obstruction frame, preventing the camera from capturing that area and resulting in missed content. Alternatively, when there is a lot of content to scan, and the pen tip is slightly off-center from some items, missed scans and rescans are common, potentially requiring users to repeatedly rescan, making the entire scanning process cumbersome and resulting in poor accuracy.
[0046] In response, the inventors discovered that the scanning range of a portable scanning device can be clearly shown to the user. Specifically, a virtual scanning guide icon can be used to display the scanning range of the portable scanning device to guide the user in accurately operating the device for scanning.
[0047] After introducing the basic principles of the present invention, various non-limiting embodiments of the present invention will be described in detail below. Exemplary methods
[0048] The following is for reference. Figure 2 This section describes a method for a portable scanning device according to an exemplary embodiment of the present invention. It should be noted that the embodiments of the present invention can be applied to any applicable scenario.
[0049] Figure 2 A schematic flowchart of a method 200 for a portable scanning device according to an embodiment of the present invention is shown.
[0050] like Figure 2 As shown, in step S201, it is determined that the portable scanning device is in working condition.
[0051] Portable scanning devices here can include various electronic devices that require user-controlled scanning, such as dictionary pens, scanning translation pens, and listening learning machines, or other portable devices with integrated scanning functions. It should be noted that the specific type of portable scanning device is not limited here. For example, it can also include some electronic devices with scanning capabilities and scanning guidance requirements.
[0052] In some embodiments, the operating state of a portable scanning device can refer to the state after the portable scanning device is powered on or started. For example, in other embodiments, the portable scanning device may integrate multiple functions, including scanning, in which case the operating state of the portable scanning device may include the state of starting the scanning function, the state after powering on, or the state after starting. Of course, the operating state of the portable scanning device is preferably the state of starting the scanning function.
[0053] Furthermore, there are no restrictions on how the portable scanning device is activated; the specific method can be set and adjusted according to human-computer interaction needs. For example, it can be triggered directly through virtual or physical buttons (power button or other designated buttons) on the portable scanning device. Alternatively, it can be triggered through pre-defined voice commands, gesture commands, or other control commands.
[0054] In step S202, a virtual scan guide icon can be displayed on the portable scanning device. The portable scanning device in this embodiment may have information visualization or information display functions. For example, the portable scanning device may have a display screen, and in response to the portable scanning device being in working condition, a virtual scan guide icon can be displayed on the display screen. Specifically, the scan guide icon is used to indicate the scanning range of the content to be scanned by the portable scanning device.
[0055] As mentioned earlier, this embodiment does not limit the type of portable scanning device; that is, the portable scanning device can have diverse structural designs. When using the portable scanning device to scan content, the portable scanning device can be moved closer to the content to be scanned, or the content to be scanned can be moved closer to the portable scanning device. Therefore, the specific display state of the scanning guidance mark on the portable scanning device is not limited here, and can be adjusted according to factors such as the scanning interaction design of the content to be scanned and the scanning scenario.
[0056] For example, in some embodiments, when the application scenario of the portable scanning device is fixed, such as needing to scan the same or similar content, the virtual scanning guide icon can be displayed at a fixed position on the display screen of the portable scanning device. In other embodiments, when the application scenario of the portable scanning device is not limited, the display of the scanning guide icon can be dynamically controlled in conjunction with the content to be scanned.
[0057] Therefore, when using a portable scanning device, users can refer to the virtual scanning guide displayed on the device to determine the specific scanning area. This virtual guide guides users to accurately operate the portable scanning device, ensuring that the content to be scanned is covered within the scanning area. This avoids omissions or scanning failures caused by "blind scanning," effectively simplifying the scanning operation and improving scanning accuracy.
[0058] Figure 3 A schematic flowchart of a method 300 for a portable scanning device according to another embodiment of the present invention is shown. It will be understood that method 300 is a... Figure 2 Further limitations and / or extensions of Chinese method 200. Therefore, the foregoing is combined with Figure 2 The relevant detailed descriptions also apply to the following text.
[0059] like Figure 3 As shown, in step S301, in response to the portable scanning device being in working state, an image of the content to be scanned can be acquired. Details regarding the portable scanning device and its working state can be found in the preceding text. Figure 1 The relevant descriptions in the text will not be repeated here.
[0060] In practical applications, images of the content to be scanned can be acquired in various ways. For example, in some embodiments, when the content to be scanned is detected to be within the scanning range of the portable scanning device, the portable scanning device can be automatically triggered to acquire an image of the content to be scanned. Another example is that the portable scanning device can be triggered to acquire an image of the content to be scanned based on user instructions. Yet another example is that an automatic image acquisition command can be set in the portable scanning device, which can trigger the portable scanning device to acquire an image when it is in working condition. It should be noted that the detailed description of the image acquisition process here is merely illustrative, and the solution of the present invention is not limited thereto.
[0061] In step S302, the display status of the scanning guide mark can be controlled according to the acquired image.
[0062] Specifically, the dynamic display of scanning guide signs can be controlled based on images in various ways. In some embodiments, the layout information of characters in the image can be determined, and the display state of the scanning guide signs can be adjusted according to the aforementioned layout information. The layout information of the characters includes, but is not limited to, font size, alignment, line spacing, etc., and this layout information can be identified and extracted from the image using image recognition technology (such as optical character recognition technology).
[0063] The aforementioned display state may include display position and / or display format. In some embodiments, the display position of the scanning guide icon can be adjusted according to layout information, such as adjusting the position of the scanning guide icon on the display screen based on the alignment of the starting position of the content to be scanned. In other embodiments, the display format of the scanning guide icon can also be adjusted according to layout information, such as adjusting the width or length of the scanning guide icon based on information such as the character size or line spacing of the content to be scanned. In still other embodiments, the display position and display format of the scanning guide icon can also be adjusted according to layout information, such as adjusting the display position and display format of the scanning guide icon based on information such as the number of lines and line spacing of the content to be scanned. The description of adjusting the display state of the scanning guide icon using layout information is merely illustrative.
[0064] Furthermore, in some embodiments, the scanning guide sign can be dynamically adjusted based on the slicing range involved in the optical character recognition process. Specifically, the slicing range involved in the optical character recognition process of the image can be obtained. Optical Character Recognition (OCR) is a technology that translates shapes into computer text using character recognition methods. When performing image processing, this OCR technology involves context recognition and stitching, a process that requires image segmentation and other processing using the slicing range. In some embodiments, the optical character recognition technology is configured with a specific slicing range, and this embodiment can use the slicing range to adjust the display state of the scanning guide sign. For example, the slicing range can be simulated by scanning the guide sign.
[0065] In some implementation scenarios, if the scan guide identifier includes alignment marks, the length of the alignment marks can be adjusted to the height of the character. If scanning a single line of characters, adjust it to the height of that single line; if scanning multiple lines of characters simultaneously, adjust it to the total height of all lines. The position of the scan guide identifier can be set at the beginning of the character. Additionally, when scanning multiple lines simultaneously, the scan guide identifier can also include boundary marks. In this case, upper and lower boundary marks can be set for each line of characters, or for all lines of characters.
[0066] Therefore, by adjusting the display state of the scan guide marker by controlling the slicing range, the content scanned under the guidance of the scan marker better meets the slicing requirements during subsequent stitching. This is especially beneficial in multi-line scan mode, as it better supports contextual stitching during scanning.
[0067] Figure 4 A schematic flowchart of a method 400 for a portable scanning device according to yet another embodiment of the present invention is shown. It will be understood that method 400 is a... Figure 2 Chinese method 200 and Figure 3 Further limitations and / or extensions of Chinese method 300. Therefore, the foregoing is combined with Figure 2 and Figure 3 The relevant detailed descriptions also apply to the following text.
[0068] like Figure 4 As shown, in step S401, in response to the portable scanning device being in working state, the image capture range of the content to be scanned by the portable scanning device is determined. Here, the image capture range can be understood as the image acquisition range of the scanning component (e.g., camera) in the portable scanning device. In some embodiments, the image capture range can be determined based on the performance parameters and installation position of the scanning component; it can be fixed and can be directly retrieved from the backend or server. In some embodiments, the image capture range may also vary depending on the application scenario of the portable scanning device. For example, when a user operates a dictionary pen, their preferred holding angle may differ, and the image capture range may vary depending on the angle between the pen tip and the horizontal plane. In this case, the original image capture range can be obtained, and fine-tuned by combining it with the aforementioned angle, etc. It should be noted that the description of the image capture range acquisition process here is merely illustrative.
[0069] After obtaining the image capture range, in step S402, an initial scan guidance indicator can be displayed at a predetermined position on the portable scanning device based on the image capture range. In this embodiment, the initial scan guidance indicator can be preset based on the image capture range, allowing the user to operate the portable scanning device. In particular, when the portable scanning device scans the same or similar content, the image capture range is determined using the device's own performance (e.g., camera performance) and / or user habits, and the initial scan guidance indicator is adjusted based on this range, enabling the initial scan guidance indicator to guide the user to perform an accurate scan.
[0070] Of course, in some embodiments, the aforementioned initial scan guide sign can be further adjusted according to application requirements. Specifically, in step S403, the display state of the initial scan guide sign can be selectively adjusted according to the image of the content to be scanned. For example, when the scanning range indicated by the initial scan guide sign can accurately cover the content to be scanned, the initial scan guide sign can remain unchanged and its original display state can be maintained.
[0071] When the scanning range indicated by the initial scan guide icon cannot accurately cover the content to be scanned, the display status of the initial scan guide icon can be further adjusted based on the image of the content to be scanned. For specific methods of adjusting the display status, please refer to the previous text. Figure 3 The relevant details will not be elaborated here.
[0072] Therefore, this example can preset an initial scan guide icon to guide the user's operation. In actual use, the initial scan guide icon can be selectively adjusted so that the scan range indicated by the adjusted scan guide icon is more compatible with the content to be scanned, and is more conducive to guiding the user to operate accurately, thereby improving the scanning accuracy.
[0073] Figure 5 A schematic flowchart of a method 500 for a portable scanning device according to another embodiment of the present invention is shown. It will be understood that method 500 is... Figure 2 Chinese Method 200 Figure 3 Chinese method 300, or Figure 4 Further limitations and / or extensions of Chinese method 400. Therefore, the foregoing is combined with Figure 2 , Figure 3 and Figure 4 The relevant detailed descriptions also apply to the following text.
[0074] In this embodiment, the portable scanning device is equipped with a display screen, which can be divided into a main display screen and a sub-display screen. The sub-display screen can function as a scanning window. In some embodiments, the sub-display screen can be set independently of the main display screen. That is, the sub-display screen and the main display screen are designed separately, and can be two separate displays. In this case, a single display screen can be used to replace the original scanning window, or a display screen can be placed on top of the original scanning window, etc.
[0075] Alternatively, the aforementioned sub-display and main display can also be integrated. That is, the sub-display and main display can be a single screen, in which case they can be different display areas on that screen. Alternatively, it can be understood as the portable scanning device adopting a full-screen design, with the sub-display and main display belonging to different display areas of that full-screen. It should be noted that there are no restrictions on the material of the display screen.
[0076] In this embodiment, the scanning guidance logo can be displayed on the screen of the portable scanning device. Specifically, as follows... Figure 5 As shown, in step S501, in response to the portable scanning device being in working state, a scanning guide icon can be displayed on the sub-display screen. Specifically, the display state of the scanning guide icon on the sub-display screen can be adjusted according to the layout information of the characters in the image of the content to be scanned. Alternatively, the display state of the scanning guide icon on the sub-display screen can be adjusted according to the image cropping range involved in the optical character recognition process. Or, the display state of the scanning guide icon on the sub-display screen can be adjusted according to the image capture range of the content to be scanned by the portable scanning device. The specific adjustment process of the display state of the scanning guide icon can be found in the preceding text. Figure 3 , Figure 4 The relevant details will not be repeated here.
[0077] In step S502, the content scanned under the guidance of the scanning guide icon can also be displayed in real time on the sub-display screen. This allows users to view the content scanned in real time by the portable scanning device through the sub-display screen, enhancing the user experience.
[0078] Furthermore, in some embodiments, all content scanned by the portable scanning device can also be displayed on the main display screen. This allows users to easily check for any omissions in the scanned content by viewing the content displayed on the main display screen.
[0079] The following combination Figure 6A and Figure 6B right Figure 5 The process of precisely controlling a portable scanning device based on scanning guidance markers is further explained. Among them, Figure 6A and Figure 6B Different types of portable scanning devices were showcased. Specifically, Figure 6A This can be understood as the 601 portable scanning device with a split-screen design. Figure 6B This can be understood as a portable scanning device 602 featuring a full-screen design. Furthermore, this portable scanning device supports both single-line and multi-line scanning. Figure 6A and Figure 6B This will be explained using multi-line scanning as an example. Furthermore, Figure 6A and Figure 6B The scan content shown in the scan guide logo (light gray text in the image) can be understood as the content to be scanned that the user sees through the scan window on the sub-display screen.
[0080] like Figure 6A As shown, the portable scanning device 601 (e.g., a dictionary pen) has a sub-display A1 and a main display B1. In some embodiments, when the portable scanning device 601 is in a working state (e.g., powered on, started, or with scanning function activated), a virtual scanning guide icon C can be displayed on the sub-display A1. The scanning guide icon C can be fixed, or it can be adjusted according to the image capture range of the portable scanning device 601, or it can be adjusted according to the image of the content to be scanned (e.g., layout information, slice area, etc.).
[0081] In practical applications, the content scanned under the guidance of the scanning guide marker C can be displayed in real time on the sub-display A1. In some embodiments, if the size of the sub-display A1 is limited, the content scanned under the guidance of the scanning guide marker C can also be displayed in real time on the main display B1. For example, "The bright moon shines before the window... I bow my head and think of my home..." can be displayed on the sub-display B1. In addition, the main display B1 can also display all content scanned by the portable scanning device. In this case, the main display B1 can be further divided into display areas, with one part used to display the real-time scanned content and another part used to display all scanned content or the scanned content from the starting position to the current position.
[0082] like Figure 6B As shown, the portable scanning device 602 (e.g., a dictionary pen) has a sub-display A2 and a main display B2. The sub-display A2 and the main display B2 can be understood as different display areas within a full-screen display. In some embodiments, when the portable scanning device 602 is in a working state (e.g., powered on, started, or with scanning function activated), a virtual scanning guide icon C can be displayed on the sub-display A2. This scanning guide icon C can be fixed, or it can be adjusted according to the image capture range of the portable scanning device 602, or it can be adjusted according to the image of the content to be scanned (e.g., layout information, slice area, etc.).
[0083] In practical applications, the content scanned under the guidance of the scanning guide C can be displayed in real time on the sub-display A2, and all content scanned by the portable scanning device or the scanned content from the starting position to the current position can be displayed on the main display B2.
[0084] It should be noted that, Figure 6A and Figure 6BThe scan guide identifier shown is merely illustrative. In practical applications, the scan guide identifier may include a start position identifier and / or a scan boundary identifier. Figure 7 Examples are shown of some possible forms of scanning the boot identifier C (e.g., C1 to C10). Figure 7 As shown, C1 to C5 represent scan guidance indicators for single-line scanning with the portable scanning device, while C6 to C10 represent scan guidance indicators for multi-line scanning with the portable scanning device. The portable scanning device may only include the start position indicator (e.g., C1, C2), or it may include both the start position indicator and the scan boundary indicator (e.g., C3 to C10). It should be noted that... Figure 7 The scanning guide mark shown is merely an example. The scanning guide mark in this invention is not limited to the above form and can be modified or combined according to design requirements.
[0085] When the scan guide identifier includes a start position identifier and / or a scan boundary identifier, as stated above... Figures 2 to 6B The control over the display state of the scanning guide markers can be achieved by controlling the display position and / or display format of the start position marker and / or scan boundary marker. For example, only the display position and / or display format of the start position marker can be controlled, or only the display position and / or display format of the scan boundary marker can be controlled. Alternatively, the display positions of both the start position marker and the scan boundary marker, their display formats, or both their display formats and positions can be controlled simultaneously. The display format is not limited to shape or color.
[0086] Specifically, in some implementation scenarios, the width of the starting position marker can be randomly adjusted according to the spacing of the text in the scanned content. The camera of the portable scanning device can simultaneously transmit the real-time captured image to the processor on the motherboard of the portable scanning device. The processor can recognize the spacing of the text to be scanned through OCR technology and adjust the starting position marker based on the spacing (for example, the width or length of the alignment mark can be adjusted).
[0087] Furthermore, after the camera captures the image, the dictionary pen's OCR technology is set with a specific image slicing range. Portable scanning devices (such as dictionary pens) can use the length of alignment marks to indicate the image slicing range. For example, in single-line scanning mode, the length of the alignment marks can be shortened to the height of the single line of text to be scanned, and the position is set at the beginning of the scan of that single line of text. In multi-line scanning mode, the length of the alignment marks can be extended to the height of the multiple lines of text to be scanned, and the position is set at the beginning of the scan of those multiple lines of text, and so on.
[0088] Furthermore, the shape of the alignment marks can also change; in single-line scan mode, it can change from a single straight line (see...). Figure 7 C1) transforms into a "⊥" shape (see...) Figure 7 (C3), where the horizontal line indicates the starting scan position and the vertical line indicates the line where the text to be scanned is located.
[0089] In some embodiments, the portable scanning device may operate in a multi-line scanning state, meaning it supports multi-line scanning. In this case, in response to the portable scanning device being in multi-line scanning mode, the display state of the scanning guide markers is adjusted for the multiple lines of content to be scanned. For example, multiple dashed lines can be automatically marked to make the connection between the multiple lines clearer; alternatively, a scanning surface format can be enabled.
[0090] In some implementation scenarios, the start position marker and scan boundary marker may specifically include alignment lines. In this scenario, alignment lines can be displayed as the start position marker for each line of content, and alignment lines can be displayed as the scan boundary markers for each line of content (e.g., ...). Figure 7 (C6, C7, C8, C10 in the text).
[0091] In other implementation scenarios, the scan guide markers may also include alignment planes, where the boundaries of the alignment planes serve as start position markers and scan boundary markers, respectively. In this scenario, alignment planes covering multiple lines of content can be displayed (e.g., ...). Figure 7 (C9 in the middle).
[0092] Furthermore, in some embodiments, the scanning result of the content to be scanned can be obtained, and based on the scanning result, the differentiated display of the scanning guide icon can be controlled. For example, the color, shape, etc. of the scanning guide icon can be changed to differentiate whether the scan was successful. For example, when the scanning guide icon is an alignment mark, the color of the alignment mark can be adjusted to any color (e.g., green) when the scan is successful, and the color of the alignment mark can be adjusted to another color (e.g., gray) when the scan fails.
[0093] Therefore, by guiding users to accurately operate the portable scanning device through scanning guide signs, it is possible to avoid missing the starting text of the scan, and it can also better support the splicing of context when scanning multiple lines. Exemplary device
[0094] After introducing the method of exemplary embodiments of the present invention, the following references are made. Figure 8 The present invention describes related products for portable scanning devices according to exemplary embodiments of the present invention.
[0095] Figure 8 A schematic block diagram of a portable scanning device 800 according to an embodiment of the present invention is shown. Figure 8 As shown, the portable scanning device 800 may include a processor 801 and a memory 802. The memory 802 stores computer instructions for the portable scanning device. When the computer instructions are executed by the processor 801, the portable scanning device 800 performs actions according to the foregoing description. Figures 2-5 The method described herein. For example, in some embodiments, the portable scanning device 800 can control the display of virtual scanning guide icons on the portable scanning device, adjust the display state of the scanning guide icons according to layout information, adjust the display state of the scanning guide icons according to the slicing range, and so on. Based on this, the portable scanning device 800 can guide the user to determine the specific scanning range of the portable scanning device by referring to the scanning guide icons, avoiding the situation of missing the scanning start content or scanning failure caused by "blind scanning", effectively simplifying the scanning operation and improving the scanning accuracy.
[0096] It should be noted that although several devices or sub-devices of the device have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of the invention, the features and functions of two or more devices described above can be embodied in one device. Conversely, the features and functions of one device described above can be further divided and embodied by multiple devices.
[0097] The use of the verbs "including" and "contains" and their inflections in the application documents does not preclude the existence of elements or steps other than those described in the application documents. The article "a" or "one" preceding an element does not preclude the existence of multiple such elements.
[0098] While the spirit and principles of the invention have been described with reference to several specific embodiments, it should be understood that the invention is not limited to the disclosed specific embodiments, and the division of aspects does not imply that features in these aspects cannot be combined for benefit; such division is merely for ease of description. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is to be interpreted in the broadest sense, thereby encompassing all such modifications and equivalent structures and functions.
Claims
1. A method for a portable scanning device, characterized in that, include: In response to the portable scanning device being in working condition, the image capture range of the portable scanning device for the content to be scanned is determined; Based on the image acquisition range, control the display of an initial scanning guidance mark at a predetermined position on the portable scanning device; as well as The display state of the initial scan guide mark is selectively adjusted according to the image of the content to be scanned, wherein the portable scanning device includes a main display screen and a sub-display screen as a scanning window, wherein the sub-display screen is set independently relative to the main display screen, or the sub-display screen and the main display screen are set as an integrated unit; The system controls the display of scan guidance icons on the sub-display screen to guide the user to perform an accurate scan based on the scan guidance icons. The scanning guide icon is used to indicate the scanning range of the portable scanning device for the content to be scanned.
2. The method according to claim 1, characterized in that, Controlling the display of a virtual scan guide icon on the portable scanning device includes: Acquire an image of the content to be scanned; and Based on the acquired image, control the display state of the scanning guide icon.
3. The method according to claim 2, characterized in that, Controlling the display state of the scanning guide icon based on the acquired image includes: Determine the layout information of the characters in the image; and Adjust the display status of the scanning guide icon according to the layout information.
4. The method according to claim 2, characterized in that, Controlling the display state of the scanning guide icon based on the acquired image includes: Obtain the cropping range involved in the optical character recognition process of the image; and Adjust the display status of the scanning guide icon according to the slice area.
5. The method according to claim 2, characterized in that, The scan guide identifier includes a start position identifier and / or a scan boundary identifier, and controlling the display state of the scan guide identifier includes: Control the display position and / or display format of the starting position identifier and / or scan boundary identifier.
6. The method according to claim 5, characterized in that, The portable scanning device's operating states include a multi-line scanning state, and the display state controlling the scanning guide icon includes: In response to the portable scanning device being in the multi-line scanning state, the display state of the scanning guide icon is adjusted for the multi-line content to be scanned.
7. The method according to claim 6, characterized in that, The starting position identifier and the scan boundary identifier include alignment lines, and adjusting the display state of the scan guide identifier for the multiple lines of content to be scanned includes: Display alignment marks that serve as markers for the start position of each line of content, and alignment marks that serve as markers for the scan boundaries of each line of content.
8. The method according to claim 6, characterized in that, The scan guide identifier includes alignment surfaces, wherein each boundary of the alignment surface serves as the starting position identifier and the scan boundary identifier, respectively. Adjusting the display state of the scan guide identifier for the multiple lines of content to be scanned includes: Display the alignment face that covers the multiple lines of content.
9. The method according to claim 1, characterized in that, The method further includes: Obtain the scanning results of the content to be scanned; and Based on the scan results, control the differentiated display of the scan guidance identifier.
10. The method according to claim 1, characterized in that, The method further includes: The content scanned under the guidance of the scanning guide icon will be displayed on the sub-display screen in real time.
11. A portable scanning device, characterized in that, include: processor; as well as A memory storing computer instructions for a portable scanning device, which, when executed by the processor, cause the portable scanning device to perform the method according to any one of claims 1-10.
12. A computer-readable storage medium, characterized in that, It includes program instructions for a portable scanning device, which, when executed by a processor, cause the method according to any one of claims 1-10 to be implemented.
Citation Information
Patent Citations
Scanning method and related equipment thereof
CN113709322A
Cursor generation method, cursor generation device and scanning pen
CN116110048A
