摘要:
An automatic zooming method and an apparatus includes determining a contour of a subject of a preview image and a central point of the subject according to the preview image in a preview frame on a screen; when the central point of the subject overlaps a central point of the preview frame, determining a zoom parameter according to a size of the contour of the subject and a size of the preview frame, where the zoom parameter includes at least one of a to-be-adjusted focal length of a camera or a zoom factor of the preview image; and zooming the camera according to the zoom parameter.
摘要:
A photo distribution method and a terminal are disclosed. In an embodiment a method for distributing photos include obtaining, by a first terminal in a photo sharing group, user portrait information and address information of a second terminal in the photo sharing group, obtaining, by the first terminal, first index information created by a third terminal in the photo sharing group, segmenting, by the first terminal, the first index information to obtain second index information, and allocating the second index information to a fourth terminal in the photo sharing group and sending, by the first terminal, the user portrait information and the address information of the second terminal to the fourth terminal.
摘要:
A slave device accesses an external network through a master device via a short-range wireless communication channel between the master device and the slave device. The slave device receives a notification message from the master device, wherein the notification message includes information about an intermediate network used by the master device to connect to the external network. The slave device controls its network traffic to the external network according to a type of the intermediate network. When a master device uses a network of a cellular network type, use of network traffic in an application on a slave device can be restricted, thereby saving traffic.
摘要:
An object search method and apparatus, where the method includes receiving voice input and gesture input that are of a user; determining, according to the voice input, a name of a target object for which the user expects to search and a characteristic category of the target object; extracting characteristic information of the characteristic category from an image area selected by the user by means of the gesture input; and searching for the target object according to the extracted characteristic information and the name of the target object. The solutions provided in the embodiments of the present disclosure can provide a user with a more flexible search manner, and reduce a restriction on an application scenario during a search.
摘要:
A method and an apparatus for presenting a panoramic photo in a mobile terminal, and a mobile terminal. A trigger instruction that is used to instruct the mobile terminal to enter an immersive browsing mode is detected, where the immersive browsing mode is a browsing mode in which a panoramic photo moves as the mobile terminal rotates; and if the trigger instruction is detected, a rotation angle of the mobile terminal is detected and determined, and a panoramic photo that is presented in a normal mode in the mobile terminal is moved and presented according to the determined rotation angle. By using the present invention, complexity of panoramic photo browsing can be reduced, which makes it convenient for a user to browse a panoramic photo.
摘要:
Embodiments of the present invention disclose a method for a mobile terminal to process text, a related device, and a system. The text processing method for a mobile terminal includes: sending a request message, which carries text information and start-processing position information, to a cloud application platform, where the text information includes at least one of or any combination of text to be processed, an obtaining address of the text to be processed, and an identifier of the text to be processed; and when or after receiving a response message, which is returned by the cloud application platform, of the request message, receiving and playing an audio stream from the cloud application platform. The technical solutions provided in the present invention can satisfy a requirement of a user for “listening to” text on a mobile terminal.
摘要:
An appearance analysis method includes an electronic device obtaining a first image associated with a first region of an object and a second image associated with a second region of the object, where the first image is collected by a first camera, where the second image is collected by a second camera, and wherein the first region is different from the second region. The electronic device provides an appearance evaluation of the object, where the appearance evaluation is determined based on the first image and the second image.
摘要:
An image processing method includes displaying, by a terminal, a preview image, obtaining, by the terminal, at least one first image in the preview image, receiving, by the terminal, a photographing instruction, obtaining, by the terminal, at least one second image, detecting, by the terminal, a moving target based on the first image and the second image, and splitting, by the terminal, the moving target from the first image and the second image. The method further includes performing fusion processing on the first image and the second image after the splitting.
摘要:
A face image detection method includes: recognizing facial features of a face image, and determining two pupil centers of the face image; connecting the two pupil centers, and determining a center point of a line segment whose endpoints are the two pupil centers; and selecting K columns of pixels from a local image region including the center point, calculating a gradient value of each pixel in each column of pixels, and generating K gradient vectors including gradient values of all columns of pixels, determining, based on a result of comparing the K gradient vectors with a specified threshold, whether glasses are worn on the face image.
摘要:
An image acquisition method includes acquiring a first image based on a first photographing parameter, where the first image includes a first to-be-detected item, acquiring a second image based on a second photographing parameter, where the second image includes a second to-be-detected item, and determining, based on the first image and the second image, a detection result corresponding to the first to-be-detected item and a detection result corresponding to the second to-be-detected item.