US 12,153,999 B2
Scanning method and electronic device
Ping-Han Ku, New Taipei (TW)
Assigned to Rayprus Technology (Foshan) Co., Ltd., Foshan (CN)
Filed by Rayprus Technology (Foshan) Co., Ltd., Foshan (CN)
Filed on Jul. 28, 2023, as Appl. No. 18/227,312.
Claims priority of application No. 202211695777.5 (CN), filed on Dec. 28, 2022.
Prior Publication US 2024/0220753 A1, Jul. 4, 2024
Int. Cl. G06K 7/14 (2006.01); G06T 7/70 (2017.01); G06V 10/25 (2022.01); G06V 10/60 (2022.01); H04N 23/60 (2023.01)
CPC G06K 7/1443 (2013.01) [G06T 7/70 (2017.01); G06V 10/25 (2022.01); G06V 10/60 (2022.01); H04N 23/64 (2023.01); G06T 2207/30242 (2013.01); G06V 2201/07 (2022.01)] 17 Claims
OG exemplary drawing
 
1. A scanning method, applied in an electronic device, the method comprising:
obtaining a total number of objects;
using a camera to photograph the objects, and obtaining a first image;
scanning the first image, and determining a first number of first scanned barcodes and first positions of the first scanned barcodes;
adjusting, when the first number is less than the total number, a shooting parameter of the camera from a first value to a second value;
using the camera with the adjusted shooting parameter to photograph the objects, and obtaining a second image;
scanning the second image, and determining a second number of second scanned barcodes and second positions of the second scanned barcodes;
calculating a first sum of the first number and the second number when the first positions are different from the second positions; and
determining, when the first sum is equal to the total number, a target scanning result according to the first image and the second image,
wherein determining the target scanning result according to the first image and the second image comprises:
obtaining a first scanning result of the barcodes in the first image;
obtaining a second scanning result of the barcodes in the second image; and
combining the first scanning result and the second scanning result to obtain the target scanning result.