Information reading device and program

The information reading device and program control touch operations to accurately read information codes based on user intentions, reducing errors and simplifying operations by enlarging the software trigger area when an information code is detected.

JP2025161194APending Publication Date: 2025-10-24DENSO WAVE INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024064177
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-04-11
Publication Date
2025-10-24

AI Technical Summary

Technical Problem

Conventional touch panel technologies can result in erroneous touch operations leading to unintended processes due to the lack of control over touch operations for reading processes.

Method used

An information reading device and program that include a display unit, acquisition unit, determination unit, and detection unit to accurately read information codes based on user intentions, regardless of the touch location on the screen.

Benefits of technology

The solution allows for controlled acceptance of touch operations to perform reading processes according to user intentions, reducing errors and simplifying operations by enlarging the software trigger area when an information code is detected, thereby enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025161194000001_ABST
    Figure 2025161194000001_ABST
Patent Text Reader

Abstract

To allow for controlling reception of a touch operation for performing read processing, in accordance with user's will.SOLUTION: An information reading device comprises: a display unit which displays a screen for use in reading an information code; an acquisition unit which acquires a captured image; a determination unit which determines whether the information code is included in the captured image or not; a detection unit which detects a touch operation on the screen; a setting unit which sets a size of an area which is in the screen and in which read processing of the information code is to be performed in response to detecting the touch operation, according to whether the information code is included in the captured image or not; and a reading unit which performs read processing of the information code in response to detecting the touch operation in the area.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates to an information reading device and a program. [Background technology]

[0002] Conventional technology relating to the operation of electronic devices includes technology relating to the operation of touch panels. For example, Patent Document 1 discloses a digital camera equipped with a touch panel that also serves as a display unit, in which items displayed on the touch panel are moved by touch operations on the touch panel. Specifically, the movement of the items is controlled based on the amount of movement of the touch position and taps. This allows the user to freely move the items for touch operations. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-92958 Summary of the Invention [Problem to be solved by the invention]

[0004] However, with the technology described in Patent Document 1, an erroneous touch operation may result in a process that is not intended by the user.

[0005] An object of the present disclosure is to provide an information reading device and a program that are capable of controlling the reception of a touch operation for performing a reading process according to the user's intention. [Means for solving the problem]

[0006] An information reading device according to one aspect of the present disclosure includes a display unit that displays a screen used to read an information code, an acquisition unit that acquires an image, a determination unit that determines whether the image contains the information code, a detection unit that detects a touch operation on the screen, and a reading unit that, when it is determined that the image contains the information code, reads the information code regardless of which part of the screen the touch operation is detected on.

[0007] A program according to one aspect of the present disclosure causes a computer to perform the following operations: displaying a screen used to read an information code on a display unit; acquiring an image; determining whether the captured image contains the information code; detecting a touch operation on the screen; and, if it is determined that the captured image contains the information code, reading the information code regardless of which part of the screen the touch operation is detected on. [Effects of the Invention]

[0008] According to the present disclosure, it is possible to control the acceptance of touch operations for performing a reading process in accordance with the user's intention. Note that the present disclosure may achieve other effects instead of or in addition to the effect described above. [Brief explanation of the drawings]

[0009] [Figure 1] 1 is a block diagram illustrating an example of a schematic functional configuration of an information reading device according to a first embodiment of the present disclosure. [Figure 2] 1 is a block diagram illustrating an example of a schematic hardware configuration of an information reading device according to a first embodiment of the present disclosure. [Figure 3] 4 is a flowchart for explaining an example of a schematic flow of processing by the information reading device according to the first embodiment of the present disclosure. [Figure 4A] FIG. 10 is a diagram for explaining a state in which the entire screen for the reading process in the information reading device according to the first embodiment of the present disclosure is a software trigger. [Figure 4B]10A and 10B are diagrams for explaining a state in which a part of a screen for a reading process in the information reading device according to the first embodiment of the present disclosure is a software trigger. [Figure 5] 10 is a flowchart illustrating an example of a schematic flow of a process performed by an information reading device according to a second embodiment of the present disclosure. [Figure 6A] FIG. 10 is a diagram for explaining a state in which the entire screen for the reading process in the information reading device according to the second embodiment of the present disclosure is a software trigger. [Figure 6B] FIG. 10 is a diagram for explaining a state in which a part of a screen for a reading process in an information reading device according to a second embodiment of the present disclosure is a software trigger. [Figure 7] 10 is a flowchart illustrating an example of a schematic flow of a process of an information reading device according to a third embodiment of the present disclosure. [Figure 8] 10 is a flowchart for explaining an example of a schematic flow of a process of an information reading device according to a fourth embodiment of the present disclosure. [Figure 9A] FIG. 13 is a diagram for explaining a screen indicating that the state of the information reading device according to the fourth embodiment of the present disclosure has transitioned to a state in which the entire screen for the reading process is software-triggered. [Figure 9B] FIG. 13 is a diagram for explaining a screen indicating that the state of the information reading device according to the fourth embodiment of the present disclosure has transitioned to a state in which part of the screen for the reading process is software triggered. [Figure 10A] FIG. 10 is a diagram for explaining a state in which the entire screen for the reading process in the information reading device according to the first modified example of the embodiment of the present disclosure is a software trigger. [Figure 10B] FIG. 10 is a diagram for explaining a state in which a part of a screen for a reading process in an information reading device according to a first modified example of an embodiment of the present disclosure is a software trigger. [Figure 11] 10 is a flowchart illustrating an example of a schematic flow of determining a predetermined state in processing by an information reading device according to a second modified example of an embodiment of the present disclosure. [Figure 12A]FIG. 10 is a diagram for explaining a state in which the entire screen for the reading process in an information reading device according to a third modified example of the embodiment of the present disclosure is a software trigger. [Figure 12B] FIG. 10 is a diagram for explaining a state in which a part of a screen for a reading process in an information reading device according to a third modified example of an embodiment of the present disclosure is a software trigger. [Figure 13] 10 is a flowchart illustrating an example of a schematic flow of processing by an information reading device according to a fourth modified example of an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0010] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In this specification and drawings, elements that can be similarly described will be designated by the same reference numerals, and redundant description will be omitted.

[0011] The information reading device performs a reading process in response to a user operation. Examples of user operations include the operation of a trigger key provided on the information reading device and the operation of a software trigger displayed by the information reading device. The software trigger may be an icon placed on a screen displayed on a display provided on the information reading device. However, the software trigger icon may be displayed overlapping the location where text is displayed or the location where the user wants to operate. In this case, it is time-consuming to move the location of the software trigger icon.

