Abstract:
A method and an apparatus for obtaining an extended depth of field image, where the method includes: determining a target focal length range based on an initial focal length, where the target focal length range includes the initial focal length; obtaining a plurality of images of a photographed object for a plurality of focal lengths in the target focal length range; and registering and fusing the plurality of images to obtain an extended depth of field image. The target focal length range of concern to a user is selected based on the initial focal length, such that there is no need to obtain images of all focal lengths of a lens, a quantity of obtained images and processing time of registration and fusion can be reduced.
Abstract:
An information displaying method for a terminal device, and a terminal device, where the method includes displaying, by the terminal device, prompt information on a screen of the terminal device when the terminal device is in a screen-locked state, collecting, by the terminal device, a user face image using a camera of the terminal device, and displaying, by the terminal device on the screen of the terminal device, content information corresponding to the prompt information when the user face image matches an image template stored in the terminal device. According to the information displaying method, related information is displayed through facial recognition without releasing the screen-locked state of a mobile phone such that convenience of information displaying is improved while information security is ensured.
Abstract:
The present disclosure discloses a photographing method and an apparatus in, relates to the photographing field and the field of image processing technologies. When multiple people take a group photo, no help from a third party is required. Therefore, implementation is convenient, and user satisfaction with a group photo result can be improved, thereby improving user experience. The method includes: obtaining a first image including an image of a first photographing background and a first to-be-photographed subject; then displaying a first preview interface, the first preview image includes an image of a second photographing background and an image of a second to-be-photographed subject, and a degree of coincidence between the image of the second photographing background and the image of the first photographing background is greater than or equal to a preset degree of coincidence; obtaining a target image based on the first image and the first preview image.
Abstract:
Embodiments of the present invention provide a pointing interaction method, apparatus, and system. The method includes: obtaining a hand image and an arm image; determining spatial coordinates of a fingertip according to the hand image, and determining spatial coordinates of an arm key portion according to the arm image; and performing converged calculation on the spatial coordinates of the fingertip and the spatial coordinates of the arm key portion, to determine two-dimensional coordinates, on a display screen, of an intersection point between fingertip pointing and the display screen. Therefore, the pointing interaction apparatus can implement high-precision pointing only by using the spatial coordinates of the fingertip and the spatial coordinates of the arm key portion, and the pointing has good realtimeness.
Abstract:
A method, a device, and a system are provided for recognizing a gesture based on multi-terminal collaboration, which are used to recognize an air gesture operation of a user in a multi-terminal collaboration scenario. The method includes receiving, by a first terminal after receiving a collaboration request activation signal, parameter information of second terminals; recording, by the first terminal according to the parameter information of the second terminals, an arrangement manner of terminals that participate in acquiring of gesture information, where the terminals that participate in the acquiring of the gesture information include all terminals or the second terminals; receiving, by the first terminal, sensor trigger information sent by at least one second terminal; and determining, by the first terminal according to the recorded arrangement manner and the acquired sensor trigger information, a type of a gesture that triggers a sensor.
Abstract:
A method, a device, and a system are provided for recognizing a gesture based on multi-terminal collaboration, which are used to recognize an air gesture operation of a user in a multi-terminal collaboration scenario. The method includes receiving, by a first terminal after receiving a collaboration request activation signal, parameter information of second terminals; recording, by the first terminal according to the parameter information of the second terminals, an arrangement manner of terminals that participate in acquiring of gesture information, where the terminals that participate in the acquiring of the gesture information include all terminals or the second terminals; receiving, by the first terminal, sensor trigger information sent by at least one second terminal; and determining, by the first terminal according to the recorded arrangement manner and the acquired sensor trigger information, a type of a gesture that triggers a sensor.
Abstract:
A content push method is provided. The method is applied to a terminal, which includes a first set of cameras. The method includes: when the terminal is in a screen-locked state and an off-screen is woken up, capturing a first set of face images of a user by using the first set of cameras; determining whether the first set of face images matches a registered user; if the first set of face images matches the registered user, performing, by the terminal, an unlocking operation, and determining a facial attribute of the user based on the first set of face images; determining a to-be-pushed media resource based on the facial attribute; and pushing the media resource in an interface displayed after the terminal is unlocked.
Abstract:
A method and an apparatus for obtaining an extended depth of field image, and an electronic device are disclosed. The method includes: determining a target focal length range based on an initial focal length (101), where the target focal length range includes the initial focal length; obtaining a plurality of images of a photographed object for a plurality of focal lengths in the target focal length range (102); and registering and fusing, the plurality of images to obtain an extended depth of field image (103). The target focal length range of concern to a user is selected based on the initial focal length, so that there is no need to obtain images of all focal lengths of a lens, a quantity of obtained images and processing time of registration and fusion can be reduced.
Abstract:
The present invention discloses a multi-terminal positioning method, and a related device and system. The method includes: establishing, by a primary terminal after receiving a collaboration request activation signal triggered by a user, connections to secondary terminals in a wireless connection manner; calculating and displaying, by the primary terminal according to received device configuration parameters of the secondary terminals and the number of secondary terminals, at least one arrangement shape of all terminals and at least one demarcated gesture that matches each arrangement shape, and recording one arrangement shape selected by the user and one demarcated gesture that matches the arrangement shape; receiving, by the primary terminal, sensor trigger information sent by at least one secondary terminal; and calculating, by the primary terminal according to the recorded arrangement shape and demarcated gesture, and the sensor trigger information, an arrangement sequence of all terminals and relative positions between the terminals.
Abstract:
The present invention discloses a multi-terminal positioning method, and a related device and system. The method includes: establishing, by a primary terminal after receiving a collaboration request activation signal triggered by a user, connections to secondary terminals in a wireless connection manner; calculating and displaying, by the primary terminal according to received device configuration parameters of the secondary terminals and the number of secondary terminals, at least one arrangement shape of all terminals and at least one demarcated gesture that matches each arrangement shape, and recording one arrangement shape selected by the user and one demarcated gesture that matches the arrangement shape; receiving, by the primary terminal, sensor trigger information sent by at least one secondary terminal; and calculating, by the primary terminal according to the recorded arrangement shape and demarcated gesture, and the sensor trigger information, an arrangement sequence of all terminals and relative positions between the terminals.