Alibaba Group Holding Limited
METHOD AND APPARATUS FOR PRESENTING GRAPHIC CODES

Last updated:

Abstract:

The present application provides a method and apparatus for presenting a graphic code. The method includes: after detecting that a graphic code page is invoked, starting a front-facing image capture module of a current device to perform image capturing; performing image recognition on a captured image, and if the captured image includes a pre-configured feature of a code scanning module, calculating an offset distance between the code scanning module and a current presentation location of a graphic code; and calculating a target presentation location based on the offset distance, and presenting the graphic code at the target presentation location. Based on the method provided in the present application, a location of a graphic code can be adapted automatically, and a user does not need to perform alignment, thereby improving user experience.

Status:
Application
Type:

Utility

Filling date:

31 Jul 2020

Issue date:

19 Nov 2020