[0012] On the other hand, it is also conceivable to use a displayed screen instead of an icon as a software trigger. Methods of using a screen as a software trigger include a mode switching type and a mode not switching type. In the mode switching type, a mode in which the software trigger is an icon and a mode in which the software trigger is the entire screen can be switched by a user operation. In the latter mode, a reading process is performed regardless of where on the screen is touched. Therefore, for example, an icon for performing a process other than the reading process may be displayed on the screen, and the reading process will be performed even if the icon is touched. However, in this type, the user must switch modes.

[0013] In a type that does not switch modes, the screen is always used as a software trigger. For example, when a screen used as a software trigger is touched anywhere other than a specific location (for example, a location where a control button is displayed), a reading process is performed. However, in this type, when the specific location is touched, a process other than the reading process corresponding to the specific location is performed. In particular, the information reading device may be a terminal that is expected to be held by a user in one hand and operated with the thumb. Therefore, the user is likely to touch the wrong location on the screen.

[0014] An information reading device according to an embodiment of the present disclosure, which will be described later, can enjoy the advantages of the two types described above while eliminating the disadvantages.

[0015] <1. First embodiment> An information reading device according to a first embodiment of the present disclosure will be described with reference to FIGS.

[0016] <1-1. Functional configuration of information reading device> An example of a functional configuration of an information reading device 100 according to a first embodiment of the present disclosure will be described with reference to Fig. 1. Referring to Fig. 1, the information reading device 100 includes an acquisition unit 101, an image processing unit 103, a detection unit 105, a control unit 107, a storage unit 109, and a display unit 111.

[0017] The acquisition unit 101 acquires various information. Specifically, the acquisition unit 101 acquires captured images. For example, the acquisition unit 101 may acquire captured images from an imaging device or a reading module included in the information reading device 100. The acquisition unit 101 also acquires operation information of the information reading device 100. For example, the acquisition unit 101 may acquire information related to touch operations from a touch panel included in the information reading device 100. Note that the acquisition unit 101 may also acquire information from an external device via a communication device included in the information reading device 100.

[0018] The image processing unit 103 performs image processing. Specifically, the image processing unit 103 performs image analysis on the captured image acquired by the acquisition unit 101. For example, the image processing unit 103 can determine whether the captured image includes an information code. For example, the image analysis can use known techniques such as analysis of the feature amount of the analysis target (i.e., the information code). The information code can be, for example, a one-dimensional code such as a barcode or a two-dimensional code such as a QR code (registered trademark). Note that the image processing unit 103 may also perform other image processing such as image processing or image generation.

[0019] The detection unit 105 detects a user operation on the information reading device 100. Specifically, the detection unit 105 detects a touch operation on a screen displayed by the information reading device 100. For example, the detection unit 105 can detect a touch operation on a touch panel provided in the information reading device 100, based on information on the touch operation acquired by the acquisition unit 101. Note that, if the information reading device 100 has a physical operation unit (e.g., a trigger key), the detection unit 105 may detect an operation on the operation unit.

[0020] The control unit 107 controls the information reading device 100. Specifically, the control unit 107 controls the reading process of the information code based on the captured image and the touch operation. More specifically, the control unit 107 causes the display unit 111 to display a screen (hereinafter also referred to as a reading screen) used to read (i.e., decode) the information code. The control unit 107 sets the size of an area on the reading screen where the reading process of the information code is performed in response to the detection of a touch operation, depending on whether the captured image includes an information code. The control unit 107 performs the reading process of the information code in response to the detection of a touch operation in the area. The size of the area may be expressed in terms of the total length (i.e., the vertical or horizontal length) or the area. For example, when it is determined that the captured image includes an information code, the control unit 107 may set the area to the entire reading screen. In this case, the control unit 107 may read the information code regardless of the detected touch operation on any part of the entire reading screen. Furthermore, if the control unit 107 determines that the captured image does not include an information code, it may set the above-mentioned area to a portion other than the specific portion of the reading screen. In this case, if the control unit 107 detects a touch operation on a portion other than the specific portion, it may read the information code. The specific portion of the reading screen may be a location where an image object on the reading screen is placed. For example, the image object may be an operation object such as a button or an input form on the reading screen. The reading process may include analyzing the information code, reading (i.e., decoding) the information code, outputting the reading result, and processes to assist reading, such as turning on a light and illuminating a marker. Furthermore, if the information reading device 100 includes a reading module, the control unit 107 may cause the reading module to perform the reading process.

[0021] In detail, the control unit 107 switches between a mode in which the entire reading screen is used as a software trigger for the reading process (hereinafter referred to as software trigger 2) and a mode in which a part of the reading screen is used as a software trigger for the reading process (hereinafter referred to as software trigger 1). The software trigger can also be said to be an area that accepts an operation to start the reading process. If the image processing unit 103 determines that the captured image contains an information code, the control unit 107 switches the mode to software trigger 2. If the image processing unit 103 determines that the captured image does not contain an information code, the control unit 107 switches the mode to software trigger 1. Note that software trigger 1 is set at the time of initial setting.

[0022] The storage unit 109 stores various information. Specifically, the storage unit 109 stores information used for processing in the information reading device 100. For example, the storage unit 109 can store information acquired by the acquisition unit 101, as well as information used for processing by the image processing unit 103, the detection unit 105, and the control unit 107.

[0023] The display unit 111 displays a screen based on an instruction from the control unit 107. Specifically, the display unit 111 displays a reading screen. For example, the reading screen may include a captured image, as well as icons and text related to the reading process. The captured image included in the reading screen may be a captured image acquired by the acquisition unit 101, or may be an image obtained by performing image processing on the acquired captured image.

[0024] <1-2. Hardware configuration of information reading device> An example of a hardware configuration of the information reading device 100 according to the first embodiment of the present disclosure will be described with reference to Fig. 2. Referring to Fig. 2, the information reading device 100 includes a camera module 121, a touch panel 123, a display 125, an input / output interface 127, a processor 129, and a memory 131.

[0025] The camera module 121 generates a captured image. For example, the camera module 121 may be an image capture device or a reading module.

[0026] The touch panel 123 generates a signal in response to a touch operation. For example, the touch panel 123 may be a capacitive or pressure-sensitive touch panel. The signal generated by the touch panel 123 may be the above-mentioned operation information. The touch panel 123 may be integrated with the display 125.

[0027] The display 125 displays an image. For example, the display 125 may display an image based on an instruction from the processor 129. The displayed image may include a reading screen. The display 125 may implement the function of the display unit 111.

[0028] The input / output interface 127 receives signals from the components of the information reading device 100 and outputs the signals. For example, the input / output interface 127 receives signals from the camera module 121 and the touch panel 123, and outputs these signals to the processor 129 and the memory 131. The input / output interface 127 also receives signals from the processor 129 and the memory 131, and outputs these signals to the display 125. The input / output interface 127 can realize the function of the acquisition unit 101.

[0029] The processor 129 performs processing using signals output from the input / output interface 127 and data stored in the memory 131. For example, the processor 129 may include a DSP (Digital Signal Processor) or an ISP (Image Signal Processor), and a CPU (Central Processing Unit). The processor 129 executes programs stored in the memory 131 to realize the functions of the image processing unit 103, the detection unit 105, and the control unit 107.

[0030] The memory 131 stores data used in processing by the processor 129. For example, the memory 131 may be a read-only memory (ROM), a random access memory (RAM), or a flash memory. The memory 131 may implement the function of the storage unit 109.

[0031] <1-3. Processing flow of information reading device> An example of processing of the information reading device 100 according to the first embodiment of the present disclosure will be described with reference to FIG.

[0032] The information reading device 100 permits the reading process (step S1001). Specifically, the control unit 107 permits the reading process when the detection unit 105 detects an operation for starting the reading process or a specific event notification. For example, the operation for starting the reading process may be the launching of an application for the reading process or a reading screen.

[0033] The information reading device 100 sets software trigger 1 (step S1003). Specifically, when the reading process is permitted, the control unit 107 sets the software trigger mode of the reading process to software trigger 1, thereby enabling the mode.

[0034] The information reading device 100 acquires an image (step S1005). Specifically, the acquiring unit 101 acquires a captured image from the camera module 121. The control unit 107 causes the display unit 111 to display a reading screen including the acquired captured image.

[0035] The information reading device 100 determines whether the image contains an information code (step S1007). Specifically, the image processing unit 103 analyzes the acquired captured image to determine whether the captured image contains an information code.

[0036] If it is determined that the image contains an information code, the information reading device 100 sets software trigger 2 (step S1009). Specifically, if it is determined that the captured image contains an information code, the control unit 107 switches the software trigger mode of the reading process from software trigger 1 to software trigger 2.

[0037] The information reading device 100 determines whether a touch operation on the screen has been detected (step S1011). Specifically, the control unit 107 determines whether the detection unit 105 has detected a touch operation.

[0038] If it is determined that a touch operation on the screen has been detected, the information reading device 100 reads the information code (step S1013). Specifically, if it is determined that a touch operation has been detected, the control unit 107 performs a reading process of the information code included in the captured image. The read information can be stored in the storage unit 109.

[0039] If it is determined that a touch operation on the screen has not been detected, or if the information code has been read, the information reading device 100 determines whether an end operation has been detected (step S1015). Specifically, the control unit 107 determines whether the detection unit 105 has detected an end operation.

[0040] If it is determined that the end operation has been detected, the information reading device 100 ends the process. If it is determined that the end operation has not been detected, the information reading device 100 returns the process to step S1005.

[0041] If it is determined in step S1007 that the image does not contain an information code, the information reading device 100 sets software trigger 1 (step S1017). Specifically, if it is determined that the captured image does not contain an information code, the control unit 107 sets the software trigger mode of the reading process to software trigger 1.

[0042] The information reading device 100 determines whether a touch operation on the screen has been detected (step S1019). The process of step S1019 is substantially the same as the process of step S1011.

[0043] If it is determined that a touch operation on the screen has been detected, the information reading device 100 determines whether the detected touch operation is a touch operation on a specific part of the screen (step S1021). Specifically, the control unit 107 determines whether the detected touch operation is a touch operation on an image object on the reading screen.

[0044] If it is determined that the detected touch operation is not a touch operation on a specific part of the screen, the information reading device 100 advances the process to step S1013 and reads the information code. Specifically, if it is determined that the detected touch operation is a touch operation on a part other than the image object on the reading screen (for example, a captured image), the control unit 107 performs a reading process of the information code.

[0045] If it is determined in step S1021 that the detected touch operation is a touch operation on a specific portion of the screen, the information reading device 100 performs a process corresponding to the specific portion. Then, it determines whether or not there is an end operation (step S1015). Even if it is determined in step S1019 that no touch operation on the screen has been detected, it also determines whether or not there is an end operation.

[0046] <1-4. Example of operation of information reading device> An example of the operation of the information reading device 100 according to the first embodiment of the present disclosure will be described with reference to FIGS. 4A and 4B.

[0047] When the captured image contains an information code, the information reading device 100 uses the entire reading screen as a software trigger. For example, as shown in FIG. 4A, when the captured image contains a barcode, the entire reading screen 10A displayed on the display 125 can be used as a software trigger. That is, software trigger 2 is set. On the reading screen 10A, text and a menu screen display button are arranged at the top as image objects, and an input form is arranged at the bottom. Furthermore, on the reading screen 10A, button 11 is arranged below the text. The captured image (a preview screen, described later) is arranged in a portion of the reading screen 10A other than these objects. While software trigger 2 is set, reading processing is performed regardless of whether any portion of the reading screen 10A is touched. For example, reading processing is performed even when the menu screen display button and button 11, which are image objects included in the area of ​​software trigger 2, are touched.

[0048] In contrast, when the captured image does not contain an information code, the information reading device 100 uses a portion of the reading screen other than the specific portion as a software trigger. For example, as shown in FIG. 4B, when the captured image does not contain a barcode, a portion 10B of the reading screen 10A other than the specific portion (e.g., an image object) is used as a software trigger. That is, software trigger 1 is set. A captured image may be placed in the portion 10B other than the specific portion. While software trigger 1 is set, if the portion 10B other than the specific portion (i.e., the captured image) is touched, a reading process is performed. However, even if a specific portion is touched, no reading process is performed. For example, when a button for displaying a menu screen, which is an image object not included in the area of ​​software trigger 1, is touched, no reading process is performed, and the menu screen is displayed. Furthermore, even if a button 11, which is surrounded by the area of ​​software trigger 1 but not included in the area, is touched, no reading process is performed, and a process corresponding to button 11 is performed.

[0049] As described above, the area of ​​software trigger 2 includes text and buttons for displaying a menu screen at the top, and an input form at the bottom. On the other hand, the area of ​​software trigger 1 does not include these image objects. Therefore, the total length of the area of ​​software trigger 2 is longer than the area of ​​software trigger 1. The area of ​​software trigger 2 also includes button 11. On the other hand, the area of ​​software trigger 1 surrounds but does not include button 11. Therefore, even when focusing only on the portion corresponding to button 11, the area of ​​software trigger 2 is larger than the area of ​​software trigger 1. Thus, at least one of the total length and area of ​​the area of ​​software trigger 2 is larger than the area of ​​software trigger 1.

[0050] As described above, the information reading device 100 according to the first embodiment of the present disclosure includes a display unit 111 that displays a screen (i.e., a reading screen) 10A used to read an information code, an acquisition unit 101 that acquires a captured image, an image processing unit 103 (i.e., a determination unit) that determines whether the captured image contains an information code, a detection unit 105 that detects a touch operation on the reading screen, and a control unit 107 (i.e., a setting unit and a reading unit) that sets the size of an area on the reading screen where the information code reading process is performed in response to the detection of a touch operation, depending on whether the captured image contains an information code, and performs the information code reading process in response to the detection of a touch operation in the area.

[0051] This allows the area used as a software trigger on the reading screen to be enlarged when an information code is included in the captured image. The reading process requires capturing an image of the information code. Therefore, since the captured image contains an information code, it is presumed that the user intends to perform the reading process. In other words, it can be said that the user does not intend to perform any process other than the reading process. Furthermore, by enlarging the area used as a software trigger on the reading screen, it becomes easier to detect touch operations for performing the reading process that the user presumably intends. Therefore, it becomes easier to accept touch operations for performing the reading process that the user intends. In other words, it is possible to control the acceptance of touch operations for performing the reading process according to the user's intention. In other words, it is possible to reduce user operation errors in the reading process. Furthermore, compared to when the user switches between a mode in which the software trigger is an icon and a mode in which the software trigger is at least a part of the reading screen, it is possible to reduce the effort required for operation.

[0052] Moreover, if it is determined that the captured image contains an information code, the above-mentioned area is set to the entire reading screen 10A.

[0053] This allows the user to have the information reading device 100 perform the reading process by touching the reading screen without worrying about which part of the reading screen is used as the software trigger. That is, it is possible to further reduce user operation errors in the reading process. Also, the user can have the information reading device 100 perform the reading process without worrying about the arrangement of image objects.

[0054] If it is determined that the captured image does not include an information code, the area is set to a portion 10B other than the specific portion of the reading screen 10A. When a touch operation on the area is detected, the control unit 107 reads the information code.

[0055] As a result, when the captured image does not contain an information code, a portion of the reading screen other than the specific portion is used as a software trigger. Since the captured image does not contain an information code, it is presumed that the user does not have a strong intention to perform a reading process. In other words, it can be said that the user may have an intention to perform a process other than the reading process. Furthermore, by using a portion of the reading screen other than the specific portion as a software trigger, it becomes difficult to detect a touch operation for performing a reading process that is presumed not to be strongly intended by the user. Therefore, it is possible to make it difficult to accept a touch operation for performing a reading process that is not intended by the user.

[0056] 2. Second embodiment An information reading device according to a first embodiment of the present disclosure will be described with reference to Figures 5 and 6. The second embodiment differs from the first embodiment in that the software trigger mode is set based on whether the captured image contains an information code and whether the captured image is in a predetermined state. Note that a description of the content that is substantially the same as that of the first embodiment will be omitted.

[0057] <2-1. Functional configuration of information reading device> The image processing unit 103 determines whether the captured image is in a predetermined state. Specifically, the predetermined state is the state of the information code on the captured image. More specifically, the predetermined state is a state in which the information code is in focus. For example, the image processing unit 103 can determine whether the information code is in focus using edge determination processing, phase difference detection processing, or the like.

[0058] The control unit 107 sets the size of the area in which the information code reading process is performed in response to the detection of a touch operation, depending on whether the captured image contains an information code and the state of the captured image is a predetermined state. Specifically, when the control unit 107 determines that the captured image contains an information code and that the state of the captured image is a predetermined state, the control unit 107 sets the area to the entire reading screen. In this case, the control unit 107 reads the information code regardless of whether a touch operation is detected on any part of the entire reading screen. For example, when the image processing unit 103 determines that the captured image contains an information code and that the state of the captured image is a predetermined state, the control unit 107 may set the software trigger mode to software trigger 2. Furthermore, when the control unit 107 determines that the captured image does not contain an information code or that the state of the captured image is not a predetermined state, the control unit 107 sets the area to a part of the reading screen other than the specific part. In this case, the control unit 107 reads the information code when a touch operation on a part other than the specific part is detected. For example, the control unit 107 can set the software trigger mode to software trigger 1 when the image processing unit 103 determines that the captured image does not contain an information code or that the state of the captured image is not a predetermined state.

[0059] <2-2. Processing flow of information reading device> An example of processing performed by the information reading device 100 according to the second embodiment of the present disclosure will be described with reference to FIG.

[0060] Steps S2001 to S2007 are substantially the same as steps S1001 to S1007 in FIG. 3, and therefore a description thereof will be omitted.

[0061] If it is determined in step S2007 that the image contains an information code, the information reading device 100 determines whether the image is in a predetermined state (step S2009). Specifically, the image processing unit 103 determines whether the information code contained in the captured image is in focus.

[0062] If it is determined that the image is in a predetermined state, the information reading device 100 sets software trigger 2 (step S2011). Specifically, if it is determined that the information code included in the captured image is in focus, the control unit 107 sets the software trigger mode of the reading process to software trigger 2. The subsequent processing is substantially the same as in FIG. 3, and therefore description thereof will be omitted.

[0063] If it is determined that the image is not in a predetermined state, the information reading device 100 sets software trigger 1 (step S2019). Specifically, if it is determined that the information code included in the captured image is not in focus, the control unit 107 sets the software trigger mode of the reading process to software trigger 1. The subsequent processing is substantially the same as in FIG. 3, and therefore description thereof will be omitted.

[0064] <2-3. Example of operation of information reading device> An example of the operation of the information reading device 100 according to the second embodiment of the present disclosure will be described with reference to FIGS. 6A and 6B.

[0065] When the captured image contains an information code and the captured image is in focus on the information code, the information reading device 100 uses the entire reading screen as a software trigger. For example, as shown in FIG. 6A, when the captured image contains a barcode and the barcode is in focus, the entire reading screen 10A can be used as a software trigger. That is, software trigger 2 is set. While software trigger 2 is set, reading processing is performed regardless of which part of the reading screen 10A is touched.

[0066] In contrast, when the captured image does not contain an information code or the captured image is out of focus on the information code, the information reading device 100 uses a portion other than the specific portion of the reading screen as a software trigger. For example, as shown in FIG. 6B, when the captured image contains a barcode but the barcode is out of focus, a portion 10B other than the specific portion of the reading screen 10A is used as a software trigger. That is, software trigger 1 is set. While software trigger 1 is set, if the portion other than the specific portion 10B is touched, a reading process is performed. However, even if the specific portion is touched, a reading process is not performed.

[0067] Thus, in the information reading device 100 according to the second embodiment of the present disclosure, the image processing unit 103 determines whether the state of the captured image is a predetermined state, and the control unit 107 sets the size of the area in which the information code reading process is performed in response to the detection of a touch operation, depending on whether the captured image includes an information code and the state of the captured image is a predetermined state.

[0068] This allows the area used as a software trigger on the reading screen 10A to be expanded when the captured image contains an information code and the captured image is in a predetermined state. By considering not only whether the captured image contains an information code but also the state of the captured image, it is possible to more accurately estimate whether the user intends to perform the reading process. Therefore, the user's intention regarding the reading process can be more accurately reflected in the control of receiving touch operations for performing the reading process.

[0069] The predetermined state also includes a state in which the information code is in focus. Here, since the information code is in focus, it is presumed that the user intends to capture the information code. That is, it is more presumed that the user intends to perform a reading process. Therefore, the user's intention regarding the reading process can be more accurately reflected in the control of receiving a touch operation for performing the reading process.

[0070] Moreover, if it is determined that the captured image contains an information code and that the state of the captured image is in a predetermined state, the above-mentioned area is set to the entire reading screen 10A.

[0071] This allows the area to be set to cover the entire reading screen when it is more likely that the user intends to perform the reading process, thereby further reducing the possibility of the user making an erroneous operation during the reading process.

[0072] If the captured image does not include an information code or if it is determined that the captured image is not in a predetermined state, the area is set to a portion 10B other than the specific portion of the reading screen 10A. When a touch operation on the area is detected, the control unit 107 reads the information code.

[0073] As a result, if it is determined that the state of the captured image is not in a predetermined state, a part of the reading screen other than the specific part is used as a software trigger. Here, even if the captured image is included in the information code, there are cases where the user does not intend to perform the reading process. Therefore, by taking the state of the captured image into consideration, it is possible to more accurately reflect in the detection of the touch operation whether the user intends to perform the reading process.

[0074] 3. Third Embodiment An information reading device according to a third embodiment of the present disclosure will be described with reference to Fig. 7. The third embodiment differs from the second embodiment in that the software trigger is disabled when an information code is not included in a captured image. Note that a description of the content that is substantially the same as that of the second embodiment will be omitted.

[0075] <3-1. Functional configuration of information reading device> The control unit 107 sets the state of the information reading device 100 to either a first state in which the information code is read in response to detection of a touch operation or a second state in which the information code is not read even if a touch operation is detected, depending on whether the captured image contains an information code. When the state of the information reading device 100 is set to the first state, the control unit 107 reads the information code in response to detection of a touch operation. When the state of the information reading device 100 is set to the second state, the control unit 107 does not read the information code even if a touch operation is detected. Specifically, when it is determined that the captured image contains an information code, the control unit 107 switches the state of the information reading device 100 to the first state. When it is determined that the captured image does not contain an information code, the control unit 107 switches the state of the information reading device 100 to the second state. For example, the first state may be a state in which a software trigger is enabled. That is, the first state may be a state in which software trigger 1 or 2 is set. The second state may be a state in which the software trigger is disabled.

[0076] <3-2. Processing flow of information reading device> An example of processing of the information reading device 100 according to the third embodiment of the present disclosure will be described with reference to FIG.

[0077] Step S3001 is substantially the same as step S2001 in FIG. 5, and therefore a description thereof will be omitted.

[0078] After permitting the reading process, the information reading device 100 disables the software trigger (step S3003). Specifically, if software trigger 1 or 2 is set, the control unit 107 cancels software trigger 1 or 2 and disables the software trigger.

[0079] After acquiring the image (step S3005), the information reading device 100 determines whether the image contains an information code (step S3007). If it is determined that the image does not contain an information code, the information reading device 100 returns the process to step S3003. Note that the process from step S3009 onwards is substantially the same as that in FIG. 5, and therefore description thereof will be omitted.

[0080] As described above, in the information reading device 100 according to the third embodiment of the present disclosure, the control unit 107 (i.e., the setting unit) sets the state of the information reading device 100 to either a first state in which the information code is read in response to detection of a touch operation, or a second state in which the information code is not read even if a touch operation is detected, depending on whether an information code is included in a captured image. When the state of the information reading device 100 is set to the first state, the control unit 107 reads the information code in response to detection of a touch operation.

[0081] As a result, the reading process is performed in response to the touch operation only when the captured image contains an information code. As described above, when the captured image contains an information code, it is presumed that the user intends to perform the reading process. Therefore, the touch operation can be accepted only when it is presumed that the user intends to perform the reading process. In other words, the acceptance of the touch operation for performing the reading process can be controlled according to the user's intention. As a result, it is possible to prevent the reading process from being performed on anything other than the information code due to a user's erroneous operation.

[0082] 4. Fourth Embodiment An information reading device according to a fourth embodiment of the present disclosure will be described with reference to Figures 8 and 9. The fourth embodiment differs from the second embodiment in that a software trigger setting is notified. Note that a description of the content that is substantially the same as the second embodiment will be omitted.

[0083] <4-1. Functional configuration of information reading device> When it is determined that the captured image contains an information code, the control unit 107 notifies the setting of a software trigger. Specifically, when it is determined that the captured image contains an information code, the control unit 107 causes the display unit 111 to display a preview screen for the information code reading process. More specifically, when it is determined that the captured image contains an information code and that the state of the captured image is a predetermined state, the control unit 107 causes the display unit 111 to display the preview screen. For example, when it is determined that the captured image contains an information code, the control unit 107 may cause the display unit 111 to display an image indicating the information code recognized as a target for the reading process. Note that when the preview screen is not displayed in the reading process, the control unit 107 may cause the display unit 111 to display the preview screen based on the determination.

[0084] Furthermore, when it is determined that the captured image contains an information code, the control unit 107 causes the display unit 111 to display an image indicating that the above-mentioned area has been set. More specifically, when it is determined that the captured image contains an information code and that the state of the captured image is in a predetermined state, the control unit 107 causes the display unit 111 to display the above-mentioned image. The above-mentioned image may be an image indicating the setting content of the above-mentioned area. For example, when it is determined that the captured image contains an information code, the control unit 107 may cause the display unit 111 to display an image indicating that software trigger 2 has been set. Note that the image indicating that software trigger 2 has been set may be text, an icon, or a screen frame.

[0085] Furthermore, when it is determined that the captured image does not contain an information code, the control unit 107 notifies the change of the above-mentioned area (i.e., the release of the software trigger). Specifically, when it is determined that the captured image does not contain an information code or that the state of the captured image is not a predetermined state, the control unit 107 causes the display unit 111 to display an image indicating that the software trigger has been released. For example, an image indicating that software trigger 2 has been released may be displayed. Note that the image indicating that software trigger 2 has been released may be text or an icon. Alternatively, the image indicating that software trigger 2 has been released may be an image indicating that software trigger 1 has been set.

[0086] <4-2. Processing flow of information reading device> An example of processing performed by the information reading device 100 according to the second embodiment of the present disclosure will be described with reference to FIG.

[0087] Steps S4001 to S4011 and S4021 are substantially the same as steps S2001 to S2011 and S2019 in FIG. 5, and therefore a description thereof will be omitted.

[0088] When software trigger 2 is set, information reading device 100 notifies the setting of software trigger 2 (step S4013). Specifically, after setting software trigger 2, control unit 107 causes display unit 111 to display at least one of a preview screen of the information code reading process and an image indicating that software trigger 2 has been set. The subsequent processing is substantially the same as in FIG. 5, and therefore description thereof will be omitted.

[0089] When software trigger 1 is set, information reading device 100 notifies that software trigger 2 has been released (step S4023). Specifically, when software trigger 2 is switched to software trigger 1 after setting software trigger 1, control unit 107 causes display unit 111 to display an image indicating that software trigger 2 has been released. The subsequent processing is substantially the same as in FIG. 5, and therefore description thereof will be omitted.

[0090] <4-3. Example of operation of information reading device> An example of the operation of the information reading device 100 according to the second embodiment of the present disclosure will be described with reference to FIGS. 9A and 9B.

[0091] When a captured image includes an information code and the captured image is in focus on the information code, the information reading device 100 displays a preview screen of the information code reading process and an image indicating that software trigger 2 has been set. For example, as shown in FIG. 9A , when a captured image includes a barcode and the barcode is in focus, a preview screen of the reading process and a message 20A and icon 22A indicating that software trigger 2 has been set may be displayed. The preview screen displaying the captured image may be displayed on the reading screen 10A depending on the setting of software trigger 2. The message 20A may be a pop-up message that is displayed temporarily.

[0092] In response to this, if the captured image does not contain an information code or if the captured image is out of focus on the information code, the information reading device 100 displays an image indicating that software trigger 2 has been deactivated. For example, as shown in Fig. 9B, if the captured image contains a barcode but the barcode is out of focus, an image 20B including text indicating that software trigger 2 has been deactivated may be displayed. Furthermore, the icon 22A indicating that software trigger 2 has been set and the preview screen may be removed from the reading screen 10A in response to the deactivation of software trigger 2.

[0093] As described above, in the information reading device 100 according to the fourth embodiment of the present disclosure, when it is determined that an information code is included in the captured image, the display unit 111 displays a preview screen of the information code reading process. This makes it possible to implicitly indicate to the user that software trigger 2 has been set. In particular, the display of the preview screen allows the user to specifically imagine the reading process.

[0094] Furthermore, when it is determined that the captured image contains an information code, the display unit 111 displays an image 22A indicating that an area where the information code reading process is performed has been set in response to the detection of the touch operation, thereby clearly indicating to the user that the software trigger 2 has been set.

[0095] <5. Variations> First to fifth modified examples according to the embodiment of the present disclosure will be described with reference to FIGS.

[0096] (1) First Modification In the above-described example of the embodiment of the present disclosure, the predetermined state is the state of the information code on the captured image. Specifically, the state of the information code on the captured image is a state in which the information code is in focus. However, the predetermined state according to the embodiment of the present disclosure is not limited to this example.

[0097] In a first modified example of the embodiment of the present disclosure, the predetermined state may be a state in which the information code on the captured image is located within a predetermined range from the center of the captured image. Specifically, the image processing unit 103 determines whether the information code is located within the predetermined range from the center of the captured image. If it is determined that the information code is located within the predetermined range from the center of the captured image, the control unit 107 sets software trigger 2. For example, the shape of the predetermined range from the center of the captured image may be circular or rectangular.

[0098] An example of the operation of the information reading device 100 according to this modification will be described with reference to FIGS. 10A and 10B.

[0099] When the captured image contains an information code and the captured image is in a state where the information code is located within a predetermined range from the center of the captured image, the information reading device 100 uses the entire reading screen as a software trigger. For example, as shown in Fig. 10A, when the captured image contains a barcode and the barcode is located within a predetermined range 30 from the center of the captured image, the entire reading screen 10A can be used as a software trigger. That is, software trigger 2 is set.

[0100] In contrast, when the captured image does not contain an information code, or when the captured image is in a state in which the information code is not located within a predetermined range from the center of the captured image, the information reading device 100 uses a portion other than the specific portion of the reading screen as a software trigger. For example, as shown in Fig. 10B, when the captured image contains a barcode but the barcode is not located within a predetermined range 30 from the center of the captured image, a portion 10B other than the specific portion of the reading screen 10A is used as a software trigger. In other words, software trigger 1 is set.

[0101] Thus, the predetermined state in this modification is a state in which the information code is located within a predetermined range from the center of the captured image. Here, if the information code is located near the center of the captured image, where it is easy to capture, it is presumed that the user intends to capture the information code. In other words, it is more likely that the user intends to perform a reading process. Therefore, the user's intention regarding the reading process can be more accurately reflected in the control of receiving touch operations for performing the reading process.

[0102] (2) Second Modification In the above-described example of the embodiment of the present disclosure, the predetermined state is the state of the information code on the captured image. However, the predetermined state according to the embodiment of the present disclosure is not limited to this example.

[0103] In a second modification of the embodiment of the present disclosure, the predetermined state may be a state in which the captured image is in focus. The acquisition unit 101 may acquire the captured image and focus information from an imaging device having an autofocus function included in the information reading device 100. The image processing unit 103 may determine whether the state of the captured image is the predetermined state based on the focus information.

[0104] Specifically, the camera module 121 included in the information reading device 100 has an autofocus function. The acquisition unit 101 acquires a captured image and focus information from the camera module 121. The image processing unit 103 determines whether the captured image is in focus based on the focus information. The focus information may be information indicating the result of autofocus processing. When it is determined that the captured image is in focus, the control unit 107 sets a software trigger 2. For example, the image processing unit 103 may determine whether the captured image is in focus using a threshold value for the focus information. The focus information may be, for example, information indicating a focal length or information corresponding to a focal length.

[0105] An example of processing of the information reading device 100 according to this modification will be described with reference to Fig. 11. Fig. 11 shows details of the processing of step S2009 in the flowchart shown in Fig. 5. Note that the processing of Fig. 11 may also be details of the processing of step S3009 or S4009 in the flowchart shown in Fig. 7 or 8.

[0106] If it is determined in step S2007 that the image contains an information code, the information reading device 100 acquires autofocus focus information (step S5001). Specifically, the image processing unit 103 acquires the focus information from the camera module 121 via the acquisition unit 101.

[0107] The information reading device 100 acquires the threshold value of the focus information (step S5003). Specifically, the image processing unit 103 acquires the threshold value of the focus information from the storage unit 109.

[0108] The information reading device 100 determines whether the image is in focus based on the focus information (step S5005). Specifically, the image processing unit 103 determines whether the captured image is in focus based on the focus information and a threshold. For example, the image processing unit 103 may determine whether the focal length indicated by the focus information is less than a threshold. Alternatively, the image processing unit 103 may determine whether the focal length is equal to or greater than a first threshold and less than a second threshold.

[0109] As described above, the predetermined state in this modification is a state in which the captured image is in focus. The acquisition unit 101 acquires a captured image and focus information from an imaging device having an autofocus function, and the image processing unit 103 determines whether the captured image is in a predetermined state based on the focus information. Here, if the captured image is in focus, it is presumed that the user intends to capture an image. Furthermore, since the captured image includes an information code, it is presumed that the image target is an information code. Therefore, it is more likely that the user intends to perform a reading process. Therefore, the user's intention regarding the reading process can be more accurately reflected in the control of receiving a touch operation for performing the reading process. Note that this modification can reduce the processing load compared to determining whether the information code is in focus.

[0110] Furthermore, the image processing unit 103 determines whether the captured image is in focus by using a threshold value for the focus information, thereby enabling the information reading device 100 to control the determination of whether the image is in focus.

[0111] The focus information may be information indicating whether or not the image is in focus. In this case, it is possible to determine whether or not the image is in focus without using a threshold value.

[0112] (3) Third Modification In the first modified example, the predetermined state (i.e., the state of the information code on the captured image) is a state in which the information code is located within a predetermined range from the center of the captured image. However, the predetermined state according to the embodiment of the present disclosure is not limited to this example.

[0113] In a third modified example of the embodiment of the present disclosure, the predetermined state (i.e., the state of the information code on the captured image) may be a state in which a marker is in contact with the information code. The information reading device 100 may include a reading module that outputs a marker for reading the information code.

[0114] Specifically, the control unit 107 causes the reading module to output a marker for reading the information code. The image processing unit 103 determines whether the marker is in contact with the information code. If the control unit 107 determines that the marker is in contact with the information code, it sets software trigger 2. For example, the shape of the marker may be circular or rectangular. The marker may also be a character, a symbol, or an illustration.

[0115] An example of the operation of the information reading device 100 according to this modification will be described with reference to FIGS. 12A and 12B.

[0116] When the captured image contains an information code and the captured image is in a state where a marker is placed on the information code, the information reading device 100 uses the entire reading screen as a software trigger. For example, as shown in FIG. 12A, when the captured image contains a barcode and a marker 40 is placed on the barcode, the entire reading screen 10A can be used as a software trigger. That is, software trigger 2 is set.

[0117] In contrast, when the captured image does not contain an information code or the captured image is in a state where the marker is not on the information code, the information reading device 100 uses a portion other than the specific portion of the reading screen as a software trigger. For example, as shown in Fig. 12B, when the captured image contains a barcode and a marker 40 but the marker 40 is not overlapping the barcode, a portion 10B other than the specific portion of the reading screen 10A is used as a software trigger. In other words, software trigger 1 is set.

[0118] As described above, the predetermined state according to this modification is a state in which the marker 40 for reading the information code is in contact with the information code. The marker 40 is output from a reading module included in the information reading device 100. As a result, when the marker is in contact with the information code, it is more likely that the user intends to perform the reading process. Therefore, the user's intention regarding the reading process can be more accurately reflected in the control of receiving the touch operation for performing the reading process.

[0119] (4) Fourth Modification In the above example of the embodiment of the present disclosure, two software trigger modes are switched, but the software trigger according to the embodiment of the present disclosure is not limited to this example.

[0120] In a fourth modified example of the embodiment of the present disclosure, the software trigger may be only software trigger 2. Specifically, the control unit 107 switches between disabling the software trigger and setting software trigger 2. For example, when the captured image contains an information code and the state of the captured image is a predetermined state, the control unit 107 may set software trigger 2 (i.e., enable the software trigger). When the captured image does not contain an information code or the state of the captured image is not a predetermined state, the control unit 107 may disable the software trigger. Note that the software trigger may be enabled by setting software trigger 1.

[0121] An example of processing performed by the information reading device 100 according to this modified example will be described with reference to Fig. 13. Note that a description of processing that is substantially the same as the processing in Fig. 7 will be omitted.

[0122] Steps S6001 to S6005 are substantially the same as steps S3001 to S3005 in FIG. 5, and therefore a description thereof will be omitted.

[0123] If the image does not contain an information code (No in step S6007) or if the image is in a predetermined state (No in step S6009), the information reading device 100 disables the software trigger (step S6019). Specifically, the control unit 107 disables the software trigger when it is determined that the captured image does not contain an information code or that the captured image is not in a predetermined state.

[0124] If the image contains an information code (Yes in step S6007) and the state of the image is in a predetermined state (Yes in step S6009), the information reading device 100 sets software trigger 2 (step S6011). Specifically, if it is determined that the captured image contains an information code and the state of the captured image is in a predetermined state, the control unit 107 sets software trigger 2. The subsequent processing is substantially the same as in FIG. 7, and therefore description thereof will be omitted.

[0125] As described above, in the information reading device 100 according to this modification, the control unit 107 sets the state of the information reading device 100 to either a state in which the software trigger is enabled or a state in which the software trigger is disabled, depending on whether the captured image includes an information code and whether the captured image is in a predetermined state. As a result, the reading process is performed in response to a touch operation only when the captured image includes an information code and the captured image is in a predetermined state. By considering not only whether the captured image includes an information code but also the state of the captured image, it is possible to more accurately estimate whether the user intends to perform the reading process. Therefore, the user's intention regarding the reading process can be more accurately reflected in the control of receiving a touch operation for performing the reading process.

[0126] (5) Other variations In the above embodiment, an example has been described in which a software trigger 1 is set using a part of the reading screen. However, instead of the software trigger 1, an icon that triggers the reading process may be used. For example, the software trigger 2 and the icon may be switched. When the icon is touched, the reading process is performed.

[0127] In the above embodiment, an example in which the software trigger is disabled has been described. However, even if the software trigger is disabled, the reading process may be performed in response to the operation of a physical trigger (i.e., a hardware trigger) provided in the information reading device 100.

[0128] In the above embodiment, an example has been described in which the notification of the software trigger setting is made by displaying a screen or an image. However, the notification of the software trigger setting may also be made by a change in color of the displayed screen. The notification of the software trigger setting may also be made by a change in color of the outer edge of the displayed screen. The notification of the software trigger setting may also be made by a sound output through a speaker provided in the information reading device 100. The notification of the software trigger setting may also be made by vibration of a vibration actuator provided in the information reading device 100.

[0129] In the above embodiment, an example has been described in which the size of the area in which the information code reading process is performed is set in response to the detection of a touch operation. However, it can also be said that the shape of the area is set. For example, as shown in FIG. 4A, if the captured image includes an information code, the area may be set to a simple rectangle. As shown in FIG. 4B, if the captured image does not include an information code, the area may be set to a rectangle with a hole in the portion corresponding to the button 11. Note that the shape of the area is not limited to a rectangle, and may be a circle or another polygon.

[0130] Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to these embodiments. It will be understood by those skilled in the art that these embodiments are merely examples and that various modifications are possible without departing from the scope and spirit of the present disclosure.

[0131] For example, the steps in the processes described herein do not necessarily have to be performed in chronological order according to the order depicted in the flowcharts or sequence diagrams. For example, the steps in the processes may be performed in an order different from that depicted in the flowcharts or sequence diagrams, or may be performed in parallel. Furthermore, some of the steps in the processes may be deleted, and additional steps may be added to the processes.

[0132] For example, a method including the operation of one or more components of the apparatus described herein may be provided, or a program for causing a computer to execute the operation of the components may be provided. Also, a non-transitory tangible computer-readable storage medium having the program recorded thereon may be provided. Naturally, such methods, programs, and non-transitory tangible computer-readable storage media are also included in the present disclosure.

[0133] For example, in this disclosure, "obtain / acquire" may mean obtaining information from stored information, obtaining information from information received from other nodes, or obtaining information by generating the information.

[0134] For example, in this disclosure, "include" and "comprise" do not mean including only the listed items, but may mean including only the listed items or may include additional items in addition to the listed items.

[0135] For example, in this disclosure, "or" does not mean an exclusive or, but rather a logical or.

[0136] The technical features included in the above-described embodiments may be expressed as the following features: Naturally, the present disclosure is not limited to the following features.

[0137] (Feature 1) a display unit that displays a screen used to read the information code; an acquisition unit that acquires a captured image; a determination unit that determines whether the captured image includes an information code; a detection unit that detects a touch operation on the screen; a setting unit that sets a state of the information reading device to either a first state in which the information code is read in response to detection of the touch operation or a second state in which the information code is not read even if the touch operation is detected, depending on whether the information code is included in the captured image; and a reading unit that reads the information code in response to detection of the touch operation when the state of the information reading device is set to the first state; An information reading device comprising:

[0138] (Feature 2) the determination unit determines whether the captured image is in a predetermined state; The setting unit sets the state of the information reading device to the first state when it is determined that the captured image includes the information code and the state of the captured image is a predetermined state. An information reading device according to feature 1.

[0139] (Feature 3) The predetermined state includes a state in which the information code is in focus. An information reading device according to feature 2.

[0140] (Feature 4) The predetermined state includes a state in which the information code is located within a predetermined range from the center of the captured image. An information reading device according to feature 2.

[0141] (Feature 5) An imaging device having an autofocus function, the acquisition unit acquires the captured image and focus information from the imaging device; the determination unit determines whether the state of the captured image is the predetermined state based on the focus information; The predetermined state includes a state in which the captured image is in focus. An information reading device according to feature 2.

[0142] (Feature 6) The determination unit determines whether the captured image is in focus using a threshold value for the focus information. An information reading device according to feature 5.

[0143] (Feature 7) a reading module that outputs a marker for reading the information code; The predetermined state includes a state in which the marker is in contact with the information code. An information reading device according to feature 2.

[0144] (Feature 8) When it is determined that the captured image contains the information code, the display unit displays a preview screen of a reading process of the information code. An information reading device according to feature 1.

[0145] (Feature 9) When it is determined that the captured image includes the information code, the display unit displays an image indicating that the first state is set. An information reading device according to feature 1.

[0146] (Feature 10) When the captured image includes the information code and the captured image is determined to be in a predetermined state, the reading unit reads the information code regardless of the detected touch operation on any part of the entire screen. The information reading device according to feature 2.

[0147] (Feature 11) When the captured image includes the information code and the captured image is determined not to be in a predetermined state, the reading unit reads the information code if the touch operation on a part other than the specific part of the screen is detected. The information reading device according to feature 2.

[0148] (Feature 12) displaying a screen used for reading the information code on a display unit; Obtaining a captured image; determining whether the captured image includes the information code; Detecting a touch operation on the screen; setting a state of the information reading device to either a first state in which the information code is read in response to detection of the touch operation or a second state in which the information code is not read even if the touch operation is detected, depending on whether the information code is included in the captured image; When the state of the information reading device is set to the first state, reading the information code in response to detection of the touch operation; A program that causes a computer to execute the following. [Explanation of symbols]

[0149] 100 Information reading device 101 Acquisition Department 103 Image processing section 105 Detector 107 Control Unit 109 Storage section 111 Display section 121 Camera Module 123 Touch Panel 125 display 127 Input / Output Interface 129 processors 131 memory

Claims

1. a display unit that displays a screen used in the reading process of the information code; an acquisition unit that acquires a captured image; a determination unit that determines whether the captured image includes the information code; a detection unit that detects a touch operation on the screen; a setting unit that sets a size of an area on the screen where a reading process of the information code is performed in response to detection of the touch operation, depending on whether the information code is included in the captured image; and a reading unit that performs a reading process of the information code in response to detection of the touch operation in the area; An information reading device comprising:

2. the determination unit determines whether the captured image is in a predetermined state; The setting unit sets the size of the area depending on whether the captured image includes the information code and whether the captured image is in a predetermined state.

2. The information reading device according to claim 1.

3. The predetermined state includes a state in which the information code is in focus.

3. The information reading device according to claim 2.

4. The predetermined state includes a state in which the information code is located within a predetermined range from the center of the captured image.

3. The information reading device according to claim 2.

5. An imaging device having an autofocus function, the acquisition unit acquires the captured image and focus information from the imaging device; the determination unit determines whether the state of the captured image is the predetermined state based on the focus information; The predetermined state includes a state in which the captured image is in focus.

3. The information reading device according to claim 2.

6. The determination unit determines whether the captured image is in focus using a threshold value for the focus information.

6. The information reading device according to claim 5.

7. a reading module that outputs a marker for reading the information code; The predetermined state includes a state in which the marker is in contact with the information code.

3. The information reading device according to claim 2.

8. When it is determined that the captured image contains the information code, the display unit displays a preview screen of a reading process of the information code.

2. The information reading device according to claim 1.

9. When it is determined that the captured image includes the information code, the display unit displays an image indicating that the area has been set.

2. The information reading device according to claim 1.

10. If it is determined that the captured image contains the information code, the area is set to the entire screen.

2. The information reading device according to claim 1.

11. If it is determined that the captured image does not contain the information code, the area is set to a part other than the specific part of the screen.

2. The information reading device according to claim 1.

12. displaying a screen used for reading the information code on a display unit; Obtaining a captured image; determining whether the captured image includes the information code; Detecting a touch operation on the screen; setting a size of an area on the screen where a reading process of the information code is performed in response to the detection of the touch operation, depending on whether the information code is included in the captured image; performing a reading process of the information code in response to detection of the touch operation in the area; A program that causes a computer to execute the following.

Citation Information

Patent Citations

  • Electronic apparatus, control method thereof, program, and storage medium

    JP2021092958A