WO2015021764A1 - 一种图像的处理方法、装置和终端设备 - Google Patents

一种图像的处理方法、装置和终端设备 Download PDF

Info

Publication number
WO2015021764A1
WO2015021764A1 PCT/CN2014/072373 CN2014072373W WO2015021764A1 WO 2015021764 A1 WO2015021764 A1 WO 2015021764A1 CN 2014072373 W CN2014072373 W CN 2014072373W WO 2015021764 A1 WO2015021764 A1 WO 2015021764A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
character
attribute information
beauty
age
Prior art date
Application number
PCT/CN2014/072373
Other languages
English (en)
French (fr)
Inventor
唐明勇
张波
周志农
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to MX2015007253A priority Critical patent/MX355888B/es
Priority to KR1020157013716A priority patent/KR20150079804A/ko
Priority to RU2015121496A priority patent/RU2626090C2/ru
Priority to BR112015014286A priority patent/BR112015014286A2/pt
Priority to JP2015543302A priority patent/JP6272342B2/ja
Priority to EP14835945.8A priority patent/EP3035283A4/en
Priority to US14/287,196 priority patent/US9779527B2/en
Publication of WO2015021764A1 publication Critical patent/WO2015021764A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • 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

Definitions

  • the present invention is based on a Chinese patent application with the application number CN201310357087.3 and the application date being August 15, 2013, and claims the priority of the Chinese patent application, the Chinese patent application The entire contents of this application are incorporated herein by reference.
  • the present disclosure relates to the field of data processing technologies, and in particular, to an image processing method, apparatus, and terminal device. Background technique
  • Embodiments of the present disclosure provide a method, an apparatus, and a terminal device for processing an image, which are used to automatically match a corresponding beauty mode, thereby improving usage efficiency.
  • a method for processing an image including:
  • the image is processed according to the character attribute information to obtain a processed image.
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects:
  • the character attribute information is obtained according to the face in the automatically recognized image, and the beauty mode corresponding to the character attribute information is matched, and the The matching beauty mode processes the image to avoid manually setting the beauty parameters and improving the efficiency of use.
  • the character attribute information includes one or more of a person identity, age, and gender.
  • the processing the image according to the character attribute information includes: acquiring a preset beauty mode corresponding to the character identity; The beauty mode corresponding to the character identity processes the image.
  • the corresponding beauty mode can be matched according to the identity of the person, which satisfies the needs of different users.
  • the processing the image according to the character attribute information includes: acquiring a preset beauty mode corresponding to the age and gender of the character. ; The image is processed using a beauty mode corresponding to the age and gender of the person.
  • the corresponding beauty mode can be matched according to the age and gender of the character, and the needs of different users are satisfied.
  • the processing the image according to the character attribute information includes: acquiring a preset beauty mode corresponding to the age of the character; The image is processed by the beauty mode corresponding to the age of the person.
  • the corresponding beauty mode can be matched according to the age of the characters, which satisfies the needs of different users.
  • the processing the image according to the character attribute information includes: acquiring a preset beauty mode corresponding to the gender of the character;
  • the beauty mode corresponding to the gender of the character processes the image.
  • the corresponding beauty mode can be matched according to the gender of the person, which satisfies the needs of different users.
  • the obtaining the attribute information of the person according to the face in the image includes: acquiring, according to the plurality of faces in the image, the ages of the characters of the plurality of faces respectively Processing the image according to the character attribute information, including: acquiring a preset beauty mode corresponding to the age and gender of each of the plurality of faces; and adopting the age and gender of each of the plurality of faces
  • the corresponding beauty mode processes a plurality of faces in the image.
  • each face can be matched with the corresponding beauty mode, and each face is processed by using the corresponding beauty mode.
  • the preset beauty mode includes: a preset beauty item and a beauty level set for the beauty item.
  • a preset beauty mode scheme is provided.
  • the preset beauty items include: one or more of a skin whitening, a freckle acne, a face-lifting, a darkening eye, a beautifying eye, a brightening eye, and a beauty effect.
  • a variety of preset beauty items are provided.
  • the acquiring an image comprises: acquiring an image captured by the camera; or acquiring an image selected from the library.
  • the image may be obtained by acquiring an image taken by the camera, or by acquiring an image selected from a gallery to meet different needs of the user.
  • the camera is a front camera; before the image captured by the front camera is acquired, the processing method further includes: monitoring that the front camera is in an open state. In this scenario, the front camera is automatically turned on and no manual operation is required.
  • the processing the image according to the character attribute information further comprising: marking a face in the image by using a preset graphic; displaying the character on a side of the preset graphic
  • the nickname corresponding to the attribute information is marked a face in the image by using a preset graphic.
  • the corresponding nickname can be automatically displayed at the top of the box, which is convenient to use and meets the needs of the user.
  • an image processing apparatus including:
  • An identification module configured to acquire an image and identify a face included in the image
  • An obtaining module configured to acquire character attribute information according to a face in the image
  • a processing module configured to process the image according to the character attribute information to obtain the processed image.
  • the processing module includes: a first obtaining unit, configured to: when the character attribute information includes a person identity, acquire a preset beauty mode corresponding to the character identity;
  • the first processing unit is configured to process the image by using a beauty mode corresponding to the identity of the person to obtain a processed image.
  • the processing module includes:
  • a second obtaining unit configured to: when the character attribute information includes a person's age and gender, obtain a preset beauty mode corresponding to the age and gender of the character;
  • a second processing unit configured to process the image by using a beauty mode corresponding to the age and gender of the character, to obtain the processed image.
  • the processing module includes:
  • a third obtaining unit configured to: when the character attribute information includes a person age, obtain a preset beauty mode corresponding to the age of the person;
  • a third processing unit configured to process the image by using a beauty mode corresponding to the age of the character, to obtain the processed image.
  • the processing module includes:
  • a fourth obtaining unit configured to: when the character attribute information includes a person gender, obtain a preset beauty mode corresponding to the gender of the person;
  • a fourth processing unit configured to process the image by using a beauty mode corresponding to the gender of the character, to obtain the processed image.
  • the acquiring module includes:
  • a fifth obtaining unit configured to: when the image includes multiple faces, obtain the age and gender of each of the plurality of faces according to the plurality of faces in the image;
  • the processing module includes:
  • a sixth obtaining unit configured to acquire a preset beauty mode corresponding to the age and gender of each of the plurality of faces
  • a fifth processing unit configured to process the plurality of faces in the image by using a beauty mode corresponding to the age and gender of each of the plurality of faces.
  • the identification module comprises:
  • An image acquisition unit configured to acquire an image captured by the camera; or acquire an image selected from a gallery; and an identification unit configured to identify a face included in the image.
  • the processing device further includes:
  • the monitoring module is configured to monitor that the front camera is in an open state before the image acquiring unit acquires an image captured by the front camera when the camera is a front camera.
  • the processing module further includes:
  • a marking unit configured to mark a face in the image with a preset graphic
  • a display unit configured to display a nickname corresponding to the character attribute information on one side of the preset graphic.
  • the image is processed according to the character attribute information to obtain a processed image.
  • FIG. 1 is a flowchart of a main method of processing an image according to an exemplary embodiment
  • FIG. 2A is a flowchart of a first embodiment of a method for processing an image according to an exemplary embodiment
  • FIG. 2B is a schematic diagram of recognizing a face in a photo according to an exemplary embodiment
  • FIG. 3 is a flowchart of a second embodiment of a method for processing an image according to an exemplary embodiment.
  • FIG. 4 is a flowchart of a third embodiment of a method for processing an image according to an exemplary embodiment.
  • FIG. 5A is a flow chart showing a fourth embodiment of an image processing method according to an exemplary embodiment;
  • FIG. 5B is a schematic diagram showing an effect after image processing according to an exemplary embodiment;
  • FIG. 6 is a schematic diagram of a main structure of an image processing apparatus according to an exemplary embodiment
  • FIG. 7 is a schematic structural diagram of an identification module in an image processing apparatus according to an exemplary embodiment
  • FIG. 8 is a detailed structural diagram of a processing apparatus for an image according to an exemplary embodiment
  • FIG. 9 is a first detailed structural diagram of a processing module in an image processing apparatus according to an exemplary embodiment
  • FIG. 10 is a second detailed structural diagram of a processing module in an image processing apparatus according to an exemplary embodiment
  • FIG. 11 is a third detailed diagram of a processing module in an image processing apparatus according to an exemplary embodiment. Schematic diagram
  • FIG. 12 is a fourth detailed structural diagram of a processing module in an image processing apparatus according to an exemplary embodiment
  • FIG. 13 is a schematic diagram showing another detailed structure of an image processing apparatus according to an exemplary embodiment.
  • FIG. 14 is a fifth detailed structure of a processing module in an image processing apparatus according to an exemplary embodiment. Schematic diagram
  • FIG. 15 is a schematic structural diagram of a terminal device according to an exemplary embodiment. detailed description
  • the beauty treatment of photos requires the user to manually select the beauty items and the beauty parameters of each item, which is unintelligible and inefficient.
  • the embodiments of the present disclosure can automatically match the corresponding beauty mode, avoid manually setting the beauty parameters, and improve the use efficiency.
  • the main method flow of the image processing in the embodiment of the present disclosure includes the following steps 11-13: Step 11. Acquire an image and identify a human face included in the image.
  • acquiring the image may be obtaining an image taken by the camera, or acquiring an image selected from the gallery to meet different needs of the user.
  • acquiring an image is an image captured by a front camera
  • Face recognition is the identification of facial visual feature information by analysis. It belongs to biometric recognition technology, which is a biological feature of the organism (generally refers to the person) itself to distinguish the individual of the organism.
  • biometric recognition technology is a biological feature of the organism (generally refers to the person) itself to distinguish the individual of the organism.
  • face recognition technology has been applied in many fields, such as digital camera face autofocus and smile shutter technology; enterprise, residential security and management; access control system; camera monitoring system.
  • Commonly used face recognition algorithms include: Feature-based recognition algorithms, Appearance-based recognition algorithms, Template-based recognition, and methods. (Template-based recognition algorithms), He 1 J using the neural network to identify algorithms using neural network (Recognition algorithms using neural network) and so on.
  • Step 12 Acquire character attribute information according to the face in the image.
  • the character attribute information may be a person identity, age or gender, and the like.
  • a correspondence between a face and a person's identity, age, or gender is stored in the database in advance, and a face in the image is matched with a face in the database to obtain a person identity, age, or gender corresponding to the face in the image.
  • Step 13 Processing the image according to the character attribute information to obtain the processed image.
  • the processing method of "processing the image according to the character attribute information" in the above step 13 is different.
  • the processing method corresponding to the different character attribute information will be described in detail below.
  • processing the image according to the character attribute information in the above step 13 may include the following steps A1-A2:
  • Step A Obtain a preset beauty mode corresponding to the identity of the person.
  • Step A2 The image is processed by using the beauty mode corresponding to the character identity.
  • processing the image according to the character attribute information in the above step 13 may include the following steps B1-B2:
  • Step Bl obtaining a preset beauty mode corresponding to the age and gender of the person.
  • Step B2 The image is processed by a beauty mode corresponding to the age and gender of the person.
  • processing the image according to the character attribute information in the above step 13 may include the following steps C1-C2:
  • Step Cl obtaining a preset beauty mode corresponding to the age of the person.
  • Step C2 The image is processed by using a beauty mode corresponding to the age of the person.
  • processing the image according to the character attribute information in the above step 13 may include the following steps D1-D2:
  • Step Dl Obtain a pre-set beauty mode corresponding to the gender of the person.
  • Step D2 The image is processed by using the beauty mode corresponding to the gender of the person.
  • the above step 12 may include the following step E, and the "processing the image according to the character attribute information" in the above step 13 may include the following steps F1-F2:
  • Step E According to multiple faces in the image, respectively obtain the age and gender of each person's face.
  • Step F1 Obtain a pre-set beauty mode corresponding to the age and gender of each of the plurality of faces.
  • Step F2 processing a plurality of faces in the image by using a beauty mode corresponding to the age and gender of each of the plurality of faces.
  • the corresponding beauty mode can be matched according to the identity, age or gender of the person, and the image is processed by using the corresponding beauty mode to satisfy the needs of different users; and when the image is included
  • each face can also be matched with the corresponding beauty mode, and each face can be processed by the corresponding beauty mode.
  • the preset beauty mode may include: a preset beauty item and a beauty level set for the beauty item.
  • the preset beauty items may include: whitening, acne, thin face, dark circles, beautifying eyes, bright eyes or beauty effects.
  • the beauty level setting has 0 to 3 levels, wherein 0 level means no beauty, 1 level means mild beauty, 2 level means moderate beauty,
  • the 3 levels represent the depth of beauty
  • the preset beauty items are the above 7 beauty items, namely, skin whitening, freckle acne, thin face slimming, dark circles, beautifying eyes, bright eyes and beauty effects, then, beauty Mode 2222222 indicates moderately dermabrasion, moderate ecchymosis, moderately thin face, moderately dark circles, moderately beautified eyes, moderately bright and moderately beautiful effects.
  • processing the image according to the character attribute information in the above step 13 may further include the following steps G1-G2:
  • Step Gl Mark the face in the image with a preset graphic.
  • Step G2 Display a nickname corresponding to the character attribute information on one side of the preset graphic.
  • a square can be used to mark the face in the image, and the corresponding nickname is displayed above the box according to the age and gender of the character, wherein the nickname can be Xiaozhengtai, Xiaoluoli, Gaofushuai, Baifumei or the old guy. Wait. In this way, according to the age and gender of the characters, the corresponding nickname can be automatically displayed at the top of the box, so that the user has a richer experience.
  • the identity, age or gender of the person is obtained, and the beauty mode corresponding to the identity, age or gender of the person is matched, and the image is processed by using the matching beauty mode. , Avoid manually setting the beauty parameters to improve the efficiency of use.
  • FIG. 2 is a first embodiment of a method for processing an image according to an embodiment of the present disclosure.
  • the embodiment may be applied to a scenario in which: after obtaining a photo selected from a gallery, the face in the photo is identified. Recognizing that the face in the photo is user A, and the user A is the terminal device owner, and the terminal device owner presets his own beauty mode, the preset beauty mode can be used to perform beauty treatment on the photo. .
  • User A may not be the terminal device owner.
  • User A's Beauty mode can be set in advance, and the photos can be beautifully processed using the preset beauty mode.
  • the method includes the following steps:
  • Step 201 Obtain a photo selected from the gallery.
  • Step 202 Identify a face included in the photo.
  • Step 203 Acquire a person identity according to a face in the photo, and determine the identity of the person as user A.
  • Step 204 Acquire a preset beauty mode corresponding to the user A.
  • 21 denotes a face in the photo, and the identity of the person is obtained based on the face in the photo, and the identity of the person is determined as user A.
  • the pre-set beauty mode may include: a preset beauty item and a beauty level set for the beauty item.
  • the preset beauty items may include: whitening, acne, thin face, dark circles, beautifying eyes, bright eyes or beauty effects.
  • the beauty level setting has 0 to 3 levels, of which 0 level means no beauty, 1 level means light beauty, 2 level means moderate beauty, 3 level means deep beauty, preset beauty
  • the Yan project is the above seven beauty items, namely, skin whitening, freckle acne, thin face slimming, dark circles, beautifying eyes, bright eyes and beauty effects.
  • User A has preset his own beauty mode to 2210230.
  • the beauty mode 2210230 indicates moderate whitening, moderate freckle acne, mild face-lifting, dark circles, moderately beautified eyes, deep eye-catching and No beauty effects.
  • Step 205 The photo is processed by using the beauty mode corresponding to the user A, and the processed photo is obtained.
  • the identity of the person is obtained, and the beauty mode corresponding to the identity of the person is matched, and the photo is processed by using the matching beauty mode to avoid manually setting the beauty parameter. Improve the efficiency of use.
  • FIG. 3 is a second embodiment of a method for processing an image in an embodiment of the present disclosure.
  • the embodiment can be applied to a scenario in which: after acquiring a photo taken by a user, the face in the photo is identified and recognized. The person's age and gender of the face in the photo can automatically match the pre-set beauty mode corresponding to the age and gender.
  • Pre-set beauty patterns corresponding to age and gender can be found in Table 1 below: Table 1 includes 7 beauty items, followed by dermabrasion, acne, thin face, dark circles, beautifying eyes, Bright and beautiful effects, and set with 0 to 3 levels of beauty, where 0 indicates no beauty, 1 indicates mild beauty, 2 indicates moderate beauty, and 3 indicates deep beauty For example, Beauty Mode 2222222 indicates moderate whitening, moderate ecchymosis, moderately thin face, moderate dark circles, moderately beautified eyes, moderately bright and moderately beautiful effects.
  • the pre-set beauty patterns corresponding to age and gender are not limited to those shown in Table 1, and other beauty patterns corresponding to age and gender can be set, which will not be described here.
  • the method includes the following steps:
  • Step 301 It is detected that the front camera is in an open state.
  • Step 302 Acquire a photo taken by the front camera.
  • Step 303 Identify a face included in the photo.
  • Step 304 According to the face in the photo, the age of the person is 25 years old, and the gender of the character is female.
  • Step 305 Obtain a pre-set beauty mode corresponding to a person whose age is 25 years old and whose gender is a female. Matching the beauty pattern of the person in the above table 1 who is 25 years old and whose gender is female, and obtains the beauty mode as
  • Step 306 The photo is processed by using the beauty mode 2222222 to obtain the processed photo.
  • the preset graphic eg, box, circle, etc.
  • One side displays a nickname corresponding to the age of the character and the gender of the person, such as "near girl” and "talent girl”.
  • the age and gender of the character are obtained, and the beauty mode corresponding to the age and gender of the character is matched, and the photo is processed by using the matching beauty mode to avoid manual setting of beauty.
  • Yan parameters improve the efficiency of use.
  • FIG. 4 is a third embodiment of a method for processing an image in an embodiment of the present disclosure.
  • the embodiment can be applied to a scenario in which: after acquiring a photo taken by a user, the face in the photo is identified and recognized.
  • the face in the photo is a baby of 0-2 years old, and no beauty is allowed regardless of gender.
  • the method includes the following steps:
  • Step 401 Acquire a photo taken by the camera.
  • Step 402 Identify a face included in the photo.
  • Step 403 According to the face in the photo, the age of the person is 1 year old.
  • Step 404 Obtain a pre-set beauty mode corresponding to a person whose age is 1 year old, and the beauty mode is 0000000, that is, not beauty, and the process ends.
  • the age of the character is obtained, and the beauty mode corresponding to the age of the character is matched, and the photo is processed by using the matching beauty mode, thereby avoiding manually setting the beauty parameter and improving Use efficiency.
  • FIG. 5A A fourth embodiment of the image processing method in the embodiment of the present disclosure is shown in FIG. 5A.
  • the embodiment is applied to a scenario in which: after acquiring a photo taken by a user, the face in the photo is identified and recognized.
  • the photo contains multiple faces, and identifies the age and gender of each face, and matches the pre-set beauty mode for each face's character age and gender, and processes each face with the matching beauty mode.
  • the method includes the following steps: Step 501: Acquire a photo taken by a camera.
  • Step 502 Identify a face included in the photo, where the photo includes multiple faces.
  • Step 503 Obtain the age and gender of the characters of each of the plurality of faces.
  • Step 504 Acquire, respectively, a pre-set beauty mode corresponding to the age and gender of the characters of each face.
  • Step 505 Processing each face by using a beauty mode corresponding to the age and gender of each person's face, and obtaining the processed photo.
  • the identification photo contains three faces, and the faces and faces of the three faces are 2-5 years old males, 18-30 year old males, and male over 60 years old, according to the beauty and age corresponding to the above table 1 Mode, the beauty modes of these three faces are 0000111, 1311222 and 1000000 respectively, and each face can be beautifully painted by their respective beauty modes.
  • each face in addition to the face mode corresponding to the age and gender of each person's face, each face can be processed, and the preset graphic (for example, a box, a circle, etc.) can also be used to mark the photo.
  • Each face of the face, and a nickname corresponding to the age and gender of each face of the face is displayed on one side of the preset figure, for example, as shown in FIG. 5B, the preset figure side of the above three face marks is displayed
  • the nicknames can be "Little Zhengtai", “Gao Shuai Fu", "Old Handsome Guy”.
  • the ages and genders of the respective faces of the plurality of faces are obtained, and the beauty modes corresponding to the ages and genders of the respective characters are matched, and the matching beauty modes are adopted.
  • Multiple faces are processed separately to avoid manual setting of beauty parameters and improve usage efficiency.
  • an image processing apparatus in this embodiment includes an identification module 601, an acquisition module 602, and a processing module 603.
  • An identification module 601 configured to acquire an image, and identify a face included in the image
  • the obtaining module 602 is configured to obtain character attribute information according to a face in the image
  • the processing module 603 is configured to process the image according to the character attribute information to obtain the processed image.
  • the foregoing identification module 601 can include:
  • the image acquisition unit 701 is configured to acquire an image captured by the camera; or acquire an image selected from a gallery; and the recognition unit 702 is configured to identify a face included in the image.
  • the apparatus shown in FIG. 6 above may further include:
  • the monitoring module 604 is configured to detect that the front camera is in an open state before the image acquiring unit 701 acquires the image captured by the front camera when the camera is the front camera.
  • the character attribute information may include: person identity, age or gender, and the like.
  • the processing module 603 may include:
  • the first obtaining unit 901 is configured to: when the character attribute information includes the identity of the person, obtain a preset beauty mode corresponding to the identity of the person;
  • the first processing unit 902 is configured to process the image by using a beauty mode corresponding to the identity of the person to obtain the processed image.
  • the foregoing processing module 603 may include:
  • a second obtaining unit 1001 configured to acquire a preset beauty mode corresponding to the age and gender of the character when the character attribute information includes the age and gender of the character;
  • the second processing unit 1002 is configured to process the image by using the beauty mode corresponding to the age and gender of the person to obtain the processed image.
  • the foregoing processing module 603 may include:
  • the third obtaining unit 1101 is configured to acquire a preset beauty mode corresponding to the age of the person when the character attribute information includes the age of the person;
  • the third processing unit 1102 is configured to process the image by using a beauty mode corresponding to the age of the character, and obtain the processed image.
  • the foregoing processing module 603 may include:
  • the fourth obtaining unit 1201 is configured to acquire a preset beauty mode corresponding to the character gender when the character attribute information includes the gender of the character;
  • the fourth processing unit 1202 is configured to process the image by using the beauty mode corresponding to the gender of the person to obtain the processed image.
  • the obtaining module 602 may include:
  • the fifth obtaining unit 1301 is configured to: when the image includes multiple faces, obtain the age and gender of each of the plurality of faces according to the plurality of faces in the image;
  • the above processing module 603 can include:
  • the sixth obtaining unit 1302 is configured to acquire a preset beauty mode corresponding to the age and gender of each of the plurality of faces;
  • the fifth processing unit 1303 is configured to process the plurality of faces in the image by using a beauty mode corresponding to the age and gender of each of the plurality of faces.
  • the pre-set beauty mode may include: a preset beauty item and a beauty level set for the beauty item.
  • the preset beauty items may include: whitening, acne, thin face, dark circles, beautifying eyes, bright eyes or beauty effects.
  • the processing module 603 may further include:
  • a marking unit 1401 configured to mark a face in the image by using a preset graphic
  • the display unit 1402 is configured to display a nickname corresponding to the character attribute information on one side of the preset graphic.
  • FIG. 15 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • the terminal device can be used to implement a processing method of an image provided in the above embodiment.
  • the terminal device 800 can include a communication unit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WIFI (Wireless Fidelity) module 170.
  • the processor 180 includes one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal device structure shown in FIG. 15 does not constitute a limitation of the terminal device, and may include more or less components than those illustrated, or may combine some components, or different component arrangements.
  • the communication unit 110 can be used for transmitting and receiving information or receiving and transmitting signals during a call.
  • the communication unit 110 can be a network communication device such as an RF (Radio Frequency) circuit, a router, a modem, or the like. Specifically, when the communication unit 110 is an RF circuit, the downlink information of the base station is received, and then processed by one or more processors 180; in addition, data related to the uplink is transmitted to the base station.
  • RF circuits as communication units include, but are not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a LNA (Low Noise Amplifier, low) Noise amplifier), duplexer, etc.
  • SIM Subscriber Identity Module
  • the communication unit 110 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal device 800 (such as audio data, phone book, etc.) and the like.
  • memory 120 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. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • Input unit 130 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • Input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 may 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 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • Other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 140 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of terminal device 800, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • the terminal device 800 may also include at least one type of sensor 150, such as a light sensor, a motion sensor, and other transmissions.
  • Sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 and/or when the terminal device 800 moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal device 800 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 provide an audio interface between the user and the terminal device 800.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal device, for example, by the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal device 800.
  • the terminal device may be configured with a wireless communication unit 170, which may be a WIFI module.
  • WIFI is a short-range wireless transmission technology
  • the terminal device 800 can help users to send and receive emails, browse web pages, and access streaming media through the wireless communication unit 170, which provides users with wireless broadband Internet access.
  • FIG. 15 shows the wireless communication unit 170, it can be understood that it does not belong to the essential configuration of the terminal device 800, and may be omitted as needed within the scope of not changing the essence of the disclosure.
  • the processor 180 is the control center of the terminal device 800, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the terminal device 800 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 180.
  • the terminal device 800 also includes a power supply 190 (e.g., a battery) that supplies power to the various components.
  • the power supply can be logically coupled to the processor 180 through the power management system to manage charging, discharging, and power management functions through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal device 800 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the terminal device further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to execute the one or more by one or more processors
  • the program contains instructions for doing the following:
  • the image is processed according to the character attribute information to obtain the processed image.
  • the memory further includes instructions to:
  • the character attribute information includes one or more of a person identity, age, and gender.
  • the image is processed according to the character attribute information, including: acquiring a preset beauty mode corresponding to the character identity;
  • the image is processed using a beauty mode corresponding to the character's identity.
  • the image is processed according to the character attribute information, including:
  • the image is processed using a beauty mode corresponding to the age and gender of the character.
  • the image is processed according to the character attribute information, including: acquiring a preset beauty mode corresponding to the age of the character;
  • the image is processed using a beauty mode corresponding to the age of the character.
  • the image is processed according to the character attribute information, including: acquiring a preset beauty mode corresponding to the gender of the character;
  • the image is processed using a beauty mode corresponding to the gender of the person.
  • acquiring the character attribute information according to the face in the image includes: obtaining the age and gender of each of the plurality of faces according to the plurality of faces in the image;
  • the image is processed according to the character attribute information, including:
  • a plurality of faces in the image are processed using a beauty mode corresponding to the age and gender of each of the faces of the plurality of faces.
  • the pre-set beauty mode includes: a preset beauty item and a beauty level set for the beauty item.
  • the preset beauty items include: one or more of dermabrasion, freckle acne, face-lifting, dark circles, beautifying eyes, bright eyes, and beauty effects.
  • obtaining an image includes:
  • the camera is a front camera
  • the processing method further includes:
  • the front camera is detected to be on.
  • processing the image according to the character attribute information further includes: Marking the faces in the image with preset graphics;
  • a nickname corresponding to the character attribute information is displayed on one side of the preset graphic.
  • the identity, age or gender of the person is obtained, and the beauty mode corresponding to the identity, age or gender of the person is matched, and the image is processed by using the matching beauty mode. , Avoid manually setting the beauty parameters to improve the efficiency of use.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more flows of the flowchart or a block or blocks of the I or block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

本发明公开了一种图像的处理方法、装置和终端设备。其中,所述处理方法包括:获取图像,识别图像中包含的人脸;根据图像中的人脸获取人物属性信息;根据所述人物属性信息对图像进行处理,获得处理后的图像。本公开实施例,能够根据自动识别出的图像中的人脸,获得人物属性信息,并匹配与人物属性信息对应的美颜模式,采用匹配的美颜模式对图像进行处理,避免手动设置美颜参数,提高使用效率。

Description

一种图像的处理方法、 装置和终端设备 本申请基于申请号为 CN201310357087.3、 申请日为 2013年 8月 15 日的中国专利申 请提出, 并要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作 为参考。 技术领域
本公开涉及数据处理技术领域, 尤其涉及一种图像的处理方法、 装置和终端设备。 背景技术
随着相机及带有摄像头的其他移动终端的普及, 人们拍摄照片越来越方便, 拍摄的照 片的数量也越来越多。 拍摄完成后, 通常需要对照片进行美颜处理, 可以发送至博客、 微 博、 个人空间等平台与好友家人分享。
目前, 对照片进行美颜处理有一键美颜, 七个美颜项目, 包括磨皮美白、 祛斑祛痘、 瘦脸瘦身、 祛黑眼圈、 美化眼睛、 亮眼和美颜特效, 但是需要用户手动选择美颜项目以及 每个项目的美颜参数, 或者至少选择一个美颜项目, 不方便, 不智能, 使用效率低。 发明内容
本公开实施例提供一种图像的处理方法、装置和终端设备, 用于自动匹配对应的美颜 模式, 提高使用效率。
根据本公开实施例的第一方面, 提出了一种图像的处理方法, 包括:
获取图像, 识别图像中包含的人脸;
根据图像中的人脸获取人物属性信息;
根据所述人物属性信息对图像进行处理, 获得处理后的图像。
本公开的实施例提供的技术方案可以包括以下有益效果: 本公开实施例中, 根据自动 识别出的图像中的人脸, 获得人物属性信息, 并匹配与人物属性信息对应的美颜模式, 采 用匹配的美颜模式对图像进行处理, 避免手动设置美颜参数, 提高使用效率。
在一个实施例中, 所述人物属性信息包括: 人物身份、 年龄和性别中的一项或多项。 在一个实施例中, 当所述人物属性信息包括人物身份时, 所述根据所述人物属性信息 对图像进行处理, 包括: 获取预先设置的与所述人物身份对应的美颜模式; 采用与所述人 物身份对应的美颜模式对图像进行处理。本方案中, 可以根据人物身份匹配对应的美颜模 式, 满足了不同用户的需求。
在一个实施例中, 当所述人物属性信息包括人物年龄和性别时, 所述根据所述人物属 性信息对图像进行处理, 包括: 获取预先设置的与所述人物年龄和性别对应的美颜模式; 采用与所述人物年龄和性别对应的美颜模式对图像进行处理。本方案中, 可以根据人物年 龄和性别匹配对应的美颜模式, 满足了不同用户的需求。
在一个实施例中, 当所述人物属性信息包括人物年龄时, 所述根据所述人物属性信息 对图像进行处理, 包括: 获取预先设置的与所述人物年龄对应的美颜模式; 采用与所述人 物年龄对应的美颜模式对图像进行处理。本方案中, 可以根据人物年龄匹配对应的美颜模 式, 满足了不同用户的需求。
在一个实施例中, 当所述人物属性信息包括人物性别时, 所述根据所述人物属性信息 对图像进行处理, 包括: 获取预先设置的与所述人物性别对应的美颜模式; 采用与所述人 物性别对应的美颜模式对图像进行处理。本方案中, 可以根据人物性别匹配对应的美颜模 式, 满足了不同用户的需求。
在一个实施例中, 当所述图像中包含多个人脸时, 所述根据图像中的人脸获取人物属 性信息, 包括: 根据图像中的多个人脸, 分别获取多个人脸各自的人物年龄和性别; 根据 所述人物属性信息对图像进行处理, 包括: 获取预先设置的与所述多个人脸各自的人物年 龄和性别对应的美颜模式;采用与所述多个人脸各自的人物年龄和性别对应的美颜模式对 所述图像中的多个人脸进行处理。本方案中当图像中包含多个人脸时, 还可以对各个人脸 匹配对应的美颜模式, 采用相应的美颜模式对各个人脸进行处理。
在一个实施例中, 所述预先设置的美颜模式包括: 预设的美颜项目和针对所述美颜项 目设置的美颜级别。 本方案中, 提供了预先设置的美颜模式的方案。
在一个实施例中, 所述预设的美颜项目包括: 磨皮美白、 祛斑祛痘、 瘦脸瘦身、 祛黑 眼圈、 美化眼睛、 亮眼和美颜特效中的一项或多项。 本方案中, 提供了多种预设的美颜项 百。
在一个实施例中, 所述获取图像, 包括: 获取通过摄像头拍摄的图像; 或者获取从图 库中选择的图像。 本方案中, 获取图像可以是获取通过摄像头拍摄的图像, 也可以是获取 从图库中选择的图像, 以满足用户不同的需求。
在一个实施例中, 所述摄像头为前置摄像头; 所述获取通过所述前置摄像头拍摄的图 像之前, 所述处理方法还包括: 监测到所述前置摄像头处于开启状态。 本方案中, 前置摄 像头自动处于开启状态, 无需手动操作。
在一个实施例中, 所述根据所述人物属性信息对图像进行处理, 还包括: 采用预设的 图形标记出图像中的人脸; 在所述预设的图形的一侧显示与所述人物属性信息对应的昵 称。 本方案中, 能够自动在方框的上方显示相应的昵称, 使用方便, 满足用户的需求。
根据本公开实施例的第二方面, 提出了一种图像的处理装置, 包括:
识别模块, 用于获取图像, 识别图像中包含的人脸;
获取模块, 用于根据图像中的人脸获取人物属性信息;
处理模块, 用于根据所述人物属性信息对图像进行处理, 获得处理后的图像。
在一个实施例中, 所述处理模块包括: 第一获取单元, 用于当所述人物属性信息包括人物身份时, 获取预先设置的与所述人 物身份对应的美颜模式;
第一处理单元, 用于采用与所述人物身份对应的美颜模式对图像进行处理, 获得处理 后的图像。
在一个实施例中, 所述处理模块包括:
第二获取单元, 用于当所述人物属性信息包括人物年龄和性别时, 获取预先设置的与 所述人物年龄和性别对应的美颜模式;
第二处理单元, 用于采用与所述人物年龄和性别对应的美颜模式对图像进行处理, 获 得处理后的图像。
在一个实施例中, 所述处理模块包括:
第三获取单元, 用于当所述人物属性信息包括人物年龄时, 获取预先设置的与所述人 物年龄对应的美颜模式;
第三处理单元, 用于采用与所述人物年龄对应的美颜模式对图像进行处理, 获得处理 后的图像。
在一个实施例中, 所述处理模块包括:
第四获取单元, 用于当所述人物属性信息包括人物性别时, 获取预先设置的与所述人 物性别对应的美颜模式;
第四处理单元, 用于采用与所述人物性别对应的美颜模式对图像进行处理, 获得处理 后的图像。
在一个实施例中, 所述获取模块包括:
第五获取单元, 用于当所述图像中包含多个人脸时, 根据图像中的多个人脸, 分别获 取多个人脸各自的人物年龄和性别;
所述处理模块包括:
第六获取单元,用于获取预先设置的与所述多个人脸各自的人物年龄和性别对应的美 颜模式;
第五处理单元,用于采用与所述多个人脸各自的人物年龄和性别对应的美颜模式对所 述图像中的多个人脸进行处理。
在一个实施例中, 所述识别模块包括:
图像获取单元, 用于获取通过摄像头拍摄的图像; 或者获取从图库中选择的图像; 识别单元, 用于识别图像中包含的人脸。
在一个实施例中, 所述处理装置还包括:
监测模块, 用于当所述摄像头为前置摄像头时, 所述图像获取单元获取通过所述前置 摄像头拍摄的图像之前, 监测到所述前置摄像头处于开启状态。
在一个实施例中, 所述处理模块还包括:
标记单元, 用于采用预设的图形标记出图像中的人脸; 显示单元, 用于在所述预设的图形的一侧显示与所述人物属性信息对应的昵称。 根据本公开实施例的第三方面, 提供了一种终端设备, 终端设备包括有存储器, 以及 一个或者一个以上的程序, 其中一个或者一个以上程序存储于存储器中, 且经配置以由一 个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令: 获取图像, 识别图像中包含的人脸;
根据图像中的人脸获取人物属性信息;
根据所述人物属性信息对图像进行处理, 获得处理后的图像。
本公开的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说明书中变得显 而易见, 或者通过实施本公开而了解。 本公开的目的和其他优点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实现和获得。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不能限 制本发明。
下面通过附图和实施例, 对本公开的技术方案做进一步的详细描述。 附图说明
此处的附图被并入说明书中并构成本说明书的一部分, 示出了符合本发明的实施例, 并与说明书一起用于解释本发明的原理。
附图用来提供对本公开的进一步理解, 并且构成说明书的一部分, 与本公开的实施例 一起用于解释本公开, 并不构成对本公开的限制。 在附图中:
图 1是根据一示例性实施例示出的一种图像的处理的主要方法流程图;
图 2A是根据一示例性实施例示出的一种图像的处理方法的第一种实施方式流程图; 图 2B是根据一示例性实施例示出的一种识别出照片中的人脸示意图;
图 3是根据一示例性实施例示出的一种图像的处理方法的第二种实施方式流程图; 图 4是根据一示例性实施例示出的一种图像的处理方法的第三种实施方式流程图; 图 5A是根据一示例性实施例示出的一种图像的处理方法的第四种实施方式流程图; 图 5B是根据一示例性实施例示出的一种图像处理后的效果示意图;
图 6是根据一示例性实施例示出的一种图像的处理装置的主要结构示意图; 图 7 是根据一示例性实施例示出的一种图像的处理装置中识别模块的详细结构示意 图;
图 8是根据一示例性实施例示出的一种图像的处理装置的详细结构示意图; 图 9 是根据一示例性实施例示出的一种图像的处理装置中处理模块的第一种详细结 构示意图;
图 10是根据一示例性实施例示出的一种图像的处理装置中处理模块的第二种详细结 构示意图;
图 11是根据一示例性实施例示出的一种图像的处理装置中处理模块的第三种详细结 构示意图;
图 12是根据一示例性实施例示出的一种图像的处理装置中处理模块的第四种详细结 构示意图;
图 13是根据一示例性实施例示出的一种图像的处理装置另一种详细结构示意图; 图 14是根据一示例性实施例示出的一种图像的处理装置中处理模块的第五种详细结 构示意图;
图 15是根据一示例性实施例示出的一种终端设备结构示意图。 具体实施方式
以下结合附图对本公开的实施例进行说明, 应当理解, 此处所描述的实施例仅用于说 明和解释本公开, 并不用于限定本公开。
目前, 对照片进行美颜处理, 需要用户手动选择美颜项目以及每个项目的美颜参数, 使用不智能, 且效率低。 本公开实施例能够自动匹配对应的美颜模式, 避免手动设置美颜 参数, 提高使用效率。
如图 1所示为本公开实施例中图像的处理的主要方法流程, 包括以下步骤 11-13: 步骤 11、 获取图像, 识别图像中包含的人脸。
在一个实施例中, 获取图像可以是获取通过摄像头拍摄的图像, 也可以是获取从图库 中选择的图像, 以满足用户不同的需求。 其中, 当获取图像是获取通过前置摄像头拍摄的 图像时, 在获取通过前置摄像头拍摄的图像之前, 可以时刻监测前置摄像头是否处于开启 状态, 当监测到前置摄像头处于开启状态时, 则自动获取前置摄像头拍摄的图像。
人脸识别, 是通过分析比较人脸视觉特征信息进行身份鉴别, 它属于生物特征识别技 术, 是对生物体 (一般特指人)本身的生物特征来区分生物体个体。 目前, 人脸识别技术 已应用在众多领域当中, 例如, 数码相机人脸自动对焦和笑脸快门技术; 企业、 住宅安全 和管理; 门禁***; 摄像监视***等。 常用的人脸识别算法包括: 基于人脸特征点的识别 算法 ( Feature-based recognition algorithms ) 、 基于整幅人脸图像的识别算法 ( Appearance-based recognition algorithms ) 、 基于模板的识另 ll算、法 ( Template-based recognition algorithms)、禾1 J用神经网络进行识另 ll的算法 (Recognition algorithms using neural network) 等等。
步骤 12、 根据图像中的人脸获取人物属性信息。
在一个实施例中, 人物属性信息可以是人物身份、 年龄或者性别等等。
例如, 预先在数据库中存储了人脸与人物身份、 年龄或者性别的对应关系, 将图像中 的人脸与该数据库中人脸进行匹配, 获得图像中的人脸对应的人物身份、 年龄或者性别。
步骤 13、 根据人物属性信息对图像进行处理, 获得处理后的图像。
针对不同的人物属性信息, 上述步骤 13 中 "根据人物属性信息对图像进行处理" 的 处理方式有所不同, 下面详细说明不同的人物属性信息对应的处理方式。 第一种
当人物属性信息是人物身份时, 上述步骤 13中 "根据人物属性信息对图像进行处理" 可包括以下步骤 A1-A2:
步骤 Al、 获取预先设置的与人物身份对应的美颜模式。
步骤 A2、 采用与人物身份对应的美颜模式对图像进行处理。
第二种
当人物属性信息是人物年龄和性别时, 上述步骤 13 中 "根据人物属性信息对图像进 行处理"可包括以下步骤 B1-B2:
步骤 Bl、 获取预先设置的与人物年龄和性别对应的美颜模式。
步骤 B2、 采用与人物年龄和性别对应的美颜模式对图像进行处理。
第三种
当人物属性信息是人物年龄时, 上述步骤 13中 "根据人物属性信息对图像进行处理" 可包括以下步骤 C1-C2:
步骤 Cl、 获取预先设置的与人物年龄对应的美颜模式。
步骤 C2、 采用与人物年龄对应的美颜模式对图像进行处理。
第四种
当人物属性信息是人物性别时, 上述步骤 13中 "根据人物属性信息对图像进行处理" 可包括以下步骤 D1-D2:
步骤 Dl、 获取预先设置的与人物性别对应的美颜模式。
步骤 D2、 采用与人物性别对应的美颜模式对图像进行处理。
第五种
当图像中包含多个人脸时, 上述步骤 12可包括以下步骤 E, 且上述步骤 13中 "根据 人物属性信息对图像进行处理"可包括以下步骤 F1-F2:
步骤 E、 根据图像中的多个人脸, 分别获取多个人脸各自的人物年龄和性别。
步骤 Fl、 获取预先设置的与多个人脸各自的人物年龄和性别对应的美颜模式。
步骤 F2、 采用与多个人脸各自的人物年龄和性别对应的美颜模式对图像中的多个人 脸进行处理。
上述第一种至第五种方案中,可以根据人物身份、年龄或者性别匹配对应的美颜模式, 并采用相应的美颜模式对图像进行处理, 满足了不同用户的需求; 并且当图像中包含多个 人脸时, 还可以对各个人脸匹配对应的美颜模式, 采用相应的美颜模式对各个人脸进行处 理。
在一个实施例中, 上述第一种至第五种方案中, 预先设置的美颜模式可包括: 预设的 美颜项目和针对美颜项目设置的美颜级别。 其中, 预设的美颜项目可包括: 磨皮美白、 祛 斑祛痘、 瘦脸瘦身、 祛黑眼圈、 美化眼睛、 亮眼或者美颜特效等。 例如, 美颜级别设置有 0至 3四个级别, 其中, 0级别表示不美颜, 1级别表示轻度美颜, 2级别表示中度美颜, 3级别表示深度美颜, 预设的美颜项目为上述 7种美颜项目, 即磨皮美白、 祛斑祛痘、 瘦 脸瘦身、 祛黑眼圈、 美化眼睛、 亮眼和美颜特效, 那么, 美颜模式 2222222表示中度磨皮 美白、 中度祛斑祛痘、 中度瘦脸瘦身、 中度祛黑眼圈、 中度美化眼睛、 中度亮眼和中度美 颜特效。
另外, 在一个实施例中, 上述步骤 13 中 "根据人物属性信息对图像进行处理"还可 包括以下步骤 G1-G2:
步骤 Gl、 采用预设的图形标记出图像中的人脸。
步骤 G2、 在预设的图形的一侧显示与人物属性信息对应的昵称。
例如, 可采用方框标记出图像中的人脸, 并根据人物年龄和性别在方框的上方显示相 应的昵称, 其中, 昵称可以是小正太、 小萝莉、 高富帅、 白富美或者老帅哥等。 这样, 根 据人物年龄和性别,能够自动在方框的上方显示相应的昵称,使用户有更丰富的使用体验。
本公开实施例中, 根据自动识别出的图像中的人脸, 获得人物身份、 年龄或者性别, 并匹配与人物身份、年龄或者性别对应的美颜模式,采用匹配的美颜模式对图像进行处理, 避免手动设置美颜参数, 提高使用效率。
需要说明的是, 实际应用中, 上述所有可选实施方式可以采用结合的方式任意组合, 形成本公开的可选实施例, 在此不再一一赘述。
下面通过四个实施例来详细介绍本公开实施例提供的技术方案。
实施例一
如图 2所示为本公开实施例中图像的处理方法的第一种实施方式,该实施例可应用在 这样一个场景: 获取从图库中选择的照片后, 对照片中的人脸进行识别, 识别出照片中的 人脸为用户 A,并且用户 A就是终端设备机主,该终端设备机主预先设置有自己的美颜模 式, 则可采用该预先设置的美颜模式对照片进行美颜处理。 当然, 用户 A也可以不是终端 设备机主, 同样也可以预先设置用户 A的美颜模式,并采用预先设置的美颜模式对照片进 行美颜处理。 该方法包括以下步骤:
步骤 201、 获取从图库中选择的照片。
步骤 202、 识别照片中包含的人脸。
步骤 203、 根据照片中的人脸获取人物身份, 确定人物身份为用户 A。
步骤 204、 获取预先设置的与用户 A对应的美颜模式。
如图 2B所示, 21表示照片中的人脸, 根据照片中的人脸获取人物身份, 确定人物身 份为用户 A。
预先设置的美颜模式可包括:预设的美颜项目和针对美颜项目设置的美颜级别。其中, 预设的美颜项目可包括: 磨皮美白、 祛斑祛痘、 瘦脸瘦身、 祛黑眼圈、 美化眼睛、 亮眼或 者美颜特效等。 例如, 美颜级别设置有 0至 3四个级别, 其中, 0级别表示不美颜, 1级 别表示轻度美颜, 2级别表示中度美颜, 3级别表示深度美颜, 预设的美颜项目为上述 7 种美颜项目, 即磨皮美白、祛斑祛痘、瘦脸瘦身、祛黑眼圈、 美化眼睛、 亮眼和美颜特效。 用户 A预先设置了自己的美颜模式为 2210230, 该美颜模式 2210230表示中度磨皮美白、 中度祛斑祛痘、 轻度瘦脸瘦身、 不祛黑眼圈、 中度美化眼睛、 深度亮眼和不美颜特效。
步骤 205、 采用与用户 A对应的美颜模式对照片进行处理, 获得处理后的照片。 实施例一中, 根据自动识别出的照片中的人脸, 获得人物身份, 并匹配出与人物身份 对应的美颜模式, 采用匹配的美颜模式对照片进行处理, 避免手动设置美颜参数, 提高使 用效率。
实施例二
如图 3所示为本公开实施例中图像的处理方法的第二种实施方式,该实施例可应用在 这样一个场景: 获取用户自拍的照片后, 对照片中的人脸进行识别, 识别出照片中的人脸 的人物年龄和性别, 则可以自动匹配预先设置的与该年龄和性别对应的美颜模式。预先设 置的与年龄和性别对应的美颜模式可参见如下表 1所示: 表 1中包括 7种美颜项目, 依次 为磨皮美白、 祛斑祛痘、 瘦脸瘦身、 祛黑眼圈、 美化眼睛、 亮眼和美颜特效, 并设置有 0 至 3四个级别美颜级别, 其中, 0级别表示不美颜, 1级别表示轻度美颜, 2级别表示中度 美颜, 3级别表示深度美颜, 例如, 美颜模式 2222222表示中度磨皮美白、 中度祛斑祛痘、 中度瘦脸瘦身、 中度祛黑眼圈、 中度美化眼睛、 中度亮眼和中度美颜特效。 当然, 预先设 置的与年龄和性别对应的美颜模式并不局限于表 1中所示,还可以设置其它与年龄和性别 对应的美颜模式, 这里不再一一叙述。
Figure imgf000010_0001
在一个实施例中, 该方法包括以下步骤:
步骤 301、 监测到前置摄像头处于开启状态。
步骤 302、 获取通过前置摄像头拍摄的照片。
步骤 303、 识别照片中包含的人脸。
步骤 304、 根据照片中的人脸获取人物年龄为 25岁, 人物性别为女性。
步骤 305、 获取预先设置的与人物年龄为 25岁和人物性别为女性对应的美颜模式。 匹配上述表 1 中人物年龄为 25 岁, 人物性别为女性的美颜模式, 获得美颜模式为
2222222, 表示中度磨皮美白、 中度祛斑祛痘、 中度瘦脸瘦身、 中度祛黑眼圈、 中度美化 眼睛、 中度亮眼和中度美颜特效。
步骤 306、 采用美颜模式 2222222对照片进行处理, 获得处理后的照片。
在上述步骤 306中, 除了可采用美颜模式 2222222对照片进行处理外, 还可以采用预 设的图形 (例如, 方框、 圆等)标记出照片中的人脸, 并在预设的图形的一侧显示与人物 年龄为 25岁和人物性别为女性对应的昵称, 例如 "邻家女孩" 、 "才女"等。
实施例二中, 根据自动识别出的照片中的人脸, 获得人物年龄和性别, 并匹配与人物 年龄和性别对应的美颜模式, 采用匹配的美颜模式对照片进行处理, 避免手动设置美颜参 数, 提高使用效率。
实施例三
如图 4所示为本公开实施例中图像的处理方法的第三种实施方式,该实施例可应用在 这样一个场景: 获取用户拍摄的照片后, 对照片中的人脸进行识别, 识别出照片中的人脸 为 0-2岁的婴儿, 则不论性别不进行任何美颜。 该方法包括以下步骤:
步骤 401、 获取通过摄像头拍摄的照片。
步骤 402、 识别照片中包含的人脸。
步骤 403、 根据照片中的人脸获取人物年龄为 1岁。
步骤 404、获取预先设置的与人物年龄为 1岁对应的美颜模式,该美颜模式为 0000000, 即不美颜, 结束流程。
实施例三中, 根据自动识别出的照片中的人脸, 获得人物年龄, 并匹配与人物年龄对 应的美颜模式, 采用匹配的美颜模式对照片进行处理, 避免手动设置美颜参数, 提高使用 效率。
实施例四
如图 5A所示为本公开实施例中图像的处理方法的第四种实施方式, 该实施例中应用 在这样一个场景: 获取用户拍摄的照片后, 对照片中的人脸进行识别, 识别出照片中包含 多个人脸, 并识别每个人脸的人物年龄和性别, 对每个人脸的人物年龄和性别匹配预先设 置的美颜模式, 采用各自匹配的美颜模式对每个人脸进行处理。 该方法包括以下步骤: 步骤 501、 获取通过摄像头拍摄的照片。
步骤 502、 识别照片中包含的人脸, 该照片中包含多个人脸。
步骤 503、 获取多个人脸中每个人脸的人物年龄和性别。
步骤 504、 分别获取预先设置的与各个人脸的人物年龄和性别对应的美颜模式。
步骤 505、 采用与各个人脸的人物年龄和性别对应的美颜模式对各个人脸进行处理, 获得处理后的照片。
例如,识别照片中包含三个人脸,三个人脸的人物年龄和性别分别为 2-5岁男性、 18-30 岁男性和 60岁以上男性, 根据上述表 1 中与年龄和性别对应的美颜模式, 这三个人脸的 美颜模式分别为 0000111、 1311222和 1000000,则可采用各自的美颜模式对各个人脸进行 美颜。 上述步骤 505中,除了可采用与各个人脸的人物年龄和性别对应的美颜模式对各个人 脸进行处理外, 还可以采用预设的图形 (例如, 方框、 圆等) 标记出照片中的各个人脸, 并在预设的图形的一侧显示与各个人脸的人物年龄和性别对应的昵称, 例如, 如图 5B所 示, 上述三个人脸标记的预设的图形一侧显示的昵称可分别为 "小正太" 、 "高帅富" 、 "老帅哥" 。
实施例四中, 根据自动识别出的照片中的多个人脸, 获得多个人脸各自的人物年龄和 性别, 并匹配与各自的人物年龄和性别对应的美颜模式, 采用各自匹配的美颜模式分别对 多个人脸进行处理, 避免手动设置美颜参数, 提高使用效率。
以上描述了图像的处理方法实现过程, 该过程可由装置实现, 下面对装置的内部功能 和结构进行介绍。
基于同一公开构思,如图 6所示,本实施例中一种图像的处理装置包括:识别模块 601、 获取模块 602和处理模块 603。
识别模块 601, 用于获取图像, 识别图像中包含的人脸;
获取模块 602, 用于根据图像中的人脸获取人物属性信息;
处理模块 603, 用于根据人物属性信息对图像进行处理, 获得处理后的图像。
在一个实施例中, 如图 7所示, 上述识别模块 601可包括:
图像获取单元 701,用于获取通过摄像头拍摄的图像;或者获取从图库中选择的图像; 识别单元 702, 用于识别图像中包含的人脸。
在一个实施例中, 如图 8所示, 上述图 6展示的装置还可包括:
监测模块 604, 用于当摄像头为前置摄像头时, 图像获取单元 701获取通过前置摄像 头拍摄的图像之前, 监测到前置摄像头处于开启状态。
在一个实施例中, 人物属性信息可包括: 人物身份、 年龄或者性别等。
在一个实施例中, 如图 9所示, 上述处理模块 603可包括:
第一获取单元 901, 用于当人物属性信息包括人物身份时, 获取预先设置的与人物身 份对应的美颜模式;
第一处理单元 902, 用于采用与人物身份对应的美颜模式对图像进行处理, 获得处理 后的图像。
或者, 在一个实施例中, 如图 10所示, 上述处理模块 603可包括:
第二获取单元 1001,用于当人物属性信息包括人物年龄和性别时,获取预先设置的与 人物年龄和性别对应的美颜模式;
第二处理单元 1002,用于采用与人物年龄和性别对应的美颜模式对图像进行处理,获 得处理后的图像。
或者, 在一个实施例中, 如图 11所示, 上述处理模块 603可包括:
第三获取单元 1101,用于当人物属性信息包括人物年龄时,获取预先设置的与人物年 龄对应的美颜模式; 第三处理单元 1102,用于采用与人物年龄对应的美颜模式对图像进行处理,获得处理 后的图像。
或者, 在一个实施例中, 如图 12所示, 上述处理模块 603可包括:
第四获取单元 1201,用于当人物属性信息包括人物性别时,获取预先设置的与人物性 别对应的美颜模式;
第四处理单元 1202,用于采用与人物性别对应的美颜模式对图像进行处理,获得处理 后的图像。
在一个实施例中, 如图 13所示, 上述获取模块 602可包括:
第五获取单元 1301, 用于当图像中包含多个人脸时, 根据图像中的多个人脸, 分别获 取多个人脸各自的人物年龄和性别;
上述处理模块 603可包括:
第六获取单元 1302,用于获取预先设置的与多个人脸各自的人物年龄和性别对应的美 颜模式;
第五处理单元 1303,用于采用与多个人脸各自的人物年龄和性别对应的美颜模式对图 像中的多个人脸进行处理。
在一个实施例中, 预先设置的美颜模式可包括: 预设的美颜项目和针对美颜项目设置 的美颜级别。
在一个实施例中, 预设的美颜项目可包括: 磨皮美白、 祛斑祛痘、 瘦脸瘦身、 祛黑眼 圈、 美化眼睛、 亮眼或者美颜特效等。
另外, 在一个实施例中, 如图 14所示, 上述处理模块 603还可包括:
标记单元 1401, 用于采用预设的图形标记出图像中的人脸;
显示单元 1402, 用于在预设的图形的一侧显示与人物属性信息对应的昵称。
本公开实施例还提出一种终端, 图 15是本公开实施例提供的一种终端设备结构示意 图。 参见图 15, 该终端设备可以用于实施上述实施例中提供的图像的处理方法。
终端设备 800可以包括通信单元 110、 包括有一个或一个以上计算机可读存储介质的 存储器 120、输入单元 130、显示单元 140、传感器 150、音频电路 160、WIFI( Wireless Fidelity, 无线保真) 模块 170、 包括有一个或者一个以上处理核心的处理器 180、 以及电源 190等 部件。 本领域技术人员可以理解, 图 15 中示出的终端设备结构并不构成对终端设备的限 定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。其中- 通信单元 110可用于收发信息或通话过程中, 信号的接收和发送, 该通信单元 110可 以为 RF (Radio Frequency, 射频) 电路、 路由器、 调制解调器、 等网络通信设备。 特别 地, 当通信单元 110为 RF电路时, 将基站的下行信息接收后, 交由一个或者一个以上处 理器 180处理; 另外, 将涉及上行的数据发送给基站。 通常, 作为通信单元的 RF电路包 括但不限于天线、 至少一个放大器、 调谐器、 一个或多个振荡器、 用户身份模块 (SIM) 卡、 收发信机、 耦合器、 LNA (Low Noise Amplifier, 低噪声放大器) 、 双工器等。 此外, 通信单元 110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通 信标准或协议, 包括但不限于 GSM (Global System of Mobile communication, 全球移动通 讯***)、 GPRS (General Packet Radio Service,通用分组无线服务)、 CDMA (Code Division Multiple Access, 码分多址) 、 WCDMA (Wideband Code Division Multiple Access, 宽带 码分多址) 、 LTE (Long Term Evolution, 长期演进) 、 电子邮件、 SMS ( Short Messaging Service, 短消息服务)等。 存储器 120可用于存储软件程序以及模块, 处理器 180通过运 行存储在存储器 120的软件程序以及模块, 从而执行各种功能应用以及数据处理。存储器 120可主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作***、 至少一个 功能所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据 终端设备 800的使用所创建的数据 (比如音频数据、 电话本等)等。 此外, 存储器 120可 以包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。 相应地, 存储器 120还可以包括存储器控制器, 以提供处理器 180和输入单元 130对存储器 120的访问。
输入单元 130可用于接收输入的数字或字符信息, 以及产生与用户设置以及功能控制 有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。输入单元 130可包括触敏表面 131 以及其他输入设备 132。 触敏表面 131, 也称为触摸显示屏或者触控板, 可收集用户在其 上或附近的触摸操作 (比如用户使用手指、 触笔等任何适合的物体或附件在触敏表面 131 上或在触敏表面 131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的, 触敏表面 131可包括触摸检测装置和触摸控制器两个部分。其中, 触摸检测装置检测用户 的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸 检测装置上接收触摸信息, 并将它转换成触点坐标, 再送给处理器 180, 并能接收处理器 180发来的命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多 种类型实现触敏表面 131。除了触敏表面 131,输入单元 130还可以包括其他输入设备 132。 其他输入设备 132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 140可用于显示由用户输入的信息或提供给用户的信息以及终端设备 800的 各种图形用户接口, 这些图形用户接口可以由图形、 文本、 图标、 视频和其任意组合来构 成。 显示单元 140可包括显示面板 141, 可选的, 可以采用 LCD (Liquid Crystal Display, 液晶显示器) 、 OLED (Organic Light-Emitting Diode, 有机发光二极管) 等形式来配置显 示面板 141。 进一步的, 触敏表面 131可覆盖显示面板 141, 当触敏表面 131检测到在其 上或附近的触摸操作后, 传送给处理器 180以确定触摸事件的类型, 随后处理器 180根据 触摸事件的类型在显示面板 141上提供相应的视觉输出。 虽然在图 15 中, 触敏表面 131 与显示面板 141是作为两个独立的部件来实现输入和输入功能, 但是在某些实施例中, 可 以将触敏表面 131与显示面板 141集成而实现输入和输出功能。
终端设备 800还可包括至少一种传感器 150, 比如光传感器、 运动传感器以及其他传 感器。 光传感器可包括环境光传感器及接近传感器, 其中, 环境光传感器可根据环境光线 的明暗来调节显示面板 141的亮度, 接近传感器可在终端设备 800移动到耳边时, 关闭显 示面板 141和 /或背光。作为运动传感器的一种, 重力加速度传感器可检测各个方向上(一 般为三轴)加速度的大小, 静止时可检测出重力的大小及方向, 可用于识别手机姿态的应 用 (比如横竖屏切换、 相关游戏、 磁力计姿态校准) 、 振动识别相关功能 (比如计步器、 敲击)等; 至于终端设备 800还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红外线传感 器等其他传感器, 在此不再赘述。
音频电路 160、扬声器 161, 传声器 162可提供用户与终端设备 800之间的音频接口。 音频电路 160可将接收到的音频数据转换后的电信号, 传输到扬声器 161, 由扬声器 161 转换为声音信号输出; 另一方面, 传声器 162将收集的声音信号转换为电信号, 由音频电 路 160接收后转换为音频数据, 再将音频数据输出处理器 180处理后, 经 RF电路 110以 发送给比如另一终端设备, 或者将音频数据输出至存储器 120以便进一步处理。 音频电路 160还可能包括耳塞插孔, 以提供外设耳机与终端设备 800的通信。
为了实现无线通信,该终端设备上可以配置有无线通信单元 170,该无线通信单元 170 可以为 WIFI模块。 WIFI属于短距离无线传输技术, 终端设备 800通过无线通信单元 170 可以帮助用户收发电子邮件、浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互 联网访问。虽然图 15示出了无线通信单元 170, 但是可以理解的是, 其并不属于终端设备 800的必须构成, 完全可以根据需要在不改变公开的本质的范围内而省略。
处理器 180是终端设备 800的控制中心,利用各种接口和线路连接整个手机的各个部 分, 通过运行或执行存储在存储器 120 内的软件程序和 /或模块, 以及调用存储在存储器 120内的数据, 执行终端设备 800的各种功能和处理数据, 从而对手机进行整体监控。 可 选的, 处理器 180可包括一个或多个处理核心; 处理器 180可集成应用处理器和调制解调 处理器, 其中, 应用处理器主要处理操作***、 用户界面和应用程序等, 调制解调处理器 主要处理无线通信。 可以理解的是, 上述调制解调处理器也可以不集成到处理器 180中。
终端设备 800还包括给各个部件供电的电源 190 (比如电池) , 电源可以通过电源管 理***与处理器 180逻辑相连, 从而通过电源管理***实现管理充电、 放电、 以及功耗管 理等功能。 电源 190还可以包括一个或一个以上的直流或交流电源、 再充电***、 电源故 障检测电路、 电源转换器或者逆变器、 电源状态指示器等任意组件。
尽管未示出, 终端设备 800还可以包括摄像头、 蓝牙模块等, 在此不再赘述。 在本实 施例中, 终端设备还包括有存储器, 以及一个或者一个以上的程序, 其中一个或者一个以 上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以 上程序包含用于进行以下操作的指令:
获取图像, 识别图像中包含的人脸;
根据图像中的人脸获取人物属性信息;
根据人物属性信息对图像进行处理, 获得处理后的图像。 可选地, 存储器还包括进行以下操作的指令:
在一个实施例中, 人物属性信息包括: 人物身份、 年龄和性别中的一项或多项。 在一个实施例中, 当人物属性信息包括人物身份时, 根据人物属性信息对图像进行处 理, 包括- 获取预先设置的与人物身份对应的美颜模式;
采用与人物身份对应的美颜模式对图像进行处理。
在一个实施例中, 当人物属性信息包括人物年龄和性别时, 根据人物属性信息对图像 进行处理, 包括:
获取预先设置的与人物年龄和性别对应的美颜模式;
采用与人物年龄和性别对应的美颜模式对图像进行处理。
在一个实施例中, 当人物属性信息包括人物年龄时, 根据人物属性信息对图像进行处 理, 包括- 获取预先设置的与人物年龄对应的美颜模式;
采用与人物年龄对应的美颜模式对图像进行处理。
在一个实施例中, 当人物属性信息包括人物性别时, 根据人物属性信息对图像进行处 理, 包括- 获取预先设置的与人物性别对应的美颜模式;
采用与人物性别对应的美颜模式对图像进行处理。
当图像中包含多个人脸时, 根据图像中的人脸获取人物属性信息, 包括: 根据图像中 的多个人脸, 分别获取多个人脸各自的人物年龄和性别;
根据人物属性信息对图像进行处理, 包括:
获取预先设置的与多个人脸各自的人物年龄和性别对应的美颜模式;
采用与多个人脸各自的人物年龄和性别对应的美颜模式对图像中的多个人脸进行处 理。
在一个实施例中, 预先设置的美颜模式包括: 预设的美颜项目和针对美颜项目设置的 美颜级别。
在一个实施例中, 预设的美颜项目包括: 磨皮美白、祛斑祛痘、瘦脸瘦身、祛黑眼圈、 美化眼睛、 亮眼和美颜特效中的一项或多项。
在一个实施例中, 获取图像, 包括:
获取通过摄像头拍摄的图像; 或者
获取从图库中选择的图像。
在一个实施例中, 摄像头为前置摄像头;
获取通过前置摄像头拍摄的图像之前, 处理方法还包括:
监测到前置摄像头处于开启状态。
在一个实施例中, 根据人物属性信息对图像进行处理, 还包括: 采用预设的图形标记出图像中的人脸;
在预设的图形的一侧显示与人物属性信息对应的昵称。
本公开实施例中, 根据自动识别出的图像中的人脸, 获得人物身份、 年龄或者性别, 并匹配与人物身份、年龄或者性别对应的美颜模式,采用匹配的美颜模式对图像进行处理, 避免手动设置美颜参数, 提高使用效率。
本领域内的技术人员应明白, 本公开的实施例可提供为方法、 ***、 或计算机程序产 品。 因此, 本公开可采用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。而且, 本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形 式。
本公开是参照根据本公开实施例的方法、 设备 (***) 、 和计算机程序产品的流程图 和 I或方框图来描述的。应理解可由计算机程序指令实现流程图和 I或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品,该指令装置实现在流程图一个流程或多个流程和 I或方框图一个方框或多个 方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和 范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内, 则本公开也意图包含这些改动和变型在内。

Claims

权利要求
1、 一种图像的处理方法, 其特征在于, 包括:
获取图像, 识别图像中包含的人脸;
根据图像中的人脸获取人物属性信息;
根据所述人物属性信息对图像进行处理, 获得处理后的图像。
2、如权利要求 1所述的处理方法, 其特征在于, 所述人物属性信息包括: 人物身份、 年龄和性别中的一项或多项。
3、 如权利要求 2所述的处理方法, 其特征在于, 当所述人物属性信息包括人物身份 时, 所述根据所述人物属性信息对图像进行处理, 包括:
获取预先设置的与所述人物身份对应的美颜模式;
采用与所述人物身份对应的美颜模式对图像进行处理。
4、 如权利要求 2所述的处理方法, 其特征在于, 当所述人物属性信息包括人物年龄 和性别时, 所述根据所述人物属性信息对图像进行处理, 包括:
获取预先设置的与所述人物年龄和性别对应的美颜模式;
采用与所述人物年龄和性别对应的美颜模式对图像进行处理。
5、 如权利要求 2所述的处理方法, 其特征在于, 当所述人物属性信息包括人物年龄 时, 所述根据所述人物属性信息对图像进行处理, 包括:
获取预先设置的与所述人物年龄对应的美颜模式;
采用与所述人物年龄对应的美颜模式对图像进行处理。
6、 如权利要求 2所述的处理方法, 其特征在于, 当所述人物属性信息包括人物性别 时, 所述根据所述人物属性信息对图像进行处理, 包括:
获取预先设置的与所述人物性别对应的美颜模式;
采用与所述人物性别对应的美颜模式对图像进行处理。
7、 如权利要求 2所述的处理方法, 其特征在于,
当所述图像中包含多个人脸时, 所述根据图像中的人脸获取人物属性信息, 包括: 根 据图像中的多个人脸, 分别获取多个人脸各自的人物年龄和性别;
根据所述人物属性信息对图像进行处理, 包括:
获取预先设置的与所述多个人脸各自的人物年龄和性别对应的美颜模式;
采用与所述多个人脸各自的人物年龄和性别对应的美颜模式对所述图像中的多个人 脸进行处理。
8、 如权利要求 3至 7中任一项所述的处理方法, 其特征在于, 所述预先设置的美颜 模式包括: 预设的美颜项目和针对所述美颜项目设置的美颜级别。
9、 如权利要求 8所述的处理方法, 其特征在于, 所述预设的美颜项目包括: 磨皮美 白、 祛斑祛痘、 瘦脸瘦身、 祛黑眼圈、 美化眼睛、 亮眼和美颜特效中的一项或多项。
10、 如权利要求 1所述的处理方法, 其特征在于, 所述获取图像, 包括: 获取通过摄像头拍摄的图像; 或者
获取从图库中选择的图像。
11、 如权利要求 10所述的处理方法, 其特征在于,
所述摄像头为前置摄像头;
所述获取通过所述前置摄像头拍摄的图像之前, 所述处理方法还包括:
监测到所述前置摄像头处于开启状态。
12、 如权利要求 1、 3至 7中任一所述的处理方法, 其特征在于, 所述根据所述人物 属性信息对图像进行处理, 还包括:
采用预设的图形标记出图像中的人脸;
在所述预设的图形的一侧显示与所述人物属性信息对应的昵称。
13、 一种图像的处理装置, 其特征在于, 包括:
识别模块, 用于获取图像, 识别图像中包含的人脸;
获取模块, 用于根据图像中的人脸获取人物属性信息;
处理模块, 用于根据所述人物属性信息对图像进行处理, 获得处理后的图像。
14、 如权利要求 13所述的处理装置, 其特征在于, 所述处理模块包括:
第一获取单元,用于当所述人物属性信息包括人物身份时,获取预先设置的与所述人 物身份对应的美颜模式;
第一处理单元,用于采用与所述人物身份对应的美颜模式对图像进行处理,获得处理 后的图像。
15、 如权利要求 13所述的处理装置, 其特征在于, 所述处理模块包括:
第二获取单元,用于当所述人物属性信息包括人物年龄和性别时,获取预先设置的与 所述人物年龄和性别对应的美颜模式;
第二处理单元,用于采用与所述人物年龄和性别对应的美颜模式对图像进行处理,获 得处理后的图像。
16、 如权利要求 13所述的处理装置, 其特征在于, 所述处理模块包括:
第三获取单元,用于当所述人物属性信息包括人物年龄时,获取预先设置的与所述人 物年龄对应的美颜模式;
第三处理单元,用于采用与所述人物年龄对应的美颜模式对图像进行处理,获得处理 后的图像。
17、 如权利要求 13所述的处理装置, 其特征在于, 所述处理模块包括:
第四获取单元,用于当所述人物属性信息包括人物性别时,获取预先设置的与所述人 物性别对应的美颜模式;
第四处理单元,用于采用与所述人物性别对应的美颜模式对图像进行处理,获得处理 后的图像。
18、 如权利要求 13所述的处理装置, 其特征在于, 所述获取模块包括: 第五获取单元, 用于当所述图像中包含多个人脸时, 根据图像中的多个人脸, 分别获 取多个人脸各自的人物年龄和性别;
所述处理模块包括:
第六获取单元,用于获取预先设置的与所述多个人脸各自的人物年龄和性别对应的美 颜模式;
第五处理单元,用于采用与所述多个人脸各自的人物年龄和性别对应的美颜模式对所 述图像中的多个人脸进行处理。
19、 如权利要求 13所述的处理装置, 其特征在于, 所述识别模块包括:
图像获取单元, 用于获取通过摄像头拍摄的图像; 或者获取从图库中选择的图像; 识别单元, 用于识别图像中包含的人脸。
20、 如权利要求 19所述的处理装置, 其特征在于, 所述处理装置还包括: 监测模块,用于当所述摄像头为前置摄像头时,所述图像获取单元获取通过所述前置 摄像头拍摄的图像之前, 监测到所述前置摄像头处于开启状态。
21、如权利要求 13至 18中任一所述的处理装置,其特征在于,所述处理模块还包括: 标记单元, 用于采用预设的图形标记出图像中的人脸;
显示单元, 用于在所述预设的图形的一侧显示与所述人物属性信息对应的昵称。
22、一种终端设备, 其特征在于, 终端设备包括有存储器, 以及一个或者一个以上的 程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理 器执行所述一个或者一个以上程序包含用于进行以下操作的指令- 获取图像, 识别图像中包含的人脸;
根据图像中的人脸获取人物属性信息;
根据所述人物属性信息对图像进行处理, 获得处理后的图像。
PCT/CN2014/072373 2013-08-15 2014-02-21 一种图像的处理方法、装置和终端设备 WO2015021764A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
MX2015007253A MX355888B (es) 2013-08-15 2014-02-21 Método de procesamiento de imágenes y aparato y dispositivo de terminal.
KR1020157013716A KR20150079804A (ko) 2013-08-15 2014-02-21 이미지 처리 방법, 장치, 단말기기, 프로그램 및 기록매체
RU2015121496A RU2626090C2 (ru) 2013-08-15 2014-02-21 Способ, устройство и оконечное устройство для обработки изображения
BR112015014286A BR112015014286A2 (pt) 2013-08-15 2014-02-21 método e aparelho para processar uma imagem
JP2015543302A JP6272342B2 (ja) 2013-08-15 2014-02-21 画像処理方法、画像処理装置、端末装置、プログラム及び記録媒体
EP14835945.8A EP3035283A4 (en) 2013-08-15 2014-02-21 Image processing method and apparatus, and terminal device
US14/287,196 US9779527B2 (en) 2013-08-15 2014-05-27 Method, terminal device and storage medium for processing image

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310357087.3 2013-08-15
CN2013103570873A CN103413270A (zh) 2013-08-15 2013-08-15 一种图像的处理方法、装置和终端设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/287,196 Continuation US9779527B2 (en) 2013-08-15 2014-05-27 Method, terminal device and storage medium for processing image

Publications (1)

Publication Number Publication Date
WO2015021764A1 true WO2015021764A1 (zh) 2015-02-19

Family

ID=49606275

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/072373 WO2015021764A1 (zh) 2013-08-15 2014-02-21 一种图像的处理方法、装置和终端设备

Country Status (8)

Country Link
EP (1) EP3035283A4 (zh)
JP (1) JP6272342B2 (zh)
KR (1) KR20150079804A (zh)
CN (1) CN103413270A (zh)
BR (1) BR112015014286A2 (zh)
MX (1) MX355888B (zh)
RU (1) RU2626090C2 (zh)
WO (1) WO2015021764A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010496A (zh) * 2019-12-24 2020-04-14 维沃移动通信(杭州)有限公司 一种图像处理方法及电子设备

Families Citing this family (117)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905707A (zh) * 2012-12-24 2014-07-02 腾讯科技(深圳)有限公司 一种摄像装置的控制方法及装置
US9779527B2 (en) 2013-08-15 2017-10-03 Xiaomi Inc. Method, terminal device and storage medium for processing image
CN103413270A (zh) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 一种图像的处理方法、装置和终端设备
CN103605975B (zh) * 2013-11-28 2018-10-19 小米科技有限责任公司 一种图像处理的方法、装置及终端设备
CN104680119B (zh) * 2013-11-29 2017-11-28 华为技术有限公司 图像身份识别方法和相关装置及身份识别***
CN103716547A (zh) * 2014-01-15 2014-04-09 厦门美图之家科技有限公司 一种智能模式的拍照方法
CN103761536B (zh) * 2014-01-28 2017-03-22 五邑大学 基于无监督最优美丽特征和深度评价模型的人脸美化方法
CN103795931B (zh) * 2014-02-20 2017-12-29 联想(北京)有限公司 一种信息处理方法及电子设备
CN103763476A (zh) * 2014-02-20 2014-04-30 北京百纳威尔科技有限公司 拍摄参数的设置方法及装置
KR102327779B1 (ko) 2014-02-21 2021-11-18 삼성전자주식회사 이미지 처리 방법 및 장치
CN103823678B (zh) * 2014-02-21 2018-07-03 联想(北京)有限公司 图像处理方法和图像处理装置
CN103927372B (zh) * 2014-04-24 2017-09-29 厦门美图之家科技有限公司 一种基于用户语义的图像处理方法
CN105303149B (zh) * 2014-05-29 2019-11-05 腾讯科技(深圳)有限公司 人物图像的展示方法和装置
CN105225212B (zh) * 2014-06-27 2018-09-28 腾讯科技(深圳)有限公司 一种图片处理方法和装置
CN105321139A (zh) * 2014-07-08 2016-02-10 腾讯科技(深圳)有限公司 图片处理方法及装置
CN104217397B (zh) * 2014-08-21 2018-05-15 深圳市金立通信设备有限公司 一种图像处理方法
CN104219443A (zh) * 2014-08-21 2014-12-17 深圳市金立通信设备有限公司 一种终端
CN105574006A (zh) 2014-10-10 2016-05-11 阿里巴巴集团控股有限公司 建立拍照模板数据库、提供拍照推荐信息的方法及装置
CN104392409B (zh) * 2014-12-01 2018-05-01 厦门美图之家科技有限公司 一种图像美容的加速方法
CN104503749B (zh) * 2014-12-12 2017-11-21 广东欧珀移动通信有限公司 照片处理方法和电子设备
CN104537608A (zh) * 2014-12-31 2015-04-22 深圳市中兴移动通信有限公司 一种图像处理的方法及其装置
CN104537630A (zh) * 2015-01-22 2015-04-22 厦门美图之家科技有限公司 一种基于年龄估计的图像美颜方法和装置
CN104715236A (zh) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 一种美颜拍照方法及装置
CN104754221B (zh) * 2015-03-11 2018-11-16 广东欧珀移动通信有限公司 一种拍照方法及移动终端
CN104735354B (zh) * 2015-03-13 2018-01-19 广东欧珀移动通信有限公司 一种拍摄图像的方法及装置
CN104902188A (zh) * 2015-06-19 2015-09-09 中科创达软件股份有限公司 一种图像处理方法、***和图像采集设备
CN104994363B (zh) * 2015-07-02 2017-10-20 广东欧珀移动通信有限公司 一种基于服饰的美颜方法、装置及智能终端
CN105069007B (zh) * 2015-07-02 2018-01-19 广东欧珀移动通信有限公司 一种建立美颜数据库的方法及装置
CN104966267B (zh) * 2015-07-02 2018-01-19 广东欧珀移动通信有限公司 一种美颜用户图像的方法及装置
CN104951770B (zh) * 2015-07-02 2018-09-04 广东欧珀移动通信有限公司 人脸图像数据库的构建方法、应用方法及相应装置
CN105096241A (zh) * 2015-07-28 2015-11-25 努比亚技术有限公司 人脸图像美化装置及方法
CN106412458A (zh) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 一种图像处理方法和装置
CN106469291A (zh) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 图像处理方法及终端
CN106507021A (zh) * 2015-09-07 2017-03-15 腾讯科技(深圳)有限公司 视频处理方法及终端设备
CN105187724B (zh) * 2015-09-17 2019-07-19 努比亚技术有限公司 一种处理图像的移动终端和方法
CN105306815A (zh) * 2015-09-30 2016-02-03 努比亚技术有限公司 一种拍摄模式切换装置、方法及移动终端
CN105279487B (zh) * 2015-10-15 2022-03-15 Oppo广东移动通信有限公司 美颜工具筛选方法和***
CN105335709A (zh) * 2015-10-21 2016-02-17 奇酷互联网络科技(深圳)有限公司 面部识别显示方法、面部识别显示装置和终端
CN105512615B (zh) * 2015-11-26 2019-02-19 小米科技有限责任公司 图片处理方法及装置
CN105357449A (zh) * 2015-11-26 2016-02-24 小米科技有限责任公司 拍摄方法、装置及图像处理方法、装置
CN106940880A (zh) * 2016-01-04 2017-07-11 中兴通讯股份有限公司 一种美颜处理方法、装置和终端设备
CN105721770A (zh) * 2016-01-20 2016-06-29 广东欧珀移动通信有限公司 一种拍照的控制方法及装置
CN105739860B (zh) * 2016-01-25 2019-02-22 Oppo广东移动通信有限公司 一种图片生成方法及移动终端
CN105530434A (zh) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 一种拍摄方法及终端
CN105869111B (zh) * 2016-04-05 2019-03-22 Oppo广东移动通信有限公司 多人合照时的肤色调节方法和装置
US10091414B2 (en) 2016-06-24 2018-10-02 International Business Machines Corporation Methods and systems to obtain desired self-pictures with an image capture device
CN106210521A (zh) * 2016-07-15 2016-12-07 深圳市金立通信设备有限公司 一种拍照方法及终端
JP6421794B2 (ja) * 2016-08-10 2018-11-14 カシオ計算機株式会社 画像処理装置、画像処理方法及びプログラム
CN106326849A (zh) * 2016-08-17 2017-01-11 北京小米移动软件有限公司 美颜处理方法及装置
CN106341601A (zh) * 2016-09-23 2017-01-18 努比亚技术有限公司 移动终端及拍照方法
US11553157B2 (en) 2016-10-10 2023-01-10 Hyperconnect Inc. Device and method of displaying images
CN106530217A (zh) * 2016-10-28 2017-03-22 维沃移动通信有限公司 一种照片处理方法及移动终端
CN106791365A (zh) * 2016-11-25 2017-05-31 努比亚技术有限公司 人脸图像预览处理方法及装置
CN108234855A (zh) * 2016-12-14 2018-06-29 法乐第(北京)网络科技有限公司 摄影方法和摄影装置
CN106791394A (zh) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 图像处理方法及装置
CN106682187B (zh) * 2016-12-29 2020-04-17 北京旷视科技有限公司 用于建立图像底库的方法及装置
CN106855744B (zh) * 2016-12-30 2019-02-15 维沃移动通信有限公司 一种屏幕显示方法及移动终端
CN108268227B (zh) * 2017-01-04 2020-12-01 京东方科技集团股份有限公司 显示设备
CN106851100B (zh) * 2017-01-20 2020-04-24 珠海市魅族科技有限公司 一种照片处理方法和***
CN107123081A (zh) * 2017-04-01 2017-09-01 北京小米移动软件有限公司 图像处理方法、装置及终端
CN108229278B (zh) * 2017-04-14 2020-11-17 深圳市商汤科技有限公司 人脸图像处理方法、装置和电子设备
CN108229279B (zh) 2017-04-14 2020-06-02 深圳市商汤科技有限公司 人脸图像处理方法、装置和电子设备
KR101932844B1 (ko) 2017-04-17 2018-12-27 주식회사 하이퍼커넥트 영상 통화 장치, 영상 통화 방법 및 영상 통화 중개 방법
JP6812629B2 (ja) * 2017-04-28 2021-01-13 株式会社ミクシィ 画像処理装置、画像処理装置の制御方法及び画像処理装置の制御プログラム
CN107231470B (zh) * 2017-05-15 2020-06-23 努比亚技术有限公司 图像处理方法、移动终端及计算机可读存储介质
CN107274355A (zh) * 2017-05-22 2017-10-20 奇酷互联网络科技(深圳)有限公司 图像处理方法、装置和移动终端
CN107369126A (zh) * 2017-06-07 2017-11-21 维沃移动通信有限公司 一种人脸图像处理方法和装置
CN107301626B (zh) * 2017-06-22 2020-11-06 成都品果科技有限公司 一种适合移动设备拍摄图像的磨皮算法
CN107463922B (zh) * 2017-08-17 2020-02-14 北京星选科技有限公司 信息显示方法、信息匹配方法、对应的装置和电子设备
CN107545536A (zh) * 2017-08-17 2018-01-05 上海展扬通信技术有限公司 一种智能终端的图像处理方法及图像处理***
CN107563316A (zh) * 2017-08-22 2018-01-09 努比亚技术有限公司 一种拍摄方法、终端及计算机可读存储介质
CN107317974B (zh) * 2017-08-23 2020-02-21 三星电子(中国)研发中心 一种美妆拍照方法和装置
CN107633480A (zh) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 一种图像处理方法和装置
CN107633488A (zh) * 2017-09-14 2018-01-26 光锐恒宇(北京)科技有限公司 一种图像处理方法和装置
CN107592458B (zh) * 2017-09-18 2020-02-14 维沃移动通信有限公司 一种拍摄方法及移动终端
CN107483833A (zh) * 2017-09-22 2017-12-15 维沃移动通信有限公司 一种相机功能的显示方法及移动终端
WO2019071381A1 (zh) * 2017-10-09 2019-04-18 深圳传音通讯有限公司 一种录像方法、装置及终端
CN107909551A (zh) * 2017-10-30 2018-04-13 珠海市魅族科技有限公司 图像处理方法、装置、计算机装置及计算机可读存储介质
CN107862673B (zh) * 2017-10-31 2021-08-24 北京小米移动软件有限公司 图像处理方法及装置
CN107680128B (zh) 2017-10-31 2020-03-27 Oppo广东移动通信有限公司 图像处理方法、装置、电子设备及计算机可读存储介质
CN107798652A (zh) * 2017-10-31 2018-03-13 广东欧珀移动通信有限公司 图像处理方法、装置、可读存储介质和电子设备
CN111526290B (zh) * 2017-11-08 2021-09-28 Oppo广东移动通信有限公司 图像处理方法、装置、终端及存储介质
CN107948506A (zh) * 2017-11-22 2018-04-20 珠海格力电器股份有限公司 一种图像处理方法、装置及电子设备
CN107993209B (zh) * 2017-11-30 2020-06-12 Oppo广东移动通信有限公司 图像处理方法、装置、计算机可读存储介质和电子设备
CN107911609B (zh) * 2017-11-30 2020-09-22 Oppo广东移动通信有限公司 图像处理方法、装置、计算机可读存储介质和电子设备
CN107862654A (zh) * 2017-11-30 2018-03-30 广东欧珀移动通信有限公司 图像处理方法、装置、计算机可读存储介质和电子设备
CN108079579B (zh) * 2017-12-28 2021-09-28 珠海豹好玩科技有限公司 一种图像处理方法、装置以及终端
KR102500624B1 (ko) * 2018-02-01 2023-02-16 라인플러스 주식회사 얼굴 인식에 기초하여 정보를 제공하는 방법과 시스템 및 비-일시적인 컴퓨터 판독 가능한 기록 매체
KR20190098518A (ko) 2018-02-14 2019-08-22 주식회사 하이퍼커넥트 서버 및 그것의 동작 방법
CN108335276A (zh) * 2018-03-05 2018-07-27 广东欧珀移动通信有限公司 图像美颜方法、装置和终端设备
JP7034808B2 (ja) * 2018-04-03 2022-03-14 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ 情報処理方法、情報処理装置及び情報処理システム
CN108615219A (zh) * 2018-04-28 2018-10-02 东莞市华睿电子科技有限公司 一种智能终端的图像美化处理方法
CN108495049A (zh) * 2018-06-15 2018-09-04 Oppo广东移动通信有限公司 拍摄控制方法及相关产品
CN108833779B (zh) * 2018-06-15 2021-05-04 Oppo广东移动通信有限公司 拍摄控制方法及相关产品
CN110163050B (zh) * 2018-07-23 2022-09-27 腾讯科技(深圳)有限公司 一种视频处理方法及装置、终端设备、服务器及存储介质
CN108986051A (zh) * 2018-07-23 2018-12-11 刘素青 基于面部检测的脸颊修图机构
CN109284694A (zh) * 2018-08-31 2019-01-29 Oppo广东移动通信有限公司 图像处理方法和装置、电子设备、计算机可读存储介质
CN111028138A (zh) * 2018-10-10 2020-04-17 北京奇虎科技有限公司 一种智能穿衣镜自拍***
CN109451235B (zh) * 2018-10-29 2021-03-05 维沃移动通信有限公司 一种图像处理方法及移动终端
CN109591059B (zh) * 2018-12-07 2020-12-11 安徽省华腾农业科技有限公司经开区分公司 扩展型旋转式刮胡器
CN109903249A (zh) * 2019-01-29 2019-06-18 贾广袖 基于面容识别的美颜处理方法、存储设备及移动终端
CN109819167B (zh) * 2019-01-31 2020-11-03 维沃移动通信有限公司 一种图像处理方法、装置和移动终端
CN110222567B (zh) * 2019-04-30 2021-01-08 维沃移动通信有限公司 一种图像处理方法及设备
KR102282963B1 (ko) 2019-05-10 2021-07-29 주식회사 하이퍼커넥트 단말기, 서버 및 그것의 동작 방법
CN110490794A (zh) * 2019-08-09 2019-11-22 三星电子(中国)研发中心 基于人工智能的人物图像处理方法及装置
CN110688948B (zh) * 2019-09-26 2022-11-15 北京百度网讯科技有限公司 视频中人脸性别变换方法、装置、电子设备和存储介质
KR102311603B1 (ko) 2019-10-01 2021-10-13 주식회사 하이퍼커넥트 단말기 및 그것의 동작 방법
CN111145082A (zh) * 2019-12-23 2020-05-12 五八有限公司 人脸图像处理方法、装置、电子设备及存储介质
CN111093035B (zh) * 2019-12-31 2022-12-27 维沃移动通信有限公司 图像处理方法、电子设备及存储介质
CN111182214A (zh) * 2019-12-31 2020-05-19 维沃移动通信有限公司 图像显示方法、电子设备和存储介质
KR102293422B1 (ko) 2020-01-31 2021-08-26 주식회사 하이퍼커넥트 단말기 및 그것의 동작 방법
CN111507889A (zh) * 2020-04-13 2020-08-07 北京字节跳动网络技术有限公司 图像处理方法、装置、电子设备及计算机可读存储介质
CN111681179A (zh) * 2020-05-22 2020-09-18 浙江大华技术股份有限公司 屏端显示方法、装置、计算机设备和计算机可读存储介质
CN111626303B (zh) * 2020-05-29 2021-04-13 南京甄视智能科技有限公司 性别和年龄的识别方法、装置、存储介质及服务器
CN111627086A (zh) * 2020-06-03 2020-09-04 上海商汤智能科技有限公司 一种头像的展示方法、装置、计算机设备及存储介质
CN112714251A (zh) * 2020-12-24 2021-04-27 联想(北京)有限公司 一种拍摄方法及拍摄终端
CN112843709B (zh) * 2020-12-31 2023-05-26 上海米哈游天命科技有限公司 一种拍摄方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475969A (zh) * 2002-05-31 2004-02-18 ��˹���´﹫˾ 用于增强人像图像的方法和***
CN101247482A (zh) * 2007-05-16 2008-08-20 北京思比科微电子技术有限公司 一种实现动态图像处理的方法和装置
US20090273667A1 (en) * 2006-04-11 2009-11-05 Nikon Corporation Electronic Camera
JP2010086379A (ja) * 2008-10-01 2010-04-15 Seiko Epson Corp 画像処理装置、画像処理方法、及びプログラム
CN103413270A (zh) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 一种图像的处理方法、装置和终端设备

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4277534B2 (ja) * 2003-02-12 2009-06-10 オムロン株式会社 画像編集装置および画像編集方法
JP4574249B2 (ja) * 2004-06-29 2010-11-04 キヤノン株式会社 画像処理装置及びその方法、プログラム、撮像装置
JP2007257585A (ja) * 2006-03-27 2007-10-04 Fujifilm Corp 画像処理方法および装置ならびにプログラム
US8208694B2 (en) * 2006-06-06 2012-06-26 Thomas Jelonek Method and system for image and video analysis, enhancement and display for communication
JP2008234342A (ja) * 2007-03-20 2008-10-02 Fujifilm Corp 画像処理装置及び画像処理方法
US8180112B2 (en) * 2008-01-21 2012-05-15 Eastman Kodak Company Enabling persistent recognition of individuals in images
RU2381553C1 (ru) * 2008-06-24 2010-02-10 Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." Способ и система для распознавания лица с учетом списка людей, не подлежащих проверке
JP2010171841A (ja) * 2009-01-26 2010-08-05 Panasonic Corp 撮像装置
US20110007141A1 (en) * 2009-07-09 2011-01-13 Sony Corporation System and method for displaying content on a television in standby mode
JP2012141475A (ja) * 2011-01-04 2012-07-26 Nikon Corp 撮像装置及び撮像方法
JP2012198781A (ja) * 2011-03-22 2012-10-18 Sony Corp 情報処理装置、情報処理方法およびプログラム
CN103268475A (zh) * 2013-05-10 2013-08-28 中科创达软件股份有限公司 一种基于人脸、肤色检测的皮肤美容方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475969A (zh) * 2002-05-31 2004-02-18 ��˹���´﹫˾ 用于增强人像图像的方法和***
US20090273667A1 (en) * 2006-04-11 2009-11-05 Nikon Corporation Electronic Camera
CN101247482A (zh) * 2007-05-16 2008-08-20 北京思比科微电子技术有限公司 一种实现动态图像处理的方法和装置
JP2010086379A (ja) * 2008-10-01 2010-04-15 Seiko Epson Corp 画像処理装置、画像処理方法、及びプログラム
CN103413270A (zh) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 一种图像的处理方法、装置和终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3035283A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010496A (zh) * 2019-12-24 2020-04-14 维沃移动通信(杭州)有限公司 一种图像处理方法及电子设备
CN111010496B (zh) * 2019-12-24 2022-07-08 维沃移动通信(杭州)有限公司 一种图像处理方法及电子设备

Also Published As

Publication number Publication date
KR20150079804A (ko) 2015-07-08
MX355888B (es) 2018-05-02
CN103413270A (zh) 2013-11-27
EP3035283A4 (en) 2018-02-28
JP2016503546A (ja) 2016-02-04
MX2015007253A (es) 2015-08-12
RU2015121496A (ru) 2017-04-05
JP6272342B2 (ja) 2018-01-31
BR112015014286A2 (pt) 2017-07-11
RU2626090C2 (ru) 2017-07-21
EP3035283A1 (en) 2016-06-22

Similar Documents

Publication Publication Date Title
WO2015021764A1 (zh) 一种图像的处理方法、装置和终端设备
US9779527B2 (en) Method, terminal device and storage medium for processing image
US10445482B2 (en) Identity authentication method, identity authentication device, and terminal
JP6309540B2 (ja) 画像処理方法、画像処理装置、端末装置、プログラム、及び記録媒体
WO2018103525A1 (zh) 人脸关键点跟踪方法和装置、存储介质
WO2020020063A1 (zh) 对象识别方法及移动终端
RU2632153C2 (ru) Способ, устройство и терминал для отображения виртуальной клавиатуры
WO2016155331A1 (zh) 一种基于穿戴设备的信息传递方法及相关设备
CN108108649B (zh) 身份验证方法及装置
CN108388414B (zh) 终端的灭屏控制方法和装置、计算机可读存储介质、终端
KR101977526B1 (ko) 화상 스플라이싱 방법, 단말, 및 시스템
EP2911417B1 (en) Method for communicating with neighbor device, electronic device and storage medium
CN106203254B (zh) 一种调整拍照方向的方法及装置
WO2019105237A1 (zh) 图像处理方法、计算机设备和计算机可读存储介质
EP3015957A1 (en) Electronic device and method for controlling external object
CN109639569B (zh) 一种社交通信方法及终端
WO2019114522A1 (zh) 屏幕控制方法、屏幕控制装置及移动终端
KR101641424B1 (ko) 단말기 및 그 동작 방법
EP3172638B1 (en) Method of controlling display of electronic device and electronic device thereof
US20180249056A1 (en) Mobile terminal and method for controlling same
CN107678672A (zh) 一种显示处理方法及移动终端
CN109683768A (zh) 一种应用的操作方法及移动终端
CN112449098B (zh) 一种拍摄方法、装置、终端及存储介质
CN111061369A (zh) 交互方法、装置、设备及存储介质
CN109618234A (zh) 视频播放控制方法、装置、移动终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14835945

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20157013716

Country of ref document: KR

Kind code of ref document: A

Ref document number: 2015543302

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2015/007253

Country of ref document: MX

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112015014286

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2015121496

Country of ref document: RU

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2014835945

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 112015014286

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20150617