An electronic apparatus includes a first imaging unit, a second imaging unit with a focal length different from a focal length of the first imaging unit, and a reading unit configured to read information from an optical code image included in a captured image, and a control unit configured to perform control so as to, in a case where information based on the optical code image has been read by the reading unit from an image captured by the first imaging unit, execute processing corresponding to the read information, and in a case where information based on the optical code image has not been read by the reading unit from an image captured by the first imaging unit, to cause the reading unit to read information based on the optical code image, from an image captured by the second imaging unit, and execute processing corresponding to the read information.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An electronic apparatus comprising: a first imaging unit; a second imaging unit with a focal length different from a focal length of the first imaging unit; and at least one memory and at least one processor which function as: a reading unit configured to read information from an optical code image included in a captured image; and a control unit configured to perform control so as to, in a case where information based on the optical code image has been read by the reading unit from an image captured by the first imaging unit, execute processing corresponding to the read information, and in a case where information based on the optical code image has not been read by the reading unit from an image captured by the first imaging unit, to cause the reading unit to read information based on the optical code image, from an image captured by the second imaging unit if the optical code image from an image captured by the first imaging unit satisfies a specific condition, wherein the specific condition is at least one of (1) a state where a specific shape indicating a feature of the optical code image has been recognized and information based on the optical code image has not been read by the reading unit, and (2) a state where the specific shape has not been recognized and a predetermined time has elapsed.
2. The electronic apparatus according to claim 1 , wherein the control unit performs control so that image capturing is simultaneously performed by at least the first imaging unit and the second imaging unit.
3. The electronic apparatus according to claim 2 , wherein the control unit performs control so as to display, on a display unit, a live view image captured by the first imaging unit, without displaying, on the display unit, a live view image captured by the second imaging unit, in a state where image capturing is simultaneously performed by the first imaging unit and the second imaging unit.
4. The electronic apparatus according to claim 1 , wherein a focal length of the first imaging unit is shorter than a focal length of the second imaging unit, and wherein the control unit displays a first indicator indicating an image capturing executable range of the second imaging unit, on a live view image captured by the first imaging unit.
5. The electronic apparatus according to claim 1 , wherein the control unit performs control, in a state where image capturing is being performed by one of the first imaging unit and the second imaging unit, to start image capturing using another imaging unit in place of the one of the first imaging unit and the second imaging unit performing image capturing, in response to the optical code image satisfying the specific condition.
6. The electronic apparatus according to claim 1 , wherein the control unit performs control so as to switch image capturing from image capturing performed by the first imaging unit to image capturing performed by the second imaging unit, without a user performing a switching operation.
7. The electronic apparatus according to claim 1 , wherein the control unit performs control so as to display a second indicator indicating a center of an image to be captured by the second imaging unit, on a live view image captured by the first imaging unit.
8. The electronic apparatus according to claim 1 , further comprising a third imaging unit, wherein the control unit performs control, in a case where information based on the optical code image has not been read by the reading unit from an image captured by the first imaging unit and an image captured by the second imaging unit, so as to cause the reading unit to read information based on the optical code image, from an image captured by the third imaging unit, and execute processing corresponding to the read information.
9. The electronic apparatus according to claim 8 , wherein a focal length of the third imaging unit is shorter than a focal length of the first imaging unit.
10. The electronic apparatus according to claim 1 , wherein the processing corresponding to the read information is processing of displaying the information.
11. The electronic apparatus according to claim 1 , wherein the processing corresponding to the read information is, in a case where the read information is access information regarding a specific access destination, processing of accessing the specific access destination.
12. The electronic apparatus according to claim 1 , wherein the control unit displays a message for prompting a user to move an optical code image into a first indicator indicating an image capturing executable range of the second imaging unit.
13. The electronic apparatus according to claim 1 , wherein the control unit performs control so as to display a third indicator on the optical code image read by the reading unit.
14. The electronic apparatus according to claim 1 , wherein the optical code image is a printed or displayed pattern image.
15. The electronic apparatus according to claim 14 , wherein the optical code image is a barcode or a quick response (QR) code.
16. A control method of an electronic apparatus including a first imaging unit, a second imaging unit with a focal length different from a focal length of the first imaging unit, at least one memory, and at least one processor, the control method comprising: reading information from an optical code image included in a captured image; and performing control so as to, in a case where information based on the optical code image has been read in the reading from an image captured by the first imaging unit, execute processing corresponding to the read information, and in a case where information based on the optical code image has not been read in the reading from an image captured by the first imaging unit, read information based on the optical code image, in the reading from an image captured by the second imaging unit if the optical code image from an image captured by the first imaging unit satisfies a specific condition, wherein the specific condition is at least one of (1) a state where a specific shape indicating a feature of the optical code image has been recognized and information based on the optical code image has not been read by the reading unit, and (2) a state where the specific shape has not been recognized and a predetermined time has elapsed.
17. A non-transitory computer-readable storage medium storing a program for causing a computer that includes a first imaging unit and a second imaging unit with a focal length different from a focal length of the first imaging unit to function as an electronic apparatus comprising: a reading unit configured to read information from an optical code image included in a captured image; and a control unit configured to perform control so as to, in a case where information based on the optical code image has been read by the reading unit from an image captured by the first imaging unit, execute processing corresponding to the read information, and in a case where information based on the optical code image has not been read by the reading unit from an image captured by the first imaging unit, to cause the reading unit to read information based on the optical code image, from an image captured by the second imaging unit if the optical code image from an image captured by the first imaging unit satisfies a specific condition, wherein the specific condition is at least one of (1) a state where a specific shape indicating a feature of the optical code image has been recognized and information based on the optical code image has not been read by the reading unit, and (2) a state where the specific shape has not been recognized and a predetermined time has elapsed.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
July 30, 2020
October 5, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.