WO2022188803A1 - 扫描方法、装置及电子设备 - Google Patents
扫描方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2022188803A1 WO2022188803A1 PCT/CN2022/079926 CN2022079926W WO2022188803A1 WO 2022188803 A1 WO2022188803 A1 WO 2022188803A1 CN 2022079926 W CN2022079926 W CN 2022079926W WO 2022188803 A1 WO2022188803 A1 WO 2022188803A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- scan
- scanning
- objects
- image
- electronic device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000004044 response Effects 0.000 claims abstract description 15
- 230000006870 function Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 13
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
Definitions
- the present application belongs to the field of communication technologies, and in particular relates to a scanning method, an apparatus and an electronic device.
- QR codes With the development of communication technology, there are more and more QR codes with different functions, and there are more and more usage scenarios of QR codes. For example, users can use electronic devices to scan QR codes for payment, registration, network connection, login security verification, etc.
- one QR code is recognized at a time when a user scans the QR code with an electronic device.
- the scanning area of the camera includes multiple QR codes, one way the electronic device randomly scans one of them, the selected QR code is not the QR code expected by the user, and the user may need to scan it again. ; or the electronic device directly displays a scan error, prompting the user to rescan.
- the user needs to scan multiple two-dimensional codes in the current scanning scene, the user needs to scan one of the two-dimensional codes successfully first, and then scan another two-dimensional code after the operation according to the two-dimensional code is completed. In this way, when multiple two-dimensional codes need to be used, the scanning process of the two-dimensional codes is relatively cumbersome.
- the purpose of the embodiments of the present application is to provide a scanning method, device and electronic device, which can solve the problem that the scanning process of a two-dimensional code is cumbersome.
- an embodiment of the present application provides a scanning method, the method includes: acquiring a first image in a scan preview frame, where the first image includes a plurality of scanning objects; identifying the first image, and obtaining M scans object; M is an integer greater than 1; receiving a first input from the user; in response to the first input, displaying a scan result page of at least two scan objects among the M scan objects.
- an embodiment of the present application provides a scanning device, the scanning device includes: an acquisition module, an identification module, a receiving module, and a display module; the acquisition module is used to acquire a first image in a scan preview frame, the first image An image includes a plurality of scanned objects.
- the identifying module is used for identifying the first image obtained by the obtaining module to obtain M scanning objects; M is an integer greater than 1.
- the receiving module is used for receiving the first input of the user.
- the display module is configured to display scan result pages of at least two scan objects in the M scan objects in response to the first input received by the receiving module.
- embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
- an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
- an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
- the electronic device can first obtain a first image in the scan preview frame, where the first image includes multiple scanning objects, and then the electronic device can recognize the first image and obtain M The object is scanned, and the electronic device can then receive a first input from the user, and in response to the first input, the electronic device can display a page of scan results for at least two of the M scanned objects. That is, in the case that the scanning scene includes multiple scanning objects, the electronic device may scan the multiple scanning objects at one time, and then display the scanning result pages of the multiple scanning objects according to the user's selection.
- the user does not need to scan one of the scan objects first, and then re-scan the next scan object after the use is completed, and the user only needs to scan once to obtain the scan result pages of the multiple scan objects , the user can operate on the multiple scan result pages respectively, which simplifies the user's scanning steps and makes the scanning method more flexible and convenient.
- FIG. 1 is one of the schematic flowcharts of the scanning method provided by the embodiment of the present application.
- FIG. 2 is a schematic diagram of a scanning scene provided by an embodiment of the present application.
- FIG. 3 is one of the schematic diagrams of the scanning interface provided by the embodiment of the present application.
- FIG. 4 is the second schematic diagram of the scanning interface provided by the embodiment of the present application.
- FIG. 5 is the third schematic diagram of the scanning interface provided by the embodiment of the present application.
- FIG. 6 is the fourth schematic diagram of the scanning interface provided by the embodiment of the present application.
- FIG. 7 is the second schematic flowchart of the scanning method provided by the embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a possible scanning device according to an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a possible electronic device provided by an embodiment of the present application.
- FIG. 10 is a schematic hardware diagram of an electronic device provided by an embodiment of the present application.
- first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
- the objects are usually of one type, and the number of objects is not limited.
- the first object may be one or more than one.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- FIG. 1 is a schematic flowchart of a scanning method provided by an embodiment of the present application. As shown in Figure 1, the method includes the following S101 to S104:
- the electronic device acquires the first image in the scan preview frame.
- the first image includes a plurality of scanning objects.
- the scanning object may be an image carrying information such as a two-dimensional code or a barcode.
- QR codes displayed in a relatively close area in the scene of scanning codes.
- code, QR code connected to WiFi, etc. are placed together to meet the needs of different users.
- FIG. 2 is a schematic diagram of a scanning scene provided by an embodiment of the present application.
- the scanning scene includes 8 different QR codes.
- the QR code for application 1 the QR code for application 2, the QR code for epidemic information reporting, the QR code for registered members, the QR code for application 3, the QR code for user 1’s business card, and the QR code for application 4.
- QR code free WiFi QR code.
- the electronic device recognizes the first image, and obtains M scanning objects.
- M is an integer greater than 1.
- the M scanning objects are valid scanning objects whose information can be identified by the electronic device.
- the electronic device can recognize multiple QR codes through one scan of the user.
- the electronic device receives the first input of the user.
- the first input may be an input for the user to select to display at least two scan objects among the M scan objects.
- the electronic device In response to the first input, displays a scan result page of at least two scan objects among the M scan objects.
- the user can perform corresponding operations respectively on the scan result pages of the at least two scanned objects displayed by the electronic device.
- the electronic device can recognize the two-dimensional code for connecting to free WiFi and the two-dimensional code for payment by application 4 .
- the user can confirm the connection to WiFi on the scanning result page corresponding to the free WiFi QR code, and enter the payment amount on the scanning result page corresponding to the QR code for payment in App 4 to confirm the payment.
- the electronic device can first obtain the first image in the scanning preview frame, and the first image includes a plurality of scanning objects, and then the electronic device can recognize the first image and obtain
- the M scanned objects can then be received by the electronic device to receive a first input from the user, and in response to the first input, the electronic device can display a page of scan results for at least two of the M scanned objects. That is, in the case that the scanning scene includes multiple scanning objects, the electronic device may scan the multiple scanning objects at one time, and then display the scanning result pages of the multiple scanning objects according to the user's selection.
- the user does not need to scan one of the scan objects first, and then re-scan the next scan object after the use is completed, and the user only needs to scan once to obtain the scan result pages of the multiple scan objects , the user can operate on the multiple scan result pages respectively, which simplifies the user's scanning steps and makes the scanning method more flexible and convenient.
- the above-mentioned S102 may be specifically performed by the following S102a to S102d:
- the electronic device recognizes the first image, and obtains J first scanning objects and K second scanning objects.
- the first scan object is a complete scan object
- the second scan object is an incomplete scan object
- both J and K are positive integers.
- the first scanning object may be a QR code whose information can be recognized by the electronic device according to the first part or all of the QR code
- the second scanning object may be the electronic device that cannot recognize the information according to the first part of the QR code. QR code.
- FIG. 3 is a schematic diagram of a scanning interface provided by an embodiment of the present application.
- the scanning preview of the electronic device The frame includes four QR codes at the bottom left of Figure 2. If the user holds the electronic device at the bottom right of Figure 2, as shown in (b) in Figure 3, the scanning preview frame of the electronic device includes the 2 The 4 QR codes at the bottom right.
- the electronic device adjusts the target shooting parameters of the camera, and reacquires the second image in the scan preview frame.
- the electronic device may automatically adjust the target shooting parameters of the camera when it is determined that there is an incomplete scanned object.
- the target shooting parameters may be the focal length, rotation angle, angle of view, shooting mode, etc. of the camera.
- the electronic device can reduce the focal length, rotate the camera, and switch the normal shooting mode to the wide-angle mode.
- the electronic device can adjust the target parameters of the camera so that the electronic device can automatically re-acquire the previously acquired incomplete scan object.
- the electronic device recognizes the second image, and obtains N first scanning objects.
- N is a positive integer.
- the electronic device can first acquire J complete scanning objects, and then re-acquire other scanning objects that are not displayed in the first image by adjusting the target parameters of the camera.
- the electronic device determines M different first scan objects according to the J first scan objects and the N first scan objects.
- the electronic device can summarize the results of the two identifications, and in the case that the results obtained from the two identifications may contain duplicate scanning objects, one of the duplicate scanning objects can be retained, and Displays the complete scanned object after summarization.
- the electronic device can automatically adjust the shooting parameters of the camera, and re-scan the scanning object in the first image.
- the incomplete scanned object is displayed, so that the user can easily scan the scanned object without manually adjusting the orientation of the electronic device.
- the above S102b may be specifically performed by the following S102b1:
- the electronic device adjusts the target shooting parameters of the camera based on the K second scanning objects.
- the electronic device may determine the target shooting parameters for adjusting the rotation of the camera according to the first side or the first relative position.
- the first boundary is the boundary of the second scanning object
- the first relative position is the position of the second scanning object relative to the first scanning object
- the electronic device determines that the lower side of the two-dimensional code of the registered member is a display complete boundary, and the left side is and the right side is an incomplete boundary, the electronic device can adjust the camera upward according to the lower boundary of the QR code of the registered member.
- the electronic device determines that the registered member is located on the right side of the QR code for payment in application 2 and above the QR code for payment in application 3, and the electronic device can also determine to adjust the camera upward.
- FIG. 4 is a schematic diagram of a scanned page provided by this embodiment of the application, in conjunction with (a) or ( b)
- the QR code of the registered member is not fully displayed.
- the electronic device displays the lower part of the QR code of the registered member, and the electronic device adjusts the camera based on the QR code of the registered member. For example, by reducing the focal length of the camera of the electronic device, as shown in (b) of FIG. 4 , the QR code can be displayed in the scanning preview frame.
- the electronic device determines that the scanned object includes an incompletely displayed scanned object, and the electronic device can accurately determine that the electronic device adjusts the camera rotation based on the incompletely displayed scanned object. Therefore, the electronic device can accurately adjust the camera and quickly locate the scanned object to be scanned.
- the electronic device acquires the first information of each scan object in the M scan objects.
- the first information may indicate the function of the scanned object.
- QR code may be: collection, payment, ride, member management, account login, content reporting (check-in), adding friends, lottery, WiFi password, product traceability, etc.
- the first information may also indicate an application corresponding to the scanned object.
- the electronic device can obtain the function of a two-dimensional code, the application corresponding to the two-dimensional code, and the like by recognizing the two-dimensional code.
- the electronic device can recognize that the four two-dimensional codes shown in (a) in FIG. 3 ,
- the labels ie, the first information shown in Table 1 below were obtained.
- the electronic device can recognize the four two-dimensional codes shown in (b) in FIG. 3 , and obtain the labels shown in Table 2 below.
- the electronic device displays the first information of the M scanning objects.
- the first input is an input for the user to select at least two scan objects from the M scan objects based on the displayed first information of the M objects.
- the electronic device may display the first control and the second control.
- the first control indicates that the user can select the two-dimensional code through the label
- the second control indicates that the user can select the two-dimensional code through the page.
- the electronic device can display the interface shown in FIG. 5 , the interface includes “select QR code through label” and “select QR code through page”, and the user can click "Select QR code by label", in combination with (a) in Figure 3, the electronic device can display the interface shown in (a) in Figure 6, the interface includes each two-dimensional code in (a) in Figure 3 The label corresponding to the code, the user can click one or more of them to choose to display the scanning result page of one or more QR codes.
- the electronic device can display the interface shown in (b) in FIG. 6 , the interface includes the The label corresponding to each QR code in (b), the user can click one or more of them to choose to display the scanning result page of one or more QR codes.
- the electronic device may first display M scan result pages of the two-dimensional code, and then the user may select which scan result page to use as required.
- the electronic device can acquire the first information of each scanning object among the M scanning objects, and can display the first information of each scanning object obtained by scanning for the user, so that the user can select and use according to the first information. Scan result page for scanned objects.
- the above-mentioned S104 may be specifically performed by the following S104a:
- the electronic device displays scan result pages of at least two scan objects among the M scan objects according to the first rule.
- the first rule is any one of the following:
- a scan result page is updated and displayed every first preset time.
- the electronic device displays one scan result page at a time, and then displays the next scan result page every time the first preset time elapses.
- a scan results page is updated every 30 seconds.
- a group of scan result pages includes P scan result pages, and P is an integer greater than or equal to 2.
- the electronic device may display the two scanning interface pages in different regions respectively.
- electronic equipment can also be displayed separately on different screens.
- the electronic device displays one scan result page each time, and the user can swipe left and right or up and down on the interface to switch the scan result page.
- the electronic device can keep displaying the scan result page, so that the user can perform operations on the scan result page.
- the electronic device can display the scanning result interface of the identified multiple scanning objects in different ways, and the display ways are flexible and diverse.
- FIG. 7 is a schematic flowchart of a possible scanning method provided by an embodiment of the present application. As shown in FIG. 7 , the following steps may be included.
- the electronic device scans the direction in which the two-dimensional code is located.
- a plurality of two-dimensional code plates are gathered together, some two-dimensional code plates are relatively large, and some two-dimensional code plates are relatively small.
- the electronic device analyzes the image taken during scanning to obtain the scanning result.
- the electronic device extracts the scanned complete two-dimensional code blocks and the number, and the incomplete two-dimensional code blocks and the number.
- the electronic device determines whether an invalid two-dimensional code block occurs.
- the electronic device adjusts the viewing angle and focal length of the camera, locates the incomplete two-dimensional code pattern, and re-shoots a complete version of the pattern.
- the electronic device determines whether the number of valid two-dimensional code blocks is 1, and if only one complete two-dimensional code block is scanned in the scan list, execute S210, otherwise execute S206.
- the electronic device traverses the two-dimensional code block, and parses the page pointed to by each two-dimensional code and the label to which it belongs.
- the electronic device determines whether the user selects the two-dimensional code through the label.
- the electronic device is displayed on the interface in the form of a label, and the user selects the desired two-dimensional code.
- the electronic device displays the two-dimensional code information in the scan list to the user through a label, and the user can select multiple two-dimensional codes. After selection, S210 is performed.
- the electronic device is displayed on the interface in the form of a two-dimensional code generating page, and the user selects a desired two-dimensional code.
- the electronic device displays all the scanned pages, and the user manually selects the desired scanning result.
- the electronic device can display the final QR code scanning result page to the user.
- the scanning process ends.
- the user can perform subsequent operations on the QR code scanning result page.
- the execution subject may be a scanning device, or a control module in the scanning device for executing the scanning method.
- a method for performing scanning by a scanning device is used as an example to describe the scanning device provided by the embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a scanning device provided by an embodiment of the present application.
- the scanning device 800 includes: an acquisition module 801, an identification module 802, a receiving module 803, and a display module 804;
- the acquisition module 801 is used for Acquire the first image in the scan preview frame, where the first image includes multiple scanning objects;
- the identification module 802 is used to identify the first image acquired by the acquisition module 801, and obtain M scanning objects; M is an integer greater than 1;
- receiving The module 803 is used for receiving the first input of the user;
- the display module 804 is used for displaying the scanning result pages of at least two scanning objects among the M scanning objects in response to the first input received by the receiving module 803 .
- the recognition module is specifically used for: recognizing the first image, obtaining J first scanning objects and K second scanning objects; adjusting the target shooting parameters of the camera, and re-acquiring the second image in the scanning preview frame; Two images, N first scanning objects are obtained; according to the J first scanning objects and the N first scanning objects, M different first scanning objects are determined; wherein, the first scanning objects are displayed complete scanning objects , the second scan object is an incomplete scan object, J, K and N are all integers, and J+N ⁇ M.
- the identification module is specifically configured to: adjust target shooting parameters of the camera based on the K second scanning objects.
- the acquisition module is further configured to acquire the first scan object of each of the M scan objects before the display module displays the scan result pages of at least two scan objects in the M scan objects in response to the first input.
- the first information indicates the function of the scanning object; the display module is further configured to display the first information of the M scanning objects.
- the display module is specifically configured to: display the scan result pages of at least two of the M scan objects according to the first rule; wherein, the first rule is any one of the following: every first preset time, update Display one scan result page; update and display a set of scan result pages every second preset time interval, a set of scan result pages includes P scan result pages, and P is an integer greater than or equal to 2; display one scan result page, and The scan results page is updated based on user input.
- the first rule is any one of the following: every first preset time, update Display one scan result page; update and display a set of scan result pages every second preset time interval, a set of scan result pages includes P scan result pages, and P is an integer greater than or equal to 2; display one scan result page, and The scan results page is updated based on user input.
- An embodiment of the present application provides a scanning device.
- the scanning device can first acquire a first image in a scanning preview frame, where the first image includes a plurality of scanning objects, and then the scanning device can recognize the first image,
- the scanning device may receive a first input from the user, and in response to the first input, the scanning device may display a scan result page of at least two scan objects among the M scan objects. That is to say, when the scanning scene includes multiple scanning objects, the scanning device may scan the multiple scanning objects at one time, and then display the scanning result pages of the multiple scanning objects according to the user's selection.
- the user does not need to scan one of the scan objects first, and then re-scan the next scan object after the use is completed, and the user only needs to scan once to obtain the scan result pages of the multiple scan objects , the user can operate on the multiple scan result pages respectively, which simplifies the user's scanning steps and makes the scanning method more flexible and convenient.
- the scanning device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- the scanning device in this embodiment of the present application may be a device having an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the scanning device provided in this embodiment of the present application can implement each process implemented by the device described in the method embodiments of FIG. 1 to FIG. 7 . To avoid repetition, details are not described here.
- an embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, a program or instruction stored in the memory 902 and executable on the processor 901, the program Or when the instruction is executed by the processor 901, each process of the foregoing scanning method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
- FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
- the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions.
- a power source such as a battery
- the power management system can manage charging, discharging, and power functions. consumption management and other functions.
- the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
- the sensor 1005 is used for acquiring the first image in the scan preview frame, and the first image includes multiple scanning objects; the processor 1010 is used for recognizing the first image and obtaining M scanning objects; M is an integer greater than 1 ; the user input unit 1007 is used to receive the first input of the user; the display unit 1006 is used to display the scanning result pages of at least two scanning objects in the M scanning objects in response to the first input.
- the processor 1010 is specifically configured to: identify the first image, obtain J first scanning objects and K second scanning objects; adjust the target shooting parameters of the camera, and reacquire the second image in the scanning preview frame; Recognize the second image, and obtain N first scanning objects; according to the J first scanning objects and the N first scanning objects, determine M different first scanning objects; wherein, the first scanning objects are displayed complete
- the scanning object, the second scanning object is an incomplete scanning object, J, K and N are all integers, and J+N ⁇ M.
- the processor 1010 is specifically configured to adjust the target shooting parameters of the camera based on the K second scanning objects.
- the processor 1010 is further configured to acquire the first information of each scan object in the M scan objects before displaying the scan result page of at least two scan objects in the M scan objects in response to the first input , the first information indicates the function of the scanning object; the display unit 1006 is further configured to display the first information of the M scanning objects.
- the display unit 1006 is specifically configured to display the scanning result pages of at least two scanning objects among the M scanning objects according to a first rule; wherein, the first rule is any one of the following: every first preset time, Update and display one scan result page; update and display a set of scan result pages every second preset time interval, a set of scan result pages includes P scan result pages, and P is an integer greater than or equal to 2; display one scan result page, And according to the user's input, the scan result page is updated and displayed.
- the first rule is any one of the following: every first preset time, Update and display one scan result page; update and display a set of scan result pages every second preset time interval, a set of scan result pages includes P scan result pages, and P is an integer greater than or equal to 2; display one scan result page, And according to the user's input, the scan result page is updated and displayed.
- An embodiment of the present application provides an electronic device.
- the electronic device can first acquire a first image in a scan preview frame, where the first image includes a plurality of scanning objects, and then the electronic device can recognize the first image,
- the electronic device may receive a first input from the user, and in response to the first input, the electronic device may display a scan result page of at least two scan objects among the M scan objects. That is, in the case that the scanning scene includes multiple scanning objects, the electronic device may scan the multiple scanning objects at one time, and then display the scanning result pages of the multiple scanning objects according to the user's selection.
- the user does not need to scan one of the scan objects first, and then re-scan the next scan object after the use is completed, and the user only needs to scan once to obtain the scan result pages of the multiple scan objects , the user can operate on the multiple scan result pages respectively, which simplifies the user's scanning steps and makes the scanning method more flexible and convenient.
- the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 1006 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
- the user input unit 1007 includes a touch panel 1071 and other input devices 1072 .
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include two parts, a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
- Memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
- the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1010.
- Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing scanning method embodiment can be implemented, and the same can be achieved.
- the technical effect, in order to avoid repetition, will not be repeated here.
- the processor is the processor in the electronic device described in the foregoing embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing scanning method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
编号 | 标签 |
1 | 应用2、收款 |
2 | 应用3、收款 |
3 | 疫情、填报信息 |
4 | 会员、注册 |
编号 | 标签 |
1 | 会员、注册 |
2 | 应用3、收款 |
3 | 应用4、收款 |
4 | WiFi |
Claims (12)
- 一种扫描方法,所述方法包括:获取扫描预览框中的第一图像,所述第一图像中包括多个扫描对象;识别所述第一图像,得到M个扫描对象;M为大于1的整数;接收用户的第一输入;响应于所述第一输入,显示所述M个扫描对象中至少两个扫描对象的扫描结果页面。
- 根据权利要求1所述的方法,其中,所述识别所述第一图像,得到M个扫描对象,包括:识别所述第一图像,得到J个第一扫描对象和K个第二扫描对象;调整摄像头的目标拍摄参数,重新获取扫描预览框中的第二图像;识别所述第二图像,得到N个第一扫描对象;根据所述J个第一扫描对象和所述N个第一扫描对象,确定M个不同的第一扫描对象;其中,所述第一扫描对象为显示完整的扫描对象,所述第二扫描对象为显示不完整的扫描对象,J、K和N均为整数,J+N≥M。
- 根据权利要求2所述的方法,其中,所述调整摄像头的目标拍摄参数,包括:基于所述K个第二扫描对象,调整摄像头的目标拍摄参数。
- 根据权利要求1所述的方法,其中,响应于所述第一输入,显示所述M个扫描对象中至少两个扫描对象的扫描结果页面之前,所述方法还包括:获取所述M个扫描对象中的每个扫描对象的第一信息,所述第一信息指示扫描对象的功能;显示所述M个扫描对象的第一信息。
- 根据权利要求1至4中任一项所述的方法,其中,所述显示所述M个扫描对象中至少两个扫描对象的扫描结果页面,包括:按照第一规则显示所述M个扫描对象中至少两个扫描对象的扫描结果页面;其中,所述第一规则为以下任意一项:每间隔第一预设时间,更新显示一个扫描结果页面;每间隔第二预设时间,更新显示一组扫描结果页面,一组扫描结果页面包括P个扫描结果页面,P为大于或等于2的整数;显示一个扫描结果页面,并根据用户的输入更新显示扫描结果页面。
- 一种扫描装置,所述扫描装置包括:获取模块、识别模块、接收模块和显示模块;所述获取模块,用于获取扫描预览框中的第一图像,所述第一图像中包括多个扫描对象;所述识别模块,用于识别所述获取模块获取的所述第一图像,得到M个扫描对象;M为大于1的整数;所述接收模块,用于接收用户的第一输入;所述显示模块,用于响应于接收模块接收的所述第一输入,显示所述M个扫描对象中至少两个扫描对象的扫描结果页面。
- 根据权利要求6所述的扫描装置,其中,所述识别模块具体用于:识别所述第一图像,得到J个第一扫描对象和K个第二扫描对象;调整摄像头的目标拍摄参数,重新获取扫描预览框中的第二图像;识别所述第二图像,得到N个第一扫描对象;根据所述J个第一扫描对象和所述N个第一扫描对象,确定M个不同的第一扫描对象;其中,所述第一扫描对象为显示完整的扫描对象,所述第二扫描对象为显示不完整的扫描对象,J、K和N均为整数,J+N≥M。
- 根据权利要求7所述的扫描装置,其中,所述识别模块具体用于:基于所述K个第二扫描对象,调整摄像头的目标拍摄参数。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5任一项所述的扫描方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令 被处理器执行时实现如权利要求1至5任一项所述的扫描方法的步骤。
- 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至5任一项所述的扫描方法。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5任一项所述的扫描方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110271679.8A CN113128244A (zh) | 2021-03-12 | 2021-03-12 | 扫描方法、装置及电子设备 |
CN202110271679.8 | 2021-03-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022188803A1 true WO2022188803A1 (zh) | 2022-09-15 |
Family
ID=76773084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/079926 WO2022188803A1 (zh) | 2021-03-12 | 2022-03-09 | 扫描方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113128244A (zh) |
WO (1) | WO2022188803A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113128244A (zh) * | 2021-03-12 | 2021-07-16 | 维沃移动通信有限公司 | 扫描方法、装置及电子设备 |
CN113988236A (zh) * | 2021-10-28 | 2022-01-28 | 芜湖雄狮汽车科技有限公司 | 信息识别码的显示方法、装置、电子设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107609452A (zh) * | 2017-09-29 | 2018-01-19 | 联想(北京)有限公司 | 处理方法及装置 |
WO2018083560A1 (en) * | 2016-11-04 | 2018-05-11 | Origami Lab Srl | Method to access a multimedia content |
CN110674662A (zh) * | 2019-09-17 | 2020-01-10 | 维沃移动通信有限公司 | 一种扫描方法及终端设备 |
CN111553673A (zh) * | 2020-05-07 | 2020-08-18 | 支付宝(杭州)信息技术有限公司 | 一种基于图形码识别的信息展示方法及装置 |
CN113128244A (zh) * | 2021-03-12 | 2021-07-16 | 维沃移动通信有限公司 | 扫描方法、装置及电子设备 |
-
2021
- 2021-03-12 CN CN202110271679.8A patent/CN113128244A/zh active Pending
-
2022
- 2022-03-09 WO PCT/CN2022/079926 patent/WO2022188803A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018083560A1 (en) * | 2016-11-04 | 2018-05-11 | Origami Lab Srl | Method to access a multimedia content |
CN107609452A (zh) * | 2017-09-29 | 2018-01-19 | 联想(北京)有限公司 | 处理方法及装置 |
CN110674662A (zh) * | 2019-09-17 | 2020-01-10 | 维沃移动通信有限公司 | 一种扫描方法及终端设备 |
CN111553673A (zh) * | 2020-05-07 | 2020-08-18 | 支付宝(杭州)信息技术有限公司 | 一种基于图形码识别的信息展示方法及装置 |
CN113128244A (zh) * | 2021-03-12 | 2021-07-16 | 维沃移动通信有限公司 | 扫描方法、装置及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN113128244A (zh) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022188803A1 (zh) | 扫描方法、装置及电子设备 | |
CN111612009B (zh) | 文本识别方法、装置、设备和存储介质 | |
US20160028741A1 (en) | Methods and devices for verification using verification code | |
WO2022007926A1 (zh) | 显示方法、装置、电子设备和可读存储介质 | |
WO2022111394A1 (zh) | 信息处理方法、装置和电子设备 | |
CN104363400A (zh) | 一种扫描本地二维码的方法及装置 | |
WO2022057791A1 (zh) | 消息回复方法、装置和电子设备 | |
EP4228242A1 (en) | Image processing method and apparatus | |
CN112099704A (zh) | 信息显示方法、装置、电子设备和可读存储介质 | |
US10104091B2 (en) | Authenticating apparatus, authenticating system and storage medium | |
CN113486785A (zh) | 基于深度学习的视频换脸方法、装置、设备及存储介质 | |
CN112269522A (zh) | 图像处理方法、装置、电子设备和可读存储介质 | |
CN109359582A (zh) | 信息搜索方法、信息搜索装置及移动终端 | |
CN112699363A (zh) | 图形码识别方法、装置及电子设备 | |
US8702001B2 (en) | Apparatus and method for acquiring code image in a portable terminal | |
CN105279466B (zh) | 图形码识别方法及装置、图形码生成方法及装置 | |
CN112287713A (zh) | 二维码识别方法及装置 | |
CN112734661A (zh) | 图像处理方法及装置 | |
WO2023103901A1 (zh) | 应用管理方法、装置和电子设备 | |
WO2022156817A1 (zh) | 内容提取方法、装置 | |
CN112333389B (zh) | 图像显示控制方法、装置及电子设备 | |
CN112183149B (zh) | 图形码处理方法及装置 | |
CN111813304A (zh) | 图像显示方法及装置 | |
CN112561809A (zh) | 图像处理方法、装置及设备 | |
CN112785312A (zh) | 信息共享方法、装置、电子设备和可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22766325 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22766325 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22766325 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04.03.2024) |