WO2019105237A1 - Image processing method, computer device, and computer-readable storage medium - Google Patents

Image processing method, computer device, and computer-readable storage medium Download PDF

Info

Publication number
WO2019105237A1
WO2019105237A1 PCT/CN2018/115675 CN2018115675W WO2019105237A1 WO 2019105237 A1 WO2019105237 A1 WO 2019105237A1 CN 2018115675 W CN2018115675 W CN 2018115675W WO 2019105237 A1 WO2019105237 A1 WO 2019105237A1
Authority
WO
WIPO (PCT)
Prior art keywords
face
images
image
face images
generating
Prior art date
Application number
PCT/CN2018/115675
Other languages
French (fr)
Chinese (zh)
Inventor
陈德银
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019105237A1 publication Critical patent/WO2019105237A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/164Detection; Localisation; Normalisation using holistic features

Definitions

  • the present application relates to the field of computer technology, and in particular, to an image processing method, a computer device, and a computer readable storage medium.
  • smart computer devices With the rapid development of smart computer devices, more and more users are taking pictures with smart computer devices.
  • the processing functions of images in intelligent computer devices are becoming more and more comprehensive and diverse.
  • smart computer devices can perform color adjustment, brightness adjustment, contrast adjustment, saturation adjustment, etc. on images, and remove some areas from the image. .
  • An embodiment of the present application provides an image processing method, a computer device, and a computer readable storage medium.
  • An image processing method comprising:
  • Face recognition is performed on the image to be processed to obtain a face image
  • the face information includes a face area, a face position, and a face angle
  • the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
  • a computer device comprising a memory and a processor, the memory storing computer readable instructions, the instructions being executed by the processor, causing the processor to perform the following operations:
  • Face recognition is performed on the image to be processed to obtain a face image
  • the face information includes a face area, a face position, and a face angle
  • the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
  • a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to:
  • Face recognition is performed on the image to be processed to obtain a face image
  • the face information includes a face area, a face position, and a face angle
  • the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
  • 1 is a flow chart of an image processing method in an embodiment
  • FIG. 2 is a flow chart of an image processing method in another embodiment
  • FIG. 3 is a flow chart of an image processing method in another embodiment
  • FIG. 5 is a schematic diagram of a plurality of face image generation moving images in an embodiment
  • Figure 6 is a block diagram showing the structure of an image processing apparatus in an embodiment
  • Figure 7 is a block diagram showing the structure of an image processing apparatus in another embodiment
  • Figure 8 is a block diagram showing the structure of an image processing apparatus in another embodiment
  • FIG. 9 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
  • an image processing method includes:
  • face recognition is performed on the image to be processed, and a face image is acquired.
  • the computer device may use the face recognition algorithm to perform face recognition on the image to be processed, and detect whether there is a face in the image to be processed. If there is a face in the image to be processed, the image to be processed is a face image.
  • the image to be processed may be an image captured by a computer device, an image stored by the computer device, and an image downloaded by the computing device via a data network or a wireless local area network.
  • Operation 104 Acquire face information of a face image, and the face information includes a face area, a face position, and a face angle.
  • the computer device can obtain the face information of the face image.
  • the above face information includes: face area, face position, and face angle.
  • the above-mentioned face area that is, the face area occupies the area of the image, and can be represented by the number of pixels of the face area or the proportion of the face area to the image.
  • the above-mentioned face position is the position of the face area in the image, and can be represented by the pixel coordinates of the face area, for example, the pixels of the third row and the third column.
  • the face angle refers to the angle of rotation of the face relative to the standard face in three-dimensional space, and the above-mentioned angle of rotation can be represented by three mutually perpendicular in-plane angles in the space rectangular coordinate system.
  • the computer device can obtain the face in each plane relative to the standard face.
  • the offset angle of the face relative to the standard face in the above three planes is the face angle.
  • the standard face mentioned above is a face that is pre-stored by the computer device, and can be a face that is synthesized by the computer device or a face set by the user.
  • the above standard face may be a face in an image obtained by the user who is photographing the camera.
  • the computer device may filter the plurality of faces by using face information of the plurality of faces.
  • the method for the computer device to screen the plurality of faces may include at least one of the following methods:
  • the computer device separately obtains the face area of the plurality of faces, obtains the maximum face area, and selects the face corresponding to the face area within the preset ratio range based on the maximum face area. For example, a face whose face area is larger than 80% of the maximum face area is selected.
  • the computer device detects whether the face position of the face is within the preset position, and the preset position may be a central area of the image.
  • the computer device can detect whether the face area is within the central area, and then select a face whose face area is within the central area. If a part of the area in the face area is in the central area, the computer device may calculate an area ratio of the face area in the central area to the total face area. If the ratio is greater than a preset threshold, the face area is selected. For example, if the area of the face region falling into the center area accounts for more than 60% of the total area of the face area, the above-mentioned face area is selected.
  • the computer device can receive a user's selection instruction for the face in the face image, and select a face from the face image according to the above selection instruction.
  • the face information of the plurality of face images is compared to determine whether the plurality of face images are continuous shooting images.
  • the computer device may separately compare the face information of the plurality of face images to detect whether the plurality of face images are continuous shooting images.
  • a continuous shooting image refers to an image obtained by continuously capturing the same scene from the same direction and at the same angle.
  • the operation of comparing the face information of the plurality of face images by the computer device includes:
  • the computer device acquires the face identifier corresponding to the face in the face image.
  • the above-mentioned face identifier is a character string for uniquely identifying a face, and may be a number, a letter, a symbol, or the like.
  • the computer device can compare two images in multiple face images, and compare the face information of the two images, including:
  • the computer device can intercept the rectangular frame including the face, and after the two images are overlapped and aligned, if the face in the other image also falls into the rectangular frame, the two images are in the two images.
  • the face of the face is the same.
  • the size of the rectangular frame can be adjusted according to the size of the face.
  • the face areas of the faces corresponding to the same face identifier in the two images are within a first threshold and the face positions are the same, it is detected whether the face angles are within a second threshold.
  • the time difference of the continuous shooting image is usually very short, for example, 0.2 seconds. Therefore, the change value of the face angle in the two adjacent images of the continuous shooting image taken when the face is rotated is small.
  • the computer device can separately obtain the face angles of the two images, and the face angles are the angles of the three planes in the space rectangular coordinate system.
  • the computer device compares whether the angular differences of the above three planes are within a second threshold, for example 10°. If the face angle is within the second threshold, it can be determined that the two face images are continuous shooting images.
  • the computer device can recognize whether the plurality of images are continuous shooting images according to the two-two images as continuous shooting images.
  • the A image and the B image are continuous shooting images
  • the B image and the C image are continuous shooting images
  • the A image, the B image, and the C image are continuous shooting images.
  • the computer device can generate the motion map according to the plurality of face images.
  • the above method for generating an animation is to continuously play a plurality of face images to obtain a motion picture.
  • a computer device can generate a GIF (Graphics Interchange Format) image from a plurality of face images.
  • the computer device can store the obtained animation in a folder of a preset path, and the folder of the preset path can be preset by the computer device or set by the user, for example, a file in a system album folder and a third-party application. In the folder like QQ's emoticon folder.
  • the computer device can acquire a continuous image generation moving image of the face image, which does not require manual operation by the user, simplifies the operation operation of the user, and improves the generation efficiency of the moving image.
  • the face area of the face corresponding to the same face identifier in the two images is within a first threshold, and the face position is Similarly, after the face angle is within the second threshold, it is also possible to detect whether the difference between the brightness values of each of the two images in the plurality of face images is within a third threshold range. If the difference between the luminance values of the two images is within the third threshold range, it is determined that the two images are continuous shooting images. Since the continuous shooting image shooting time is short and the brightness value of the image changes little, the difference between the image brightness values can further determine whether the image is a continuous shooting image.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • a plurality of face images are generated in accordance with the storage order of the plurality of face images.
  • a plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
  • a plurality of face images are generated in accordance with the user's selection order.
  • the plurality of face images can be continuously played in a specified order.
  • the order specified above may be a storage order of a plurality of face images, that is, the computer device generates a moving image by continuously playing a plurality of face images in a storage order from first to last.
  • the computer device can also acquire the shooting time of each face image in the plurality of face images, and continuously play the plurality of face images in the order from the morning to the night according to the shooting time, thereby generating the motion picture.
  • the computer device also receives the user's selection order of the plurality of face images, and continuously plays the plurality of face images in the user's selection order to obtain the motion picture.
  • the computer device can also obtain the face angle in each image of the plurality of face images, and the computer device can select the image with the earliest shooting time as the starting image, and then change the angle of the other image relative to the starting image face angle. Arrange in a large order, and play the start image and other images in sequence to generate a motion picture.
  • the computer device can generate a moving image according to a plurality of sequences to generate a moving image, and the method for generating the moving image is more diversified, which is beneficial to improving user stickiness.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • the computer device is pre-configured with a first time interval, and the first time interval may be a value set by the computer device or a preset value of the user, and the computer device may sequentially play multiple face images to generate a motion image according to the first time interval.
  • a computer device sequentially plays a plurality of face images at intervals of 0.5 seconds.
  • the computer device can also pre-store the correspondence between the number of images and the playing time interval, and the computer device can determine the second time interval according to the number of the plurality of face images.
  • the above correspondence may be a linear relationship or a non-linear relationship.
  • the second time interval is 0.5 seconds; when the number of sheets of the plurality of face images is five, the second time interval is 1 second.
  • the computer device can also receive a playing time interval set by the user for each face image, that is, the user can set a corresponding third time interval for each face image, wherein the third time interval corresponding to the different images can be the same or different. .
  • the computer then sequentially plays the plurality of face images according to the third time interval corresponding to the face image to obtain a motion picture.
  • the computer device can play multiple face images according to multiple time intervals, that is, the manner of generating the motion picture can be diversified, which is beneficial to improve user stickiness.
  • generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
  • the computer device may further identify the face region in the face image, and extract the face region image according to the face contour of the face region.
  • the computer device can acquire the face region through the skin color recognition, and determine the face contour by the color difference between the face region and the background region.
  • the computer device can also recognize the face region in the face image through the machine learning model, recognize the face contour of the face region, and extract the face region image according to the face contour.
  • the computer device may extract the face region image from the face image, and then sequentially play the face region image to obtain a motion picture, that is, the computer device may remove the background region in the image when generating the motion picture, only According to the face area generated in the image, the method of generating the moving picture is more suitable for the user's needs.
  • the method further includes:
  • the face identifier corresponding to the face image is identified, and the face image is clustered according to the face identifier to generate a face map corresponding to the face identifier.
  • the face information of the plurality of face images is compared, and determining whether the plurality of face images are continuous shooting images comprises: comparing face information of multiple face images in the same image set to determine multiple face faces. Whether the image is a continuous shooting image.
  • the computer device can obtain a face identifier corresponding to the master face in the face image, and the master face is the main face in the image.
  • the master face may include a face in the image preset area, for example, a face in the center of the image; the master face may also include a face whose face area is larger than a specified value in the image, for example, in an image. A face whose face area is larger than 10% of the image area.
  • the computer device may cluster the plurality of face images according to the face identifier corresponding to the owner's face, and generate the atlas of the face corresponding to the face identifier.
  • the computer device may select multiple images from one image to detect whether the plurality of face images are continuous shooting images, that is, the computer device sets multiple faces in the same image set.
  • the face information of the image is compared to determine whether the plurality of face images are continuous shooting images.
  • the method for detecting whether a plurality of images are continuous shooting images is the same as the method in operation 206, and details are not described herein again.
  • the computer device selects multiple face images from the face map set corresponding to the same face identifier, and determines whether the plurality of face images are continuous shooting images, that is, the computer device can be from the same face.
  • a plurality of face images are collectively selected to identify whether the plurality of face images are continuous shooting images, so that the detected continuous shooting images are more accurate.
  • the method further includes:
  • the face image of the face map is sent to the computer device corresponding to the contact.
  • the computer device can find contact information corresponding to the face identifier, including:
  • the computer device obtains the tag information of the face in the face image input by the user, the tag information may be the name of the person corresponding to the face, and the computer device searches for the name of the person corresponding to the face in the stored contact, if the contact has been stored If there is a person name corresponding to the face in the person, the computer device acquires the contact corresponding to the face.
  • the computer device can also obtain the avatar corresponding to the stored contact, and the computer device matches the face corresponding to the face identifier with the avatar corresponding to the stored contact, and if the matching is successful, the contact is the face region. Corresponding contact.
  • the computer device After obtaining the contact corresponding to the face identifier, the computer device can find whether the contact corresponding to the face identifier has stored contact information.
  • the above contact information may be a mobile phone number, a landline number, a social account number, and the like.
  • the computer device sends the face map corresponding to the face identifier to the computer device corresponding to the contact.
  • the computer device can send the face map corresponding to the face to the corresponding contact, without the user manually sending the image one by one, simplifying the operation operation of the user, and the method of sharing the image is more intelligent and more Meet the needs of users.
  • an image processing method includes:
  • Operation 402 performing face recognition on the image to be processed, and acquiring a face image.
  • Operation 404 acquiring a plurality of face images selected by the user, and generating a motion image of the plurality of face images according to the user's selection order.
  • the computer device can also acquire a plurality of face images selected by the user, and sequentially play the plurality of face images according to the order in which the user selects the plurality of face images, that is, the computer device can be more according to the user's selection order.
  • a face image is generated to generate a motion picture.
  • the plurality of face images selected by the user may be a continuous shooting image or a non-continuous shooting image; the plurality of face images selected by the user may be the face images corresponding to the same face identifier, or may be different faces. Identify the corresponding face image.
  • the computer device can directly acquire multiple images selected by the user, and generate a motion image according to multiple images selected by the user, and the method for generating the motion image is simple and fast, and fits the user's needs.
  • FIG. 5 is a schematic diagram of a plurality of face image generation motion diagrams in one embodiment.
  • the image 502, the image 504, the image 506, the image 508, and the image 510 are all face images, and the above five face images are continuous shooting images.
  • the computer device can separately acquire the shooting moments of the above five facial images, wherein the image 502 is taken at 10:25:06 on October 28, 2017, and the image 504 is taken at 10:25:07 on October 28, 2017. Image 506 is taken at 10:25:08 on October 28, 2017, image 508 is taken at 10:25:09 on October 28, 2017, and image 510 is taken at 10:25 on October 28, 2017: 10.
  • the computer device sorts the five face images into the image 502, the image 504, the image 506, the image 508, and the image 510 in the order of the shooting time.
  • the computer device can continuously play the above five face images in the order of sorting, and generate an animation.
  • the computer device can continuously play five face images according to the preset first time interval, for example, five face images are continuously played according to a time interval of 0.5 seconds, that is, the image 502
  • the time interval from image 504 is t1 is 0.5 seconds
  • the time interval between image 504 and image 506 is t2 is 0.5 seconds
  • the time interval between image 506 and image 508 is t3 is 0.5 seconds
  • image 506 and image The time interval between 508 is t4 of 0.5 seconds.
  • FIG. 6 is a block diagram showing the structure of an image processing apparatus in an embodiment. As shown in FIG. 6, an image processing apparatus includes:
  • An identification module 602 configured to perform face recognition on the image to be processed, and obtain a face image
  • the obtaining module 604 is configured to obtain face information of the face image, where the face information includes a face area, a face position, and a face angle;
  • the comparison module 606 is configured to compare the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images;
  • the processing module 608 is configured to generate a motion map according to the plurality of face images if the plurality of face images are continuous shooting images.
  • the processing module 608 generates a motion map according to the plurality of facial images, including at least one of the following:
  • a plurality of face images are generated in accordance with the user's selection order.
  • the processing module 608 generates a motion map according to the plurality of facial images, including at least one of the following:
  • the processing module 608 generates a motion image according to the plurality of face images, including: extracting a face region image from the plurality of face images, and continuously playing the face region image in the plurality of face images to obtain a motion map. .
  • the processing module 608 is further configured to acquire a plurality of face images selected by the user, and generate a motion image by using the plurality of face images according to the user's selection order.
  • FIG. 7 is a block diagram showing the structure of an image processing apparatus in another embodiment.
  • an image processing apparatus includes: an identification module 702, an acquisition module 704, a comparison module 706, a processing module 708, and a clustering module 710.
  • the identification module 702, the acquisition module 704, the comparison module 706, and the processing module 708 have the same functions as the corresponding modules in FIG. 6.
  • the identification module 702 is further configured to identify a face identifier corresponding to the face image
  • the clustering module 710 is configured to cluster the face image according to the face identifier, and generate a face map corresponding to the face identifier;
  • the comparison module 706 compares the face information of the plurality of face images, and determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine multiple faces Whether the image is a continuous shooting image.
  • FIG. 8 is a block diagram showing the structure of an image processing apparatus in another embodiment.
  • an image processing apparatus includes: an identification module 802, an acquisition module 804, a comparison module 806, a processing module 808, and a transmission module 810.
  • the identification module 802, the acquisition module 804, the comparison module 808, and the processing module 808 have the same functions as the corresponding modules in FIG.
  • the obtaining module 804 is further configured to: if the contact information corresponding to the face identifier is stored in the computer device, obtain a face map corresponding to the face identifier;
  • the sending module 810 is configured to send the face image of the face map to the computer device corresponding to the contact.
  • each module in the above image processing apparatus is for illustrative purposes only. In other embodiments, the image processing apparatus may be divided into different modules as needed to complete all or part of the functions of the image processing apparatus.
  • the embodiment of the present application also provides a computer readable storage medium.
  • One or more non-transitory computer readable storage media containing computer executable instructions that, when executed by one or more processors, cause the processor to:
  • the face to be processed is subjected to face recognition to obtain a face image.
  • the face information includes a face area, a face position, and a face angle.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • a plurality of face images are generated in accordance with the storage order of the plurality of face images.
  • a plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
  • a plurality of face images are generated in accordance with the user's selection order.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
  • the method further includes: identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier.
  • Comparing the face information of the plurality of face images, determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine whether the plurality of face images are Continuous shooting images.
  • the method further includes: if the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier. Send the face image of the face map to the computer device corresponding to the contact.
  • the method further includes: acquiring a plurality of face images selected by the user, and generating a plurality of face images according to the user's selection order.
  • a computer program product comprising instructions that, when run on a computer, cause the computer to:
  • the face to be processed is subjected to face recognition to obtain a face image.
  • the face information includes a face area, a face position, and a face angle.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • a plurality of face images are generated in accordance with the storage order of the plurality of face images.
  • a plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
  • a plurality of face images are generated in accordance with the user's selection order.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
  • the method further includes: identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier.
  • Comparing the face information of the plurality of face images, determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine whether the plurality of face images are Continuous shooting images.
  • the method further includes: if the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier. Send the face image of the face map to the computer device corresponding to the contact.
  • the method further includes: acquiring a plurality of face images selected by the user, and generating a plurality of face images according to the user's selection order.
  • the embodiment of the present application also provides a computer device. As shown in FIG. 9 , for the convenience of description, only the parts related to the embodiments of the present application are shown. If the specific technical details are not disclosed, please refer to the method part of the embodiment of the present application.
  • the computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking a computer device as a mobile phone as an example. :
  • FIG. 9 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, and a processor 980.
  • RF radio frequency
  • RF radio frequency
  • memory 920 includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, and a processor 980.
  • WiFi wireless fidelity
  • power supply 990 and other components.
  • the RF circuit 910 can be used for receiving and transmitting signals during the transmission and reception of information or during a call.
  • the downlink information of the base station can be received and processed by the processor 980.
  • the uplink data can also be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 910 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General
  • the memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 920.
  • the memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.);
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 900.
  • the input unit 930 may include a touch panel 931 and other input devices 932.
  • the touch panel 931 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 931 or near the touch panel 931. Operation) and drive the corresponding connection device according to a preset program.
  • the touch panel 931 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 980 is provided and can receive commands from the processor 980 and execute them.
  • the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 930 may also include other input devices 932.
  • other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
  • the display unit 940 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 940 can include a display panel 941.
  • the display panel 941 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 931 can cover the display panel 941. When the touch panel 931 detects a touch operation on or near it, the touch panel 931 transmits to the processor 980 to determine the type of the touch event, and then the processor 980 is The type of touch event provides a corresponding visual output on display panel 941.
  • touch panel 931 and the display panel 941 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 9, in some embodiments, the touch panel 931 and the display panel 941 may be integrated. Realize the input and output functions of the phone.
  • the handset 900 can also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may close the display panel 941 and/or when the mobile phone moves to the ear. Or backlight.
  • the motion sensor may include an acceleration sensor, and the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • Audio circuitry 960, speaker 961, and microphone 962 can provide an audio interface between the user and the handset.
  • the audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961, and convert it into a sound signal output by the speaker 961.
  • the microphone 962 converts the collected sound signal into an electrical signal, and the audio circuit 960 After receiving, it is converted into audio data, and after being processed by the audio data output processor 980, it can be sent to another mobile phone via the RF circuit 910, or the audio data can be output to the memory 920 for subsequent processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access.
  • FIG. 9 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone 900 and can be omitted as needed.
  • the processor 980 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 920, and invoking data stored in the memory 920, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • processor 980 can include one or more processing units.
  • the processor 980 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
  • the handset 900 also includes a power source 990 (such as a battery) that supplies power to the various components.
  • a power source 990 such as a battery
  • the power source can be logically coupled to the processor 980 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the handset 900 can also include a camera, a Bluetooth module, and the like.
  • the processor 980 included in the mobile terminal performs the following operations when executing the computer program stored in the memory:
  • the face to be processed is subjected to face recognition to obtain a face image.
  • the face information includes a face area, a face position, and a face angle.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • a plurality of face images are generated in accordance with the storage order of the plurality of face images.
  • a plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
  • a plurality of face images are generated in accordance with the user's selection order.
  • generating a motion map from the plurality of face images includes at least one of the following:
  • generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
  • the method further includes: identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier.
  • Comparing the face information of the plurality of face images, determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine whether the plurality of face images are Continuous shooting images.
  • the method further includes: if the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier. Send the face image of the face map to the computer device corresponding to the contact.
  • the method further includes: acquiring a plurality of face images selected by the user, and generating a plurality of face images according to the user's selection order.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as an external cache.
  • RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM Link (Synchlink) DRAM
  • SLDRAM Memory Bus
  • Rambus Direct RAM
  • RDRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

Provided is an image processing method, comprising: performing human face recognition on an image to be processed, to obtain a face image; obtaining face information of said face image, said face information comprising face surface area, face position, and face angle; comparing the face information of a plurality of face images, and determining whether said plurality of face images are continuously-captured images; if the plurality of face images are continuously-captured images, then generating a moving image according to the plurality of face images.

Description

图像处理方法、计算机设备和计算机可读存储介质Image processing method, computer device, and computer readable storage medium
相关申请的交叉引用Cross-reference to related applications
本申请要求于2017年11月29日提交中国专利局、申请号为201711225296.7、发明名称为“图像处理方法、装置、计算机设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 200911225296.7, entitled "Image Processing Method, Apparatus, Computer Device, and Computer Readable Storage Medium", filed on November 29, 2017, the entire contents of which are incorporated herein by reference. This is incorporated herein by reference.
技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种图像处理方法、计算机设备和计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to an image processing method, a computer device, and a computer readable storage medium.
背景技术Background technique
随着智能计算机设备的迅速发展,越来越多的用户采用智能计算机设备进行拍照。智能计算机设备中对图像的处理功能也越来越全面化和多样化,例如,智能计算机设备可对图像进行色彩调整、亮度调整、对比度调整和饱和度调整等、从图像中抠除部分区域等。With the rapid development of smart computer devices, more and more users are taking pictures with smart computer devices. The processing functions of images in intelligent computer devices are becoming more and more comprehensive and diverse. For example, smart computer devices can perform color adjustment, brightness adjustment, contrast adjustment, saturation adjustment, etc. on images, and remove some areas from the image. .
发明内容Summary of the invention
本申请实施例提供一种图像处理方法、计算机设备和计算机可读存储介质。An embodiment of the present application provides an image processing method, a computer device, and a computer readable storage medium.
一种图像处理方法,包括:An image processing method comprising:
对待处理图像进行人脸识别,获取人脸图像;Face recognition is performed on the image to be processed to obtain a face image;
获取所述人脸图像的人脸信息,所述人脸信息包括人脸面积、人脸位置和人脸角度;Obtaining face information of the face image, where the face information includes a face area, a face position, and a face angle;
将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像;Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images;
若所述多张人脸图像为连拍图像,根据所述多张人脸图像生成动图。If the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行如下操作:A computer device comprising a memory and a processor, the memory storing computer readable instructions, the instructions being executed by the processor, causing the processor to perform the following operations:
对待处理图像进行人脸识别,获取人脸图像;Face recognition is performed on the image to be processed to obtain a face image;
获取所述人脸图像的人脸信息,所述人脸信息包括人脸面积、人脸位置和人脸角度;Obtaining face information of the face image, where the face information includes a face area, a face position, and a face angle;
将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像;Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images;
若所述多张人脸图像为连拍图像,根据所述多张人脸图像生成动图。If the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下操作:A computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to:
对待处理图像进行人脸识别,获取人脸图像;Face recognition is performed on the image to be processed to obtain a face image;
获取所述人脸图像的人脸信息,所述人脸信息包括人脸面积、人脸位置和人脸角度;Obtaining face information of the face image, where the face information includes a face area, a face position, and a face angle;
将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像;Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images;
若所述多张人脸图像为连拍图像,根据所述多张人脸图像生成动图。If the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1为一个实施例中图像处理方法的流程图;1 is a flow chart of an image processing method in an embodiment;
图2为另一个实施例中图像处理方法的流程图;2 is a flow chart of an image processing method in another embodiment;
图3为另一个实施例中图像处理方法的流程图;3 is a flow chart of an image processing method in another embodiment;
图4为另一个实施例中图像处理方法的流程图;4 is a flow chart of an image processing method in another embodiment;
图5为一个实施例中多张人脸图像生成动图的示意图;FIG. 5 is a schematic diagram of a plurality of face image generation moving images in an embodiment; FIG.
图6为一个实施例中图像处理装置的结构框图;Figure 6 is a block diagram showing the structure of an image processing apparatus in an embodiment;
图7为另一个实施例中图像处理装置的结构框图;Figure 7 is a block diagram showing the structure of an image processing apparatus in another embodiment;
图8为另一个实施例中图像处理装置的结构框图;Figure 8 is a block diagram showing the structure of an image processing apparatus in another embodiment;
图9为与本申请实施例提供的计算机设备相关的手机的部分结构的框图。FIG. 9 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
图1为一个实施例中图像处理方法的流程图。如图1所示,一种图像处理方法,包括:1 is a flow chart of an image processing method in one embodiment. As shown in FIG. 1, an image processing method includes:
操作102,对待处理图像进行人脸识别,获取人脸图像。In operation 102, face recognition is performed on the image to be processed, and a face image is acquired.
计算机设备可采用人脸识别算法对待处理图像进行人脸识别,检测上述待处理图像中是否存在人脸,若上述待处理图像中存在人脸,则上述待处理图像为人脸图像。上述待处理图像可为计算机设备拍摄获取的图像、计算机设备存储的图像和计算设备通过数据网络或无线局域网下载的图像。The computer device may use the face recognition algorithm to perform face recognition on the image to be processed, and detect whether there is a face in the image to be processed. If there is a face in the image to be processed, the image to be processed is a face image. The image to be processed may be an image captured by a computer device, an image stored by the computer device, and an image downloaded by the computing device via a data network or a wireless local area network.
操作104,获取人脸图像的人脸信息,人脸信息包括人脸面积、人脸位置和人脸角度。Operation 104: Acquire face information of a face image, and the face information includes a face area, a face position, and a face angle.
计算机设备在获取人脸图像后,可获取上述人脸图像的人脸信息。上述人脸信息包括:人脸面积、人脸位置和人脸角度。上述人脸面积即人脸区域占图像的面积,可用人脸区域的像素个数或人脸区域占图像的比例表示。上述人脸位置即为人脸区域在图像中的位置,可用人脸区域的像素坐标表示,例如第3行第3列的像素。人脸角度是指人脸相对于标准人脸在三维空间中的旋转角度,上述旋转角度可用空间直角坐标系中三个相互垂直的平面内角度来表示。在三维空间中将3条相互垂直的直线相交于一点可形成一个空间直角坐标系,空间直角坐标系中三个平面两两垂直,计算机设备可获取人脸相对于标准人脸在每个平面内的偏移角度,人脸在上述三个平面内相对于标准人脸的偏移角度即为人脸角度。上述标准人脸是计算机设备预存的人脸,可为计算机设备合成的人脸或用户设置的人脸。例如,上述标准人脸可为用户正对摄像头拍摄获取的图像中人脸。After acquiring the face image, the computer device can obtain the face information of the face image. The above face information includes: face area, face position, and face angle. The above-mentioned face area, that is, the face area occupies the area of the image, and can be represented by the number of pixels of the face area or the proportion of the face area to the image. The above-mentioned face position is the position of the face area in the image, and can be represented by the pixel coordinates of the face area, for example, the pixels of the third row and the third column. The face angle refers to the angle of rotation of the face relative to the standard face in three-dimensional space, and the above-mentioned angle of rotation can be represented by three mutually perpendicular in-plane angles in the space rectangular coordinate system. In the three-dimensional space, three perpendicular lines intersect each other to form a spatial rectangular coordinate system. The three planes in the space rectangular coordinate system are perpendicular to each other. The computer device can obtain the face in each plane relative to the standard face. The offset angle of the face relative to the standard face in the above three planes is the face angle. The standard face mentioned above is a face that is pre-stored by the computer device, and can be a face that is synthesized by the computer device or a face set by the user. For example, the above standard face may be a face in an image obtained by the user who is photographing the camera.
当上述人脸图像中存在多个人脸时,计算机设备可通过多个人脸的人脸信息对上述多个人脸进行筛选。计算机设备对上述多个人脸进行筛选的方法可包括以下方法中至少一种:When there are multiple faces in the face image, the computer device may filter the plurality of faces by using face information of the plurality of faces. The method for the computer device to screen the plurality of faces may include at least one of the following methods:
(1)计算机设备分别获取上述多个人脸的人脸面积,获取最大人脸面积,以最大人脸面积为基准,选取预设比例范围内的人脸面积对应的人脸。例如,选取人脸面积大于最大人脸面积80%的人脸。(1) The computer device separately obtains the face area of the plurality of faces, obtains the maximum face area, and selects the face corresponding to the face area within the preset ratio range based on the maximum face area. For example, a face whose face area is larger than 80% of the maximum face area is selected.
(2)计算机设备检测人脸的人脸位置是否在预设位置内,上述预设位置可为图像的中心区域。计算机设备可检测人脸区域是否在上述中心区域内,再选取人脸区域在上述中心区域内的人脸。若人脸区域中部分区域在上述中心区域内,计算机设备可计算在中心区域内的人脸区域占总人脸区域的面积比值,若上述比值大于预设阈值,则选取上述人脸区域。例如,若人脸区域落入中心区域的面积占人脸区域总面积的60%以上,则选取上述人脸区域。(2) The computer device detects whether the face position of the face is within the preset position, and the preset position may be a central area of the image. The computer device can detect whether the face area is within the central area, and then select a face whose face area is within the central area. If a part of the area in the face area is in the central area, the computer device may calculate an area ratio of the face area in the central area to the total face area. If the ratio is greater than a preset threshold, the face area is selected. For example, if the area of the face region falling into the center area accounts for more than 60% of the total area of the face area, the above-mentioned face area is selected.
(3)计算机设备可接收用户对人脸图像中人脸的选取指令,根据上述选取指令从人脸图像中选取人脸。(3) The computer device can receive a user's selection instruction for the face in the face image, and select a face from the face image according to the above selection instruction.
操作106,将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。In operation 106, the face information of the plurality of face images is compared to determine whether the plurality of face images are continuous shooting images.
计算机设备在获取到多张人脸图像后,可将多张人脸图像的人脸信息分别进行对比, 检测上述多张人脸图像是否为连拍图像。连拍图像是指从同一方向、同一角度不间断拍摄同一场景获取的图像。After acquiring the plurality of face images, the computer device may separately compare the face information of the plurality of face images to detect whether the plurality of face images are continuous shooting images. A continuous shooting image refers to an image obtained by continuously capturing the same scene from the same direction and at the same angle.
计算机设备将多张人脸图像的人脸信息进行对比的操作包括:The operation of comparing the face information of the plurality of face images by the computer device includes:
(1)计算机设备获取上述人脸图像中人脸对应的人脸标识。上述人脸标识是用于唯一标识人脸的字符串,可为数字、字母、符号等。(1) The computer device acquires the face identifier corresponding to the face in the face image. The above-mentioned face identifier is a character string for uniquely identifying a face, and may be a number, a letter, a symbol, or the like.
(2)计算机设备可将多张人脸图像中两张图像进行比较,将两张图像的人脸信息进行对比,包括:(2) The computer device can compare two images in multiple face images, and compare the face information of the two images, including:
检测两张图像中同一人脸标识对应的人脸的人脸面积是否相差在第一阈值内。例如,检测两张图像中同一人脸标识对应的人脸的人脸面积是否相差在5%的范围内,即一张图像中人脸面积是另一张图像中人脸面积的95%~105%的范围内。It is detected whether the face area of the face corresponding to the same face identifier in the two images is within a first threshold. For example, detecting whether the face area of the face corresponding to the same face identifier in the two images is within a range of 5%, that is, the face area in one image is 95% to 105 of the face area in the other image. %In the range.
若两张图像中同一人脸标识对应的人脸的人脸面积相差在第一阈值内,再检测上述两张图像中同一人脸标识对应的人脸的人脸位置是否相同。计算机设备在识别出图像中人脸后,可截取包含上述人脸的矩形框,将两张图像重叠对齐后,若另一张图像中人脸也落入上述矩形框内,则两张图像中人脸的人脸位置相同。其中,上述矩形框的大小可根据人脸面积大小调整。If the face areas of the faces corresponding to the same face identifier in the two images are within a first threshold, the face positions of the faces corresponding to the same face identifier in the two images are detected to be the same. After recognizing the face in the image, the computer device can intercept the rectangular frame including the face, and after the two images are overlapped and aligned, if the face in the other image also falls into the rectangular frame, the two images are in the two images. The face of the face is the same. The size of the rectangular frame can be adjusted according to the size of the face.
若两张图像中同一人脸标识对应的人脸的人脸面积相差在第一阈值内,且人脸位置相同,再检测人脸角度是否相差在第二阈值内。计算机设备在连拍图像时,连拍图像的时间差通常很短,例如0.2秒。因此,在人脸转动时拍摄的连拍图像相邻两张图像中人脸角度的变化值较小。计算机设备可分别获取两张图像中人脸角度,上述人脸角度为空间直角坐标系中三个平面的角度。计算机设备分别比较上述三个平面的角度相差是否在第二阈值内,例如10°。若人脸角度在第二阈值内,可判定上述两张人脸图像为连拍图像。If the face areas of the faces corresponding to the same face identifier in the two images are within a first threshold and the face positions are the same, it is detected whether the face angles are within a second threshold. When a computer device continuously captures an image, the time difference of the continuous shooting image is usually very short, for example, 0.2 seconds. Therefore, the change value of the face angle in the two adjacent images of the continuous shooting image taken when the face is rotated is small. The computer device can separately obtain the face angles of the two images, and the face angles are the angles of the three planes in the space rectangular coordinate system. The computer device compares whether the angular differences of the above three planes are within a second threshold, for example 10°. If the face angle is within the second threshold, it can be determined that the two face images are continuous shooting images.
(3)计算机设备可根据两两图像为连拍图像来识别多张图像是否为连拍图像。例如,A图像与B图像为连拍图像,B图像与C图像为连拍图像,则A图像、B图像和C图像为连拍图像。(3) The computer device can recognize whether the plurality of images are continuous shooting images according to the two-two images as continuous shooting images. For example, the A image and the B image are continuous shooting images, and the B image and the C image are continuous shooting images, and the A image, the B image, and the C image are continuous shooting images.
操作108,若多张人脸图像为连拍图像,根据多张人脸图像生成动图。In operation 108, if a plurality of face images are continuous shooting images, motion pictures are generated according to the plurality of face images.
在获取到多张人脸图像中连拍图像后,计算机设备可根据多张人脸图像生成动图。上述生成动图的方式即为将多张人脸图像连续播放,即可得到动图。例如,计算机设备可将多张人脸图像生成GIF(Graphics Interchange Format,图像互换格式)图。计算机设备可将得到的动图存储于预设路径的文件夹中,上述预设路径的文件夹可为计算机设备预设也可为用户设置,例如系统相册文件夹中、第三方应用程序的文件夹中如QQ的表情包文件夹中。After acquiring the continuous shooting images in the plurality of face images, the computer device can generate the motion map according to the plurality of face images. The above method for generating an animation is to continuously play a plurality of face images to obtain a motion picture. For example, a computer device can generate a GIF (Graphics Interchange Format) image from a plurality of face images. The computer device can store the obtained animation in a folder of a preset path, and the folder of the preset path can be preset by the computer device or set by the user, for example, a file in a system album folder and a third-party application. In the folder like QQ's emoticon folder.
本申请实施例中方法,计算机设备可获取人脸图像的连拍图像生成动图,无需用户手动操作,简化了用户的操作操作,提高了动图的生成效率。In the method of the embodiment of the present application, the computer device can acquire a continuous image generation moving image of the face image, which does not require manual operation by the user, simplifies the operation operation of the user, and improves the generation efficiency of the moving image.
在一个实施例中,计算机设备在确定多张人脸图像是否为连拍图像时,在两张图像中同一人脸标识对应的人脸的人脸面积相差在第一阈值内,且人脸位置相同,人脸角度在第二阈值内之后,还可检测多张人脸图像中每两张图像的亮度值之差是否在第三阈值范围内。若两张图像的亮度值之差在第三阈值范围内,则判定两张图像为连拍图像。由于连拍图像拍摄时间较短,图像的亮度值变化较小,通过图像亮度值的差值可进一步判断图像是否为连拍图像。In an embodiment, when determining whether the plurality of face images are continuous shooting images, the face area of the face corresponding to the same face identifier in the two images is within a first threshold, and the face position is Similarly, after the face angle is within the second threshold, it is also possible to detect whether the difference between the brightness values of each of the two images in the plurality of face images is within a third threshold range. If the difference between the luminance values of the two images is within the third threshold range, it is determined that the two images are continuous shooting images. Since the continuous shooting image shooting time is short and the brightness value of the image changes little, the difference between the image brightness values can further determine whether the image is a continuous shooting image.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照多张人脸图像的存储顺序将多张人脸图像生成动图。(1) A plurality of face images are generated in accordance with the storage order of the plurality of face images.
(2)按照多张人脸图像的拍摄时间顺序将多张人脸图像生成动图。(2) A plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
(3)根据人脸角度确定多张人脸图像的排列顺序,根据排列顺序将多张人脸图像生成动图。(3) Determine the order of arrangement of the plurality of face images according to the face angle, and generate a motion map for the plurality of face images according to the arrangement order.
(4)根据用户的选择顺序将多张人脸图像生成动图。(4) A plurality of face images are generated in accordance with the user's selection order.
计算机设备在将多张人脸图像生成动图时,可按照指定的顺序将多张人脸图像连续播放。上述指定的顺序可为多张人脸图像的存储顺序,即计算机设备将多张人脸图像按照存储顺序由先到后连续播放生成动图。计算机设备也可获取多张人脸图像中每张人脸图像的拍摄时间,按照拍摄时间由早到晚的顺序连续播放上述多张人脸图像,即可生成动图。计算机设备还接收用户对多张人脸图像的选择顺序,按照用户的选择顺序连续播放上述多张人脸图像,即可得到动图。计算机设备还可获取上述多张人脸图像中每张图像中人脸角度,计算机设备可选取拍摄时间最早的图像作为起始图像,再将其他图像相对于起始图像人脸角度变化值由小到大的顺序排列,按照排列顺序依次播放起始图像与其他图像生成动图。When a computer device generates a moving image of a plurality of face images, the plurality of face images can be continuously played in a specified order. The order specified above may be a storage order of a plurality of face images, that is, the computer device generates a moving image by continuously playing a plurality of face images in a storage order from first to last. The computer device can also acquire the shooting time of each face image in the plurality of face images, and continuously play the plurality of face images in the order from the morning to the night according to the shooting time, thereby generating the motion picture. The computer device also receives the user's selection order of the plurality of face images, and continuously plays the plurality of face images in the user's selection order to obtain the motion picture. The computer device can also obtain the face angle in each image of the plurality of face images, and the computer device can select the image with the earliest shooting time as the starting image, and then change the angle of the other image relative to the starting image face angle. Arrange in a large order, and play the start image and other images in sequence to generate a motion picture.
本申请实施例中方法,计算机设备可根据多个顺序来播放人脸图像生成动图,生成动图的方式更加多样化,有利于提高用户粘性。In the method of the embodiment of the present application, the computer device can generate a moving image according to a plurality of sequences to generate a moving image, and the method for generating the moving image is more diversified, which is beneficial to improving user stickiness.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照预设的第一时间间隔将多张人脸图像连续播放得到动图。(1) Continuously playing a plurality of face images according to a preset first time interval to obtain a motion picture.
(2)根据多张人脸图像的张数确定第二时间间隔,按照第二时间间隔将多张人脸图像连续播放得到动图。(2) determining a second time interval according to the number of sheets of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a motion picture.
(3)获取对每张人脸图像分别设定的第三时间间隔,根据第三时间间隔将多张人脸图像连续播放得到动图。(3) Acquiring a third time interval respectively set for each face image, and continuously playing a plurality of face images according to the third time interval to obtain a motion picture.
计算机设备预设有第一时间间隔,上述第一时间间隔可为计算机设备设置的值也可为用户预设的值,计算机设备可按照上述第一时间间隔依次播放多张人脸图像生成动图。例如,计算机设备按照0.5秒的间隔依次播放多张人脸图像。计算机设备也可预存图像的张数与播放时间间隔的对应关系,计算机设备可根据多张人脸图像的张数确定第二时间间隔。上述对应关系可为线性关系或非线性关系。例如,当多张人脸图像的张数为10张时,第二时间间隔为0.5秒;当多张人脸图像的张数为5张时,第二时间间隔为1秒。计算机设备还可接收用户对每张人脸图像设定的播放时间间隔,即用户可对每张人脸图像设定对应的第三时间间隔,其中不同图像对应的第三时间间隔可相同或不同。计算机再根据人脸图像对应的第三时间间隔依次播放上述多张人脸图像即可得到动图。The computer device is pre-configured with a first time interval, and the first time interval may be a value set by the computer device or a preset value of the user, and the computer device may sequentially play multiple face images to generate a motion image according to the first time interval. . For example, a computer device sequentially plays a plurality of face images at intervals of 0.5 seconds. The computer device can also pre-store the correspondence between the number of images and the playing time interval, and the computer device can determine the second time interval according to the number of the plurality of face images. The above correspondence may be a linear relationship or a non-linear relationship. For example, when the number of sheets of the plurality of face images is 10, the second time interval is 0.5 seconds; when the number of sheets of the plurality of face images is five, the second time interval is 1 second. The computer device can also receive a playing time interval set by the user for each face image, that is, the user can set a corresponding third time interval for each face image, wherein the third time interval corresponding to the different images can be the same or different. . The computer then sequentially plays the plurality of face images according to the third time interval corresponding to the face image to obtain a motion picture.
本申请实施例中方法,计算机设备可根据多个时间间隔来播放多张人脸图像,即生成动图的方式可多样化,有利于提高用户粘性。In the method of the embodiment of the present application, the computer device can play multiple face images according to multiple time intervals, that is, the manner of generating the motion picture can be diversified, which is beneficial to improve user stickiness.
在一个实施例中,根据多张人脸图像生成动图包括:从多张人脸图像中分别提取人脸区域图像,将多张人脸图像中人脸区域图像连续播放得到动图。In one embodiment, generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
计算机设备在获取人脸图像后,可进一步识别上述人脸图像中人脸区域,按照人脸区域的人脸轮廓提取人脸区域图像。计算机设备可通过肤色识别获取人脸区域,在通过人脸区域与背景区域的色差确定人脸轮廓。计算机设备也可通过机器学习模型识别人脸图像中人脸区域,再识别人脸区域的人脸轮廓,并按照人脸轮廓提取人脸区域图像。计算机设备在提取人脸区域图像后在生成动图时,可直接将每张人脸图像对应的人脸区域图像连续播放生成动图。After acquiring the face image, the computer device may further identify the face region in the face image, and extract the face region image according to the face contour of the face region. The computer device can acquire the face region through the skin color recognition, and determine the face contour by the color difference between the face region and the background region. The computer device can also recognize the face region in the face image through the machine learning model, recognize the face contour of the face region, and extract the face region image according to the face contour. After the computer device extracts the image of the face region, when the motion image is generated, the image of the face region corresponding to each face image can be directly played to generate a motion picture.
本申请实施例中方法,计算机设备可从人脸图像中提取人脸区域图像,再将人脸区域图像依次播放得到动图,即计算机设备在生成动图时,可去除图像中背景区域,仅根据图像中人脸区域生成动图,生成动图的方式更加贴合用户需求。In the method of the embodiment of the present application, the computer device may extract the face region image from the face image, and then sequentially play the face region image to obtain a motion picture, that is, the computer device may remove the background region in the image when generating the motion picture, only According to the face area generated in the image, the method of generating the moving picture is more suitable for the user's needs.
在一个实施例中,在操作108之后,还包括:In one embodiment, after operation 108, the method further includes:
操作110,识别人脸图像对应的人脸标识,根据人脸标识对人脸图像聚类,生成人脸标识对应的人脸图集。In operation 110, the face identifier corresponding to the face image is identified, and the face image is clustered according to the face identifier to generate a face map corresponding to the face identifier.
操作106中将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像包括:将同一图集中多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。In operation 106, the face information of the plurality of face images is compared, and determining whether the plurality of face images are continuous shooting images comprises: comparing face information of multiple face images in the same image set to determine multiple face faces. Whether the image is a continuous shooting image.
计算机设备可获取人脸图像中主人脸对应的人脸标识,上述主人脸即为图像中主要的 人脸。通常情况下,主人脸可包括在图像预设区域内的人脸,例如在图像中心区域内的人脸;主人脸也可包括在图像内人脸面积大于指定值的人脸,例如在图像中人脸面积大于图像面积10%的人脸。计算机设备可按照主人脸对应的人脸标识对多张人脸图像进行聚类,生成上述人脸标识对应人脸的图集。计算机设备在确定多张人脸图像是否为连拍图像时,可从一个图像中选取多张图像,检测上述多张人脸图像是否为连拍图像,即计算机设备将同一图集中多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。其中,检测多张图像是否为连拍图像的方法与操作206中方法相同,在此不再赘述。The computer device can obtain a face identifier corresponding to the master face in the face image, and the master face is the main face in the image. Generally, the master face may include a face in the image preset area, for example, a face in the center of the image; the master face may also include a face whose face area is larger than a specified value in the image, for example, in an image. A face whose face area is larger than 10% of the image area. The computer device may cluster the plurality of face images according to the face identifier corresponding to the owner's face, and generate the atlas of the face corresponding to the face identifier. When determining whether the plurality of face images are continuous shooting images, the computer device may select multiple images from one image to detect whether the plurality of face images are continuous shooting images, that is, the computer device sets multiple faces in the same image set. The face information of the image is compared to determine whether the plurality of face images are continuous shooting images. The method for detecting whether a plurality of images are continuous shooting images is the same as the method in operation 206, and details are not described herein again.
本申请实施例中方法,计算机设备从同一人脸标识对应的人脸图集中选取多张人脸图像,判断上述多张人脸图像是否为连拍图像,即计算机设备可从同一人脸的图集中选取多张人脸图像,识别上述多张人脸图像是否为连拍图像,使得检测的连拍图像更加准确。In the method of the embodiment of the present application, the computer device selects multiple face images from the face map set corresponding to the same face identifier, and determines whether the plurality of face images are continuous shooting images, that is, the computer device can be from the same face. A plurality of face images are collectively selected to identify whether the plurality of face images are continuous shooting images, so that the detected continuous shooting images are more accurate.
在一个实施例中,在操作110之后,还包括:In one embodiment, after operation 110, the method further includes:
操作112,若计算机设备中已存储与人脸标识对应的联系人信息,获取人脸标识对应的人脸图集。In operation 112, if the contact information corresponding to the face identifier is stored in the computer device, the face map corresponding to the face identifier is obtained.
操作114,将人脸图集中人脸图像发送给联系人对应的计算机设备。In operation 114, the face image of the face map is sent to the computer device corresponding to the contact.
计算机设备可查找人脸标识对应的联系人信息,包括:The computer device can find contact information corresponding to the face identifier, including:
(1)计算机设备获取用户输入的对人脸图像中人脸的标记信息,上述标记信息可为人脸对应的人名,计算机设备查找已存储联系人中是否存在人脸对应的人名,若已存储联系人中存在人脸对应的人名,则计算机设备获取人脸对应的联系人。(1) The computer device obtains the tag information of the face in the face image input by the user, the tag information may be the name of the person corresponding to the face, and the computer device searches for the name of the person corresponding to the face in the stored contact, if the contact has been stored If there is a person name corresponding to the face in the person, the computer device acquires the contact corresponding to the face.
(2)计算机设备也可获取已存储联系人对应的头像,计算机设备将人脸标识对应的人脸与已存储联系人对应的头像进行相似度匹配,若匹配成功,则上述联系人为人脸区域对应的联系人。(2) The computer device can also obtain the avatar corresponding to the stored contact, and the computer device matches the face corresponding to the face identifier with the avatar corresponding to the stored contact, and if the matching is successful, the contact is the face region. Corresponding contact.
计算机设备在获取到人脸标识对应的联系人后,可查找人脸标识对应的联系人是否有已存储的联系人信息。上述联系人信息可为手机号码、座机号码、社交账号等。当计算机设备已存储上述联系人的联系人信息,则计算机设备将人脸标识对应的人脸图集发送给上述联系人对应的计算机设备。After obtaining the contact corresponding to the face identifier, the computer device can find whether the contact corresponding to the face identifier has stored contact information. The above contact information may be a mobile phone number, a landline number, a social account number, and the like. When the computer device has stored the contact information of the contact, the computer device sends the face map corresponding to the face identifier to the computer device corresponding to the contact.
本申请实施例中方法,计算机设备可将人脸对应的人脸图集发送给对应的联系人,无需用户手动一张张发送图像,简化了用户的操作操作,分享图像的方法更加智能,更贴合用户的需求。In the method of the embodiment of the present application, the computer device can send the face map corresponding to the face to the corresponding contact, without the user manually sending the image one by one, simplifying the operation operation of the user, and the method of sharing the image is more intelligent and more Meet the needs of users.
在一个实施例中,一种图像处理方法包括:In one embodiment, an image processing method includes:
操作402,对待处理图像进行人脸识别,获取人脸图像。 Operation 402, performing face recognition on the image to be processed, and acquiring a face image.
操作404,获取用户选取的多张人脸图像,根据用户的选择顺序将多张人脸图像生成动图。Operation 404: acquiring a plurality of face images selected by the user, and generating a motion image of the plurality of face images according to the user's selection order.
计算机设备还可获取用户选取的多张人脸图像,并根据用户选取上述多张人脸图像的顺序来依次播放上述多张人脸图像生成动图,即计算机设备可根据用户的选择顺序将多张人脸图像生成动图。上述用户选取的多张人脸图像可为连拍图像,也可为非连拍图像;上述用户选取的多张人脸图像可为同一人脸标识对应的人脸图像,也可为不同人脸标识对应的人脸图像。The computer device can also acquire a plurality of face images selected by the user, and sequentially play the plurality of face images according to the order in which the user selects the plurality of face images, that is, the computer device can be more according to the user's selection order. A face image is generated to generate a motion picture. The plurality of face images selected by the user may be a continuous shooting image or a non-continuous shooting image; the plurality of face images selected by the user may be the face images corresponding to the same face identifier, or may be different faces. Identify the corresponding face image.
本申请实施例中方法,计算机设备可直接获取用户选取的多张图像,根据用户选取的多张图像生成动图,生成动图的方式简单快捷,贴合用户需求。In the method of the embodiment of the present application, the computer device can directly acquire multiple images selected by the user, and generate a motion image according to multiple images selected by the user, and the method for generating the motion image is simple and fast, and fits the user's needs.
图5为一个实施例中多张人脸图像生成动图的示意图。如图5所示,图像502、图像504、图像506、图像508和图像510均为人脸图像,且上述5张人脸图像为连拍图像。计算机设备可分别获取上述5张人脸图像的拍摄时刻,其中,图像502拍摄时刻为2017年10月28日10:25:06,图像504拍摄时刻为2017年10月28日10:25:07,图像506拍摄时刻为2017年10月28日10:25:08,图像508拍摄时刻为2017年10月28日10:25:09,图像510拍摄时刻为2017年10月28日10:25:10。则计算机设备按照拍摄时刻的先后顺 序对上述5张人脸图像排序为图像502、图像504、图像506、图像508、图像510。计算机设备可将上述5张人脸图像按排序的顺序连续播放,即可生成动图。计算机设备在将5张人脸图像连续播放时,可按照预设的第一时间间隔将5张人脸图像连续播放,如按照0.5秒的时间间隔将5张人脸图像连续播放,即图像502与图像504之间的时间间隔为t1为0.5秒,图像504与图像506之间的时间间隔为t2为0.5秒,图像506与图像508之间的时间间隔为t3为0.5秒,图像506与图像508之间的时间间隔为t4为0.5秒。FIG. 5 is a schematic diagram of a plurality of face image generation motion diagrams in one embodiment. As shown in FIG. 5, the image 502, the image 504, the image 506, the image 508, and the image 510 are all face images, and the above five face images are continuous shooting images. The computer device can separately acquire the shooting moments of the above five facial images, wherein the image 502 is taken at 10:25:06 on October 28, 2017, and the image 504 is taken at 10:25:07 on October 28, 2017. Image 506 is taken at 10:25:08 on October 28, 2017, image 508 is taken at 10:25:09 on October 28, 2017, and image 510 is taken at 10:25 on October 28, 2017: 10. Then, the computer device sorts the five face images into the image 502, the image 504, the image 506, the image 508, and the image 510 in the order of the shooting time. The computer device can continuously play the above five face images in the order of sorting, and generate an animation. When the five face images are continuously played, the computer device can continuously play five face images according to the preset first time interval, for example, five face images are continuously played according to a time interval of 0.5 seconds, that is, the image 502 The time interval from image 504 is t1 is 0.5 seconds, the time interval between image 504 and image 506 is t2 is 0.5 seconds, and the time interval between image 506 and image 508 is t3 is 0.5 seconds, image 506 and image The time interval between 508 is t4 of 0.5 seconds.
图6为一个实施例中图像处理装置的结构框图。如图6所示,一种图像处理装置,包括:Fig. 6 is a block diagram showing the structure of an image processing apparatus in an embodiment. As shown in FIG. 6, an image processing apparatus includes:
识别模块602,用于对待处理图像进行人脸识别,获取人脸图像;An identification module 602, configured to perform face recognition on the image to be processed, and obtain a face image;
获取模块604,用于获取人脸图像的人脸信息,人脸信息包括人脸面积、人脸位置和人脸角度;The obtaining module 604 is configured to obtain face information of the face image, where the face information includes a face area, a face position, and a face angle;
对比模块606,用于将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像;The comparison module 606 is configured to compare the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images;
处理模块608,用于若多张人脸图像为连拍图像,根据多张人脸图像生成动图。The processing module 608 is configured to generate a motion map according to the plurality of face images if the plurality of face images are continuous shooting images.
在一个实施例中,处理模块608根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, the processing module 608 generates a motion map according to the plurality of facial images, including at least one of the following:
(1)按照多张人脸图像的存储顺序将多张人脸图像生成动图;(1) generating a moving image of a plurality of face images according to a storage order of the plurality of face images;
(2)按照多张人脸图像的拍摄时间顺序将多张人脸图像生成动图;(2) generating a moving image of a plurality of face images in accordance with the shooting time sequence of the plurality of face images;
(3)根据人脸角度确定多张人脸图像的排列顺序,根据排列顺序将多张人脸图像生成动图;(3) determining an arrangement order of the plurality of face images according to the face angle, and generating a motion map of the plurality of face images according to the arrangement order;
(4)根据用户的选择顺序将多张人脸图像生成动图。(4) A plurality of face images are generated in accordance with the user's selection order.
在一个实施例中,处理模块608根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, the processing module 608 generates a motion map according to the plurality of facial images, including at least one of the following:
(1)按照预设的第一时间间隔将多张人脸图像连续播放得到动图;(1) continuously playing a plurality of face images according to a preset first time interval to obtain a moving picture;
(2)根据多张人脸图像的张数确定第二时间间隔,按照第二时间间隔将多张人脸图像连续播放得到动图;(2) determining a second time interval according to the number of sheets of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a moving picture;
(3)获取对每张人脸图像分别设定的第三时间间隔,根据第三时间间隔将多张人脸图像连续播放得到动图。(3) Acquiring a third time interval respectively set for each face image, and continuously playing a plurality of face images according to the third time interval to obtain a motion picture.
在一个实施例中,处理模块608根据多张人脸图像生成动图包括:从多张人脸图像中分别提取人脸区域图像,将多张人脸图像中人脸区域图像连续播放得到动图。In one embodiment, the processing module 608 generates a motion image according to the plurality of face images, including: extracting a face region image from the plurality of face images, and continuously playing the face region image in the plurality of face images to obtain a motion map. .
在一个实施例中,处理模块608还用于获取用户选取的多张人脸图像,根据用户的选择顺序将多张人脸图像生成动图。In one embodiment, the processing module 608 is further configured to acquire a plurality of face images selected by the user, and generate a motion image by using the plurality of face images according to the user's selection order.
图7为另一个实施例中图像处理装置的结构框图。如图7所示,一种图像处理装置,包括:识别模块702、获取模块704、对比模块706、处理模块708、聚类模块710。其中,识别模块702、获取模块704、对比模块706、处理模块708与图6中对应的模块功能相同。Fig. 7 is a block diagram showing the structure of an image processing apparatus in another embodiment. As shown in FIG. 7, an image processing apparatus includes: an identification module 702, an acquisition module 704, a comparison module 706, a processing module 708, and a clustering module 710. The identification module 702, the acquisition module 704, the comparison module 706, and the processing module 708 have the same functions as the corresponding modules in FIG. 6.
识别模块702还用于识别人脸图像对应的人脸标识;The identification module 702 is further configured to identify a face identifier corresponding to the face image;
聚类模块710,用于根据人脸标识对人脸图像聚类,生成人脸标识对应的人脸图集;The clustering module 710 is configured to cluster the face image according to the face identifier, and generate a face map corresponding to the face identifier;
对比模块706将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像包括:将同一图集中多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。The comparison module 706 compares the face information of the plurality of face images, and determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine multiple faces Whether the image is a continuous shooting image.
图8为另一个实施例中图像处理装置的结构框图。如图8所示,一种图像处理装置,包括:识别模块802、获取模块804、对比模块806、处理模块808、发送模块810。其中,识别模块802、获取模块804、对比模块808、处理模块808与图5中对应的模块功能相同。Figure 8 is a block diagram showing the structure of an image processing apparatus in another embodiment. As shown in FIG. 8, an image processing apparatus includes: an identification module 802, an acquisition module 804, a comparison module 806, a processing module 808, and a transmission module 810. The identification module 802, the acquisition module 804, the comparison module 808, and the processing module 808 have the same functions as the corresponding modules in FIG.
获取模块804还用于若计算机设备中已存储与人脸标识对应的联系人信息,获取人脸 标识对应的人脸图集;The obtaining module 804 is further configured to: if the contact information corresponding to the face identifier is stored in the computer device, obtain a face map corresponding to the face identifier;
发送模块810,用于将人脸图集中人脸图像发送给联系人对应的计算机设备。The sending module 810 is configured to send the face image of the face map to the computer device corresponding to the contact.
上述图像处理装置中各个模块的划分仅用于举例说明,在其他实施例中,可将图像处理装置按照需要划分为不同的模块,以完成上述图像处理装置的全部或部分功能。The division of each module in the above image processing apparatus is for illustrative purposes only. In other embodiments, the image processing apparatus may be divided into different modules as needed to complete all or part of the functions of the image processing apparatus.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行以下操作:The embodiment of the present application also provides a computer readable storage medium. One or more non-transitory computer readable storage media containing computer executable instructions that, when executed by one or more processors, cause the processor to:
(1)对待处理图像进行人脸识别,获取人脸图像。(1) The face to be processed is subjected to face recognition to obtain a face image.
(2)获取人脸图像的人脸信息,人脸信息包括人脸面积、人脸位置和人脸角度。(2) Obtain face information of the face image, and the face information includes a face area, a face position, and a face angle.
(3)将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。(3) Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images.
(4)若多张人脸图像为连拍图像,根据多张人脸图像生成动图。(4) If a plurality of face images are continuous shooting images, motion pictures are generated based on the plurality of face images.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照多张人脸图像的存储顺序将多张人脸图像生成动图。(1) A plurality of face images are generated in accordance with the storage order of the plurality of face images.
(2)按照多张人脸图像的拍摄时间顺序将多张人脸图像生成动图。(2) A plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
(3)根据人脸角度确定多张人脸图像的排列顺序,根据排列顺序将多张人脸图像生成动图。(3) Determine the order of arrangement of the plurality of face images according to the face angle, and generate a motion map for the plurality of face images according to the arrangement order.
(4)根据用户的选择顺序将多张人脸图像生成动图。(4) A plurality of face images are generated in accordance with the user's selection order.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照预设的第一时间间隔将多张人脸图像连续播放得到动图。(1) Continuously playing a plurality of face images according to a preset first time interval to obtain a motion picture.
(2)根据多张人脸图像的张数确定第二时间间隔,按照第二时间间隔将多张人脸图像连续播放得到动图。(2) determining a second time interval according to the number of sheets of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a motion picture.
(3)获取对每张人脸图像分别设定的第三时间间隔,根据第三时间间隔将多张人脸图像连续播放得到动图。(3) Acquiring a third time interval respectively set for each face image, and continuously playing a plurality of face images according to the third time interval to obtain a motion picture.
在一个实施例中,根据多张人脸图像生成动图包括:从多张人脸图像中分别提取人脸区域图像,将多张人脸图像中人脸区域图像连续播放得到动图。In one embodiment, generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
在一个实施例中,还执行:识别人脸图像对应的人脸标识,根据人脸标识对人脸图像聚类,生成人脸标识对应的人脸图集。将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像包括:将同一图集中多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。In an embodiment, the method further includes: identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier. Comparing the face information of the plurality of face images, determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine whether the plurality of face images are Continuous shooting images.
在一个实施例中,还执行:若计算机设备中已存储与人脸标识对应的联系人信息,获取人脸标识对应的人脸图集。将人脸图集中人脸图像发送给联系人对应的计算机设备。In an embodiment, the method further includes: if the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier. Send the face image of the face map to the computer device corresponding to the contact.
在一个实施例中,还执行:获取用户选取的多张人脸图像,根据用户的选择顺序将多张人脸图像生成动图。In an embodiment, the method further includes: acquiring a plurality of face images selected by the user, and generating a plurality of face images according to the user's selection order.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行以下操作:A computer program product comprising instructions that, when run on a computer, cause the computer to:
(1)对待处理图像进行人脸识别,获取人脸图像。(1) The face to be processed is subjected to face recognition to obtain a face image.
(2)获取人脸图像的人脸信息,人脸信息包括人脸面积、人脸位置和人脸角度。(2) Obtain face information of the face image, and the face information includes a face area, a face position, and a face angle.
(3)将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。(3) Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images.
(4)若多张人脸图像为连拍图像,根据多张人脸图像生成动图。(4) If a plurality of face images are continuous shooting images, motion pictures are generated based on the plurality of face images.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照多张人脸图像的存储顺序将多张人脸图像生成动图。(1) A plurality of face images are generated in accordance with the storage order of the plurality of face images.
(2)按照多张人脸图像的拍摄时间顺序将多张人脸图像生成动图。(2) A plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
(3)根据人脸角度确定多张人脸图像的排列顺序,根据排列顺序将多张人脸图像生成动图。(3) Determine the order of arrangement of the plurality of face images according to the face angle, and generate a motion map for the plurality of face images according to the arrangement order.
(4)根据用户的选择顺序将多张人脸图像生成动图。(4) A plurality of face images are generated in accordance with the user's selection order.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照预设的第一时间间隔将多张人脸图像连续播放得到动图。(1) Continuously playing a plurality of face images according to a preset first time interval to obtain a motion picture.
(2)根据多张人脸图像的张数确定第二时间间隔,按照第二时间间隔将多张人脸图像连续播放得到动图。(2) determining a second time interval according to the number of sheets of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a motion picture.
(3)获取对每张人脸图像分别设定的第三时间间隔,根据第三时间间隔将多张人脸图像连续播放得到动图。(3) Acquiring a third time interval respectively set for each face image, and continuously playing a plurality of face images according to the third time interval to obtain a motion picture.
在一个实施例中,根据多张人脸图像生成动图包括:从多张人脸图像中分别提取人脸区域图像,将多张人脸图像中人脸区域图像连续播放得到动图。In one embodiment, generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
在一个实施例中,还执行:识别人脸图像对应的人脸标识,根据人脸标识对人脸图像聚类,生成人脸标识对应的人脸图集。将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像包括:将同一图集中多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。In an embodiment, the method further includes: identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier. Comparing the face information of the plurality of face images, determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine whether the plurality of face images are Continuous shooting images.
在一个实施例中,还执行:若计算机设备中已存储与人脸标识对应的联系人信息,获取人脸标识对应的人脸图集。将人脸图集中人脸图像发送给联系人对应的计算机设备。In an embodiment, the method further includes: if the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier. Send the face image of the face map to the computer device corresponding to the contact.
在一个实施例中,还执行:获取用户选取的多张人脸图像,根据用户的选择顺序将多张人脸图像生成动图。In an embodiment, the method further includes: acquiring a plurality of face images selected by the user, and generating a plurality of face images according to the user's selection order.
本申请实施例还提供了一种计算机设备。如图9所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该计算机设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以计算机设备为手机为例:The embodiment of the present application also provides a computer device. As shown in FIG. 9 , for the convenience of description, only the parts related to the embodiments of the present application are shown. If the specific technical details are not disclosed, please refer to the method part of the embodiment of the present application. The computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking a computer device as a mobile phone as an example. :
图9为与本申请实施例提供的计算机设备相关的手机的部分结构的框图。参考图9,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(wireless fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图9所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 9 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application. Referring to FIG. 9, the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (WiFi) module 970, and a processor 980. And power supply 990 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 9 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
其中,RF电路910可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器980处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. The downlink information of the base station can be received and processed by the processor 980. The uplink data can also be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.); The data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone. Moreover, memory 920 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元930可用于接收输入的数字或字符信息,以及产生与手机900的用户设 置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控面板931以及其他输入设备932。触控面板931,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上或在触控面板931附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 930 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 900. Specifically, the input unit 930 may include a touch panel 931 and other input devices 932. The touch panel 931, also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 931 or near the touch panel 931. Operation) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 931 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 980 is provided and can receive commands from the processor 980 and execute them. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 931, the input unit 930 may also include other input devices 932. Specifically, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示面板941。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。在一个实施例中,触控面板931可覆盖显示面板941,当触控面板931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图9中,触控面板931与显示面板941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板931与显示面板941集成而实现手机的输入和输出功能。The display unit 940 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 940 can include a display panel 941. In one embodiment, the display panel 941 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In one embodiment, the touch panel 931 can cover the display panel 941. When the touch panel 931 detects a touch operation on or near it, the touch panel 931 transmits to the processor 980 to determine the type of the touch event, and then the processor 980 is The type of touch event provides a corresponding visual output on display panel 941. Although the touch panel 931 and the display panel 941 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 9, in some embodiments, the touch panel 931 and the display panel 941 may be integrated. Realize the input and output functions of the phone.
手机900还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在手机移动到耳边时,关闭显示面板941和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。The handset 900 can also include at least one type of sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may close the display panel 941 and/or when the mobile phone moves to the ear. Or backlight. The motion sensor may include an acceleration sensor, and the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
音频电路960、扬声器961和传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910可以发送给另一手机,或者将音频数据输出至存储器920以便后续处理。 Audio circuitry 960, speaker 961, and microphone 962 can provide an audio interface between the user and the handset. The audio circuit 960 can transmit the converted electrical data of the received audio data to the speaker 961, and convert it into a sound signal output by the speaker 961. On the other hand, the microphone 962 converts the collected sound signal into an electrical signal, and the audio circuit 960 After receiving, it is converted into audio data, and after being processed by the audio data output processor 980, it can be sent to another mobile phone via the RF circuit 910, or the audio data can be output to the memory 920 for subsequent processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了WiFi模块970,但是可以理解的是,其并不属于手机900的必须构成,可以根据需要而省略。WiFi is a short-range wireless transmission technology, and the mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access. Although FIG. 9 shows the WiFi module 970, it can be understood that it does not belong to the essential configuration of the mobile phone 900 and can be omitted as needed.
处理器980是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器980可包括一个或多个处理单元。在一个实施例中,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 920, and invoking data stored in the memory 920, executing The phone's various functions and processing data, so that the overall monitoring of the phone. In one embodiment, processor 980 can include one or more processing units. In one embodiment, the processor 980 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 980.
手机900还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、 以及功耗管理等功能。The handset 900 also includes a power source 990 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 980 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
在一个实施例中,手机900还可以包括摄像头、蓝牙模块等。In one embodiment, the handset 900 can also include a camera, a Bluetooth module, and the like.
在本申请实施例中,该移动终端所包括的处理器980执行存储在存储器上的计算机程序时实现以下操作:In the embodiment of the present application, the processor 980 included in the mobile terminal performs the following operations when executing the computer program stored in the memory:
(1)对待处理图像进行人脸识别,获取人脸图像。(1) The face to be processed is subjected to face recognition to obtain a face image.
(2)获取人脸图像的人脸信息,人脸信息包括人脸面积、人脸位置和人脸角度。(2) Obtain face information of the face image, and the face information includes a face area, a face position, and a face angle.
(3)将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。(3) Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images.
(4)若多张人脸图像为连拍图像,根据多张人脸图像生成动图。(4) If a plurality of face images are continuous shooting images, motion pictures are generated based on the plurality of face images.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照多张人脸图像的存储顺序将多张人脸图像生成动图。(1) A plurality of face images are generated in accordance with the storage order of the plurality of face images.
(2)按照多张人脸图像的拍摄时间顺序将多张人脸图像生成动图。(2) A plurality of face images are generated in accordance with the shooting time sequence of the plurality of face images.
(3)根据人脸角度确定多张人脸图像的排列顺序,根据排列顺序将多张人脸图像生成动图。(3) Determine the order of arrangement of the plurality of face images according to the face angle, and generate a motion map for the plurality of face images according to the arrangement order.
(4)根据用户的选择顺序将多张人脸图像生成动图。(4) A plurality of face images are generated in accordance with the user's selection order.
在一个实施例中,根据多张人脸图像生成动图包括以下情况中至少一种:In one embodiment, generating a motion map from the plurality of face images includes at least one of the following:
(1)按照预设的第一时间间隔将多张人脸图像连续播放得到动图。(1) Continuously playing a plurality of face images according to a preset first time interval to obtain a motion picture.
(2)根据多张人脸图像的张数确定第二时间间隔,按照第二时间间隔将多张人脸图像连续播放得到动图。(2) determining a second time interval according to the number of sheets of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a motion picture.
(3)获取对每张人脸图像分别设定的第三时间间隔,根据第三时间间隔将多张人脸图像连续播放得到动图。(3) Acquiring a third time interval respectively set for each face image, and continuously playing a plurality of face images according to the third time interval to obtain a motion picture.
在一个实施例中,根据多张人脸图像生成动图包括:从多张人脸图像中分别提取人脸区域图像,将多张人脸图像中人脸区域图像连续播放得到动图。In one embodiment, generating a motion image according to the plurality of face images includes: extracting a face region image from the plurality of face images respectively, and continuously playing the face region image in the plurality of face images to obtain a motion map.
在一个实施例中,还执行:识别人脸图像对应的人脸标识,根据人脸标识对人脸图像聚类,生成人脸标识对应的人脸图集。将多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像包括:将同一图集中多张人脸图像的人脸信息进行对比,确定多张人脸图像是否为连拍图像。In an embodiment, the method further includes: identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier. Comparing the face information of the plurality of face images, determining whether the plurality of face images are continuous shooting images comprises: comparing face information of the plurality of face images in the same image set to determine whether the plurality of face images are Continuous shooting images.
在一个实施例中,还执行:若计算机设备中已存储与人脸标识对应的联系人信息,获取人脸标识对应的人脸图集。将人脸图集中人脸图像发送给联系人对应的计算机设备。In an embodiment, the method further includes: if the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier. Send the face image of the face map to the computer device corresponding to the contact.
在一个实施例中,还执行:获取用户选取的多张人脸图像,根据用户的选择顺序将多张人脸图像生成动图。In an embodiment, the method further includes: acquiring a plurality of face images selected by the user, and generating a plurality of face images according to the user's selection order.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database or other medium used herein may include non-volatile and/or volatile memory. Suitable non-volatile memories can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as an external cache. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization. Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (21)

  1. 一种图像处理方法,包括:An image processing method comprising:
    对待处理图像进行人脸识别,获取人脸图像;Face recognition is performed on the image to be processed to obtain a face image;
    获取所述人脸图像的人脸信息,所述人脸信息包括人脸面积、人脸位置和人脸角度;Obtaining face information of the face image, where the face information includes a face area, a face position, and a face angle;
    将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像;及Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images; and
    当所述多张人脸图像为连拍图像,根据所述多张人脸图像生成动图。When the plurality of face images are continuous shooting images, a motion map is generated according to the plurality of face images.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述多张人脸图像生成动图包括以下情况中至少一种:The method according to claim 1, wherein the generating the motion map according to the plurality of face images comprises at least one of the following:
    按照所述多张人脸图像的存储顺序将所述多张人脸图像生成动图;Generating an image of the plurality of face images according to a storage order of the plurality of face images;
    按照所述多张人脸图像的拍摄时间顺序将所述多张人脸图像生成动图;Generating the moving image according to the shooting time sequence of the plurality of face images;
    根据所述人脸角度确定所述多张人脸图像的排列顺序,根据所述排列顺序将所述多张人脸图像生成动图;Determining an arrangement order of the plurality of face images according to the face angle, and generating a motion map according to the arrangement order;
    根据用户的选择顺序将所述多张人脸图像生成动图。The plurality of face images are generated in accordance with a user's selection order.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述多张人脸图像生成动图包括以下情况中至少一种:The method according to claim 1 or 2, wherein the generating the motion map according to the plurality of face images comprises at least one of the following:
    按照预设的第一时间间隔将所述多张人脸图像连续播放得到动图;And continuously playing the plurality of face images according to a preset first time interval to obtain a moving image;
    根据所述多张人脸图像的张数确定第二时间间隔,按照所述第二时间间隔将所述多张人脸图像连续播放得到动图;Determining a second time interval according to the number of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a motion picture;
    获取对每张人脸图像分别设定的第三时间间隔,根据所述第三时间间隔将所述多张人脸图像连续播放得到动图。And acquiring a third time interval respectively set for each face image, and continuously playing the plurality of face images according to the third time interval to obtain a motion picture.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述多张人脸图像生成动图包括:The method according to claim 1, wherein the generating the motion image according to the plurality of face images comprises:
    从所述多张人脸图像中分别提取人脸区域图像,将所述多张人脸图像中人脸区域图像连续播放得到动图。Extracting a face region image from the plurality of face images, and continuously playing the face region image in the plurality of face images to obtain a motion map.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 4, further comprising:
    识别所述人脸图像对应的人脸标识,根据所述人脸标识对所述人脸图像聚类,生成所述人脸标识对应的人脸图集;Identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier;
    所述将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像包括:The comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images comprises:
    将同一图集中多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像。The face information of the plurality of face images in the same set of images is compared to determine whether the plurality of face images are continuous shooting images.
  6. 根据权利要求5所述的方法,其特征在于,还包括:The method of claim 5, further comprising:
    若计算机设备中已存储与所述人脸标识对应的联系人信息,获取所述人脸标识对应的人脸图集;及If the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier; and
    将所述人脸图集中人脸图像发送给联系人对应的计算机设备。Sending the face image of the face map to the computer device corresponding to the contact.
  7. 根据权利要求1至4中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 4, further comprising:
    获取用户选取的多张人脸图像,根据用户的选择顺序将所述多张人脸图像生成动图。Acquiring a plurality of face images selected by the user, and generating the motion images according to the user's selection order.
  8. 一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行如下操作:A computer device comprising a memory and a processor, the memory storing computer readable instructions, the instructions being executed by the processor, causing the processor to perform the following operations:
    对待处理图像进行人脸识别,获取人脸图像;Face recognition is performed on the image to be processed to obtain a face image;
    获取所述人脸图像的人脸信息,所述人脸信息包括人脸面积、人脸位置和人脸角度;Obtaining face information of the face image, where the face information includes a face area, a face position, and a face angle;
    将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像;及Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images; and
    若所述多张人脸图像为连拍图像,根据所述多张人脸图像生成动图。If the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
  9. 根据权利要求8所述的计算机设备,其特征在于,所述处理器执行所述根据所述多张人脸图像生成动图时,还执行如下操作中至少一种:The computer device according to claim 8, wherein the processor further performs at least one of the following operations when the generating the motion picture according to the plurality of face images:
    按照所述多张人脸图像的存储顺序将所述多张人脸图像生成动图;Generating an image of the plurality of face images according to a storage order of the plurality of face images;
    按照所述多张人脸图像的拍摄时间顺序将所述多张人脸图像生成动图;Generating the moving image according to the shooting time sequence of the plurality of face images;
    根据所述人脸角度确定所述多张人脸图像的排列顺序,根据所述排列顺序将所述多张人脸图像生成动图;Determining an arrangement order of the plurality of face images according to the face angle, and generating a motion map according to the arrangement order;
    根据用户的选择顺序将所述多张人脸图像生成动图。The plurality of face images are generated in accordance with a user's selection order.
  10. 根据权利要求8或9所述的计算机设备,其特征在于,所述处理器执行所述根据所述多张人脸图像生成动图时,还执行如下操作中至少一种:The computer device according to claim 8 or 9, wherein the processor further performs at least one of the following operations when the generating the motion picture according to the plurality of face images:
    按照预设的第一时间间隔将所述多张人脸图像连续播放得到动图;And continuously playing the plurality of face images according to a preset first time interval to obtain a moving image;
    根据所述多张人脸图像的张数确定第二时间间隔,按照所述第二时间间隔将所述多张人脸图像连续播放得到动图;Determining a second time interval according to the number of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a motion picture;
    获取对每张人脸图像分别设定的第三时间间隔,根据所述第三时间间隔将所述多张人脸图像连续播放得到动图。And acquiring a third time interval respectively set for each face image, and continuously playing the plurality of face images according to the third time interval to obtain a motion picture.
  11. 根据权利要求8所述的计算机设备,其特征在于,所述处理器执行所述根据所述多张人脸图像生成动图时,还执行如下操作:The computer device according to claim 8, wherein the processor further performs the following operations when the generating the motion picture according to the plurality of face images:
    从所述多张人脸图像中分别提取人脸区域图像,将所述多张人脸图像中人脸区域图像连续播放得到动图。Extracting a face region image from the plurality of face images, and continuously playing the face region image in the plurality of face images to obtain a motion map.
  12. 根据权利要求8至11中任一项所述的计算机设备,其特征在于,所述处理器还执行如下操作:The computer device according to any one of claims 8 to 11, wherein the processor further performs the following operations:
    识别所述人脸图像对应的人脸标识,根据所述人脸标识对所述人脸图像聚类,生成所述人脸标识对应的人脸图集;Identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier;
    所述将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像包括:The comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images comprises:
    将同一图集中多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像。The face information of the plurality of face images in the same set of images is compared to determine whether the plurality of face images are continuous shooting images.
  13. 根据权利要求12所述的计算机设备,其特征在于,所述处理器还执行如下操作:The computer device of claim 12, wherein the processor further performs the following operations:
    若计算机设备中已存储与所述人脸标识对应的联系人信息,获取所述人脸标识对应的人脸图集;及If the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier; and
    将所述人脸图集中人脸图像发送给联系人对应的计算机设备。Sending the face image of the face map to the computer device corresponding to the contact.
  14. 根据权利要求8至11中任一项所述的计算机设备,其特征在于,所述处理器还执行如下操作:The computer device according to any one of claims 8 to 11, wherein the processor further performs the following operations:
    获取用户选取的多张人脸图像,根据用户的选择顺序将所述多张人脸图像生成动图。Acquiring a plurality of face images selected by the user, and generating the motion images according to the user's selection order.
  15. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下操作:A computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to:
    对待处理图像进行人脸识别,获取人脸图像;Face recognition is performed on the image to be processed to obtain a face image;
    获取所述人脸图像的人脸信息,所述人脸信息包括人脸面积、人脸位置和人脸角度;Obtaining face information of the face image, where the face information includes a face area, a face position, and a face angle;
    将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像;及Comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images; and
    若所述多张人脸图像为连拍图像,根据所述多张人脸图像生成动图。If the plurality of face images are continuous shooting images, generating a motion map according to the plurality of face images.
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述根据所述多张人脸图像生成动图时,还执行如下操作中至少一种:The computer readable storage medium according to claim 15, wherein the computer program is executed by the processor to perform at least one of the following operations when the generating the motion image according to the plurality of face images:
    按照所述多张人脸图像的存储顺序将所述多张人脸图像生成动图;Generating an image of the plurality of face images according to a storage order of the plurality of face images;
    按照所述多张人脸图像的拍摄时间顺序将所述多张人脸图像生成动图;Generating the moving image according to the shooting time sequence of the plurality of face images;
    根据所述人脸角度确定所述多张人脸图像的排列顺序,根据所述排列顺序将所述多张 人脸图像生成动图;Determining an arrangement order of the plurality of face images according to the face angle, and generating a motion map according to the arrangement order;
    根据用户的选择顺序将所述多张人脸图像生成动图。The plurality of face images are generated in accordance with a user's selection order.
  17. 根据权利要求15或16所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述根据所述多张人脸图像生成动图时,还执行如下操作中至少一种:The computer readable storage medium according to claim 15 or 16, wherein the computer program is executed by the processor to perform at least one of the following operations when the generating the motion picture according to the plurality of face images :
    按照预设的第一时间间隔将所述多张人脸图像连续播放得到动图;And continuously playing the plurality of face images according to a preset first time interval to obtain a moving image;
    根据所述多张人脸图像的张数确定第二时间间隔,按照所述第二时间间隔将所述多张人脸图像连续播放得到动图;Determining a second time interval according to the number of the plurality of face images, and continuously playing the plurality of face images according to the second time interval to obtain a motion picture;
    获取对每张人脸图像分别设定的第三时间间隔,根据所述第三时间间隔将所述多张人脸图像连续播放得到动图。And acquiring a third time interval respectively set for each face image, and continuously playing the plurality of face images according to the third time interval to obtain a motion picture.
  18. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述根据所述多张人脸图像生成动图时,还执行如下操作:The computer readable storage medium according to claim 15, wherein when the computer program is executed by the processor to generate a motion image according to the plurality of face images, the computer program further performs the following operations:
    从所述多张人脸图像中分别提取人脸区域图像,将所述多张人脸图像中人脸区域图像连续播放得到动图。Extracting a face region image from the plurality of face images, and continuously playing the face region image in the plurality of face images to obtain a motion map.
  19. 根据权利要求15至18中任一项所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行时,还执行如下操作:The computer readable storage medium according to any one of claims 15 to 18, wherein when the computer program is executed by the processor, the following operations are further performed:
    识别所述人脸图像对应的人脸标识,根据所述人脸标识对所述人脸图像聚类,生成所述人脸标识对应的人脸图集;Identifying a face identifier corresponding to the face image, and clustering the face image according to the face identifier to generate a face map corresponding to the face identifier;
    所述将多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像包括:The comparing the face information of the plurality of face images to determine whether the plurality of face images are continuous shooting images comprises:
    将同一图集中多张人脸图像的人脸信息进行对比,确定所述多张人脸图像是否为连拍图像。The face information of the plurality of face images in the same set of images is compared to determine whether the plurality of face images are continuous shooting images.
  20. 根据权利要求19所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器时,还执行如下操作:The computer readable storage medium according to claim 19, wherein when said computer program is executed by a processor, the following operations are further performed:
    若计算机设备中已存储与所述人脸标识对应的联系人信息,获取所述人脸标识对应的人脸图集;及If the contact information corresponding to the face identifier is stored in the computer device, obtaining a face map corresponding to the face identifier; and
    将所述人脸图集中人脸图像发送给联系人对应的计算机设备。Sending the face image of the face map to the computer device corresponding to the contact.
  21. 根据权利要求15至18中任一项所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行时,还执行如下操作:The computer readable storage medium according to any one of claims 15 to 18, wherein when the computer program is executed by the processor, the following operations are further performed:
    获取用户选取的多张人脸图像,根据用户的选择顺序将所述多张人脸图像生成动图。Acquiring a plurality of face images selected by the user, and generating the motion images according to the user's selection order.
PCT/CN2018/115675 2017-11-29 2018-11-15 Image processing method, computer device, and computer-readable storage medium WO2019105237A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711225296.7 2017-11-29
CN201711225296.7A CN108022274B (en) 2017-11-29 2017-11-29 Image processing method, image processing device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2019105237A1 true WO2019105237A1 (en) 2019-06-06

Family

ID=62077521

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115675 WO2019105237A1 (en) 2017-11-29 2018-11-15 Image processing method, computer device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN108022274B (en)
WO (1) WO2019105237A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339811A (en) * 2019-08-27 2020-06-26 杭州海康威视系统技术有限公司 Image processing method, device, equipment and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108022274B (en) * 2017-11-29 2021-10-01 Oppo广东移动通信有限公司 Image processing method, image processing device, computer equipment and computer readable storage medium
CN110008673B (en) * 2019-03-06 2022-02-18 创新先进技术有限公司 Identity authentication method and device based on face recognition
CN109948586B (en) * 2019-03-29 2021-06-25 北京三快在线科技有限公司 Face verification method, device, equipment and storage medium
CN110490162A (en) * 2019-08-23 2019-11-22 北京搜狐新时代信息技术有限公司 The methods, devices and systems of face variation are shown based on recognition of face unlocking function
CN110990088B (en) * 2019-12-09 2023-08-11 Oppo广东移动通信有限公司 Data processing method and related equipment
CN111754612A (en) * 2020-06-01 2020-10-09 Oppo(重庆)智能科技有限公司 Moving picture generation method and device
CN112565863A (en) * 2020-11-26 2021-03-26 深圳Tcl新技术有限公司 Video playing method and device, terminal equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070254640A1 (en) * 2006-04-27 2007-11-01 Bliss Stephen J Remote control and viewfinder for mobile camera phone
CN104113682A (en) * 2013-04-22 2014-10-22 联想(北京)有限公司 Image acquisition method and electronic equipment
CN105069426A (en) * 2015-07-31 2015-11-18 小米科技有限责任公司 Similar picture determining method and apparatus
CN105630954A (en) * 2015-12-23 2016-06-01 北京奇虎科技有限公司 Method and device for synthesizing dynamic pictures on basis of photos
CN108022274A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Image processing method, device, computer equipment and computer-readable recording medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4092059B2 (en) * 2000-03-03 2008-05-28 日本放送協会 Image recognition device
JP2009088687A (en) * 2007-09-27 2009-04-23 Fujifilm Corp Album creation device
JP5028225B2 (en) * 2007-11-06 2012-09-19 オリンパスイメージング株式会社 Image composition apparatus, image composition method, and program
JP5176572B2 (en) * 2008-02-05 2013-04-03 ソニー株式会社 Image processing apparatus and method, and program
JP4911165B2 (en) * 2008-12-12 2012-04-04 カシオ計算機株式会社 Imaging apparatus, face detection method, and program
JP5821625B2 (en) * 2011-08-29 2015-11-24 カシオ計算機株式会社 Image editing apparatus and program
CN104980641B (en) * 2014-04-04 2019-01-08 宏碁股份有限公司 Electronic device and its image inspection method
CN104408402B (en) * 2014-10-29 2018-04-24 小米科技有限责任公司 Face identification method and device
JP6332864B2 (en) * 2014-12-25 2018-05-30 カシオ計算機株式会社 Image processing apparatus, image processing method, and program
CN104767933B (en) * 2015-03-13 2018-12-21 北京畅游天下网络技术有限公司 A method of having the portable digital equipment and screening photo of camera function
CN104820675B (en) * 2015-04-08 2018-11-06 小米科技有限责任公司 Photograph album display methods and device
CN106375531A (en) * 2016-08-29 2017-02-01 捷开通讯(深圳)有限公司 Picture sharing method and terminal
CN106980840A (en) * 2017-03-31 2017-07-25 北京小米移动软件有限公司 Shape of face matching process, device and storage medium
CN107358219B (en) * 2017-07-24 2020-06-09 艾普柯微电子(上海)有限公司 Face recognition method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070254640A1 (en) * 2006-04-27 2007-11-01 Bliss Stephen J Remote control and viewfinder for mobile camera phone
CN104113682A (en) * 2013-04-22 2014-10-22 联想(北京)有限公司 Image acquisition method and electronic equipment
CN105069426A (en) * 2015-07-31 2015-11-18 小米科技有限责任公司 Similar picture determining method and apparatus
CN105630954A (en) * 2015-12-23 2016-06-01 北京奇虎科技有限公司 Method and device for synthesizing dynamic pictures on basis of photos
CN108022274A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Image processing method, device, computer equipment and computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111339811A (en) * 2019-08-27 2020-06-26 杭州海康威视系统技术有限公司 Image processing method, device, equipment and storage medium
CN111339811B (en) * 2019-08-27 2024-02-20 杭州海康威视系统技术有限公司 Image processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108022274B (en) 2021-10-01
CN108022274A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
WO2019105237A1 (en) Image processing method, computer device, and computer-readable storage medium
CN111417028B (en) Information processing method, information processing device, storage medium and electronic equipment
CN107977674B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
US10769464B2 (en) Facial recognition method and related product
WO2018010512A1 (en) Method and device for uploading phtograph file
CN109213732B (en) Method for improving photo album classification, mobile terminal and computer readable storage medium
CN107729815B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
WO2019052316A1 (en) Image processing method and apparatus, computer-readable storage medium and mobile terminal
CN106203254B (en) Method and device for adjusting photographing direction
WO2019105457A1 (en) Image processing method, computer device and computer readable storage medium
WO2020048392A1 (en) Application virus detection method, apparatus, computer device, and storage medium
WO2021073478A1 (en) Bullet screen information recognition method, display method, server and electronic device
CN108683850B (en) Shooting prompting method and mobile terminal
CN108628985B (en) Photo album processing method and mobile terminal
JP7467667B2 (en) Detection result output method, electronic device and medium
CN108460817B (en) Jigsaw puzzle method and mobile terminal
CN109684277B (en) Image display method and terminal
WO2019076377A1 (en) Image viewing method and mobile terminal
CN109495638B (en) Information display method and terminal
WO2019011108A1 (en) Iris recognition method and related product
WO2019120190A1 (en) Dialing method and mobile terminal
CN105335714A (en) Photograph processing method, device and apparatus
CN107864086B (en) Information rapid sharing method, mobile terminal and computer readable storage medium
US10970522B2 (en) Data processing method, electronic device, and computer-readable storage medium
WO2019052436A1 (en) Image processing method, computer-readable storage medium and mobile terminal

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: 18883772

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: 18883772

Country of ref document: EP

Kind code of ref document: A1