Movatterモバイル変換


[0]ホーム

URL:


CN110992276A - Image processing method, device, medium and electronic equipment - Google Patents

Image processing method, device, medium and electronic equipment
Download PDF

Info

Publication number
CN110992276A
CN110992276ACN201911127413.5ACN201911127413ACN110992276ACN 110992276 ACN110992276 ACN 110992276ACN 201911127413 ACN201911127413 ACN 201911127413ACN 110992276 ACN110992276 ACN 110992276A
Authority
CN
China
Prior art keywords
target face
adjusting
parameter
adjusted
adjustment
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201911127413.5A
Other languages
Chinese (zh)
Inventor
张兴华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co LtdfiledCriticalBeijing ByteDance Network Technology Co Ltd
Priority to CN201911127413.5ApriorityCriticalpatent/CN110992276A/en
Publication of CN110992276ApublicationCriticalpatent/CN110992276A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention provides an image processing method, an image processing device, a medium and an electronic device, wherein the image processing method comprises the following steps: determining a matched first processing template according to the target face and the geographic position information; determining a first adjusting parameter according to the target face and the first processing template, wherein the first adjusting parameter comprises a first adjusting sub-parameter for adjusting the skin color of the target face, a second adjusting sub-parameter for adjusting the five sense organs of the target face and a third adjusting sub-parameter for adjusting the face shape of the target face; and adjusting the target face according to the first adjustment parameter to obtain the adjusted target face. According to the technical scheme provided by the invention, the processing template can be determined in a targeted manner according to the preference of different users in different geographic positions on image processing related to beauty, the adjustment parameters are determined based on the processing template, and the target face is adjusted through the adjustment parameters to obtain the adjusted target face.

Description

Image processing method, device, medium and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to an image processing method, an image processing device, an image processing medium and electronic equipment.
Background
At present, beauty almost becomes an essential function of a camera, and some camera-type apps for beauty are diversified. Then, when the beauty camera products are internationalized, a problem of headache of people is encountered, namely, definition of beauty is different in different countries and groups. For example:
common aesthetic differences between different countries/ethnic groups are:
for example, in east asia, japanese korea, india, etc. are generally beautiful with "white", and therefore whitening and fine-adjustment of facial shapes are central requirements, and among them, the demand for makeup and skin polishing is not so strong as compared with china because japanese korea cosmetics are popular.
For example, in south-east asia, etc., natural skin color is relatively worried, but relatively strong demands are made on fine adjustment of skin polishing, facial form, body type, and the like.
As another example, in europe and america: many complexion of people are various, and average aesthetic is high, and has stronger affirmation to oneself, needs more natural effect, more pays close attention to and goes to catch things that take place now, relatively speaking, real-time filter camera is more practical a bit to them, and cover individual filter just can obtain more three-dimensional five sense organs, complexion and correct, stylized oneself fast.
As another example, the common differences in religious beliefs for beauty are:
persons with different religious beliefs, such as Islam, Buddhist beliefs in southeast Asia countries, Indian religious beliefs in India, etc., are influenced by some religious factors in aesthetic sense, and have preference for some religious ornamentations and dresses.
In summary, the existing image processing method with a beauty function is too single, and an image obtained through image processing can only meet the aesthetic preference of users in a certain region of a certain country, and image processing software consistent with the aesthetic preference of the users needs to be developed for different regions of different countries, so that not only is the software development cost increased, but also the users need to install multiple types of image processing software for realizing different beauty effects, and the overhead of a memory of a client is increased.
Therefore, in the long-term research and development, the inventors have conducted a great deal of research and study on an image processing method, and have proposed an image processing method to solve one of the above-mentioned technical problems.
Disclosure of Invention
An object of the present invention is to provide an image processing method, apparatus, medium, and electronic device, which can solve at least one of the above-mentioned technical problems. The specific scheme is as follows:
according to a specific embodiment of the present invention, in a first aspect, the present invention provides an image processing method, including:
acquiring a target face in a target image and geographical position information corresponding to the target face;
determining a matched first processing template according to the target face and the geographic position information;
determining first adjustment parameters according to the target face and the first processing template, wherein the first adjustment parameters comprise a first adjustment sub-parameter for adjusting the skin color of the target face, a second adjustment sub-parameter for adjusting the five sense organs of the target face and a third adjustment sub-parameter for adjusting the face shape of the target face;
and adjusting the target face according to the first adjustment parameter to obtain the adjusted target face.
According to a second aspect of the present invention, there is provided an image processing apparatus including:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring a target face in a target image and geographical position information corresponding to the target face;
the determining unit is used for determining a matched first processing template according to the target face acquired by the acquiring unit and the geographic position information; and
determining first adjustment parameters according to the target face and the first processing template, wherein the first adjustment parameters comprise a first adjustment sub-parameter for adjusting the skin color of the target face, a second adjustment sub-parameter for adjusting the five sense organs of the target face and a third adjustment sub-parameter for adjusting the face shape of the target face;
and the adjusting unit is used for adjusting the target face according to the first adjusting parameter to obtain the adjusted target face.
According to a third aspect, the invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements an image processing method as defined in any of the above.
According to a fourth aspect of the present invention, there is provided an electronic apparatus including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the image processing method as described in any one of the above.
Compared with the prior art, the scheme of the embodiment of the invention at least has the following beneficial effects: the invention provides an image processing method, an image processing device, an image processing medium and electronic equipment, which can pointedly determine a processing template according to the preference of different users at different geographic positions to image processing related to beauty, determine an adjusting parameter based on the processing template, and adjust a target face through the adjusting parameter to obtain an adjusted target face.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 illustrates an application scene diagram of an image processing method according to an embodiment of the present invention;
FIG. 2 shows a flow diagram of an image processing method according to an embodiment of the invention;
FIG. 3 is a flow chart of a method for image processing in a particular application scenario in accordance with the present invention;
FIG. 4 is a schematic diagram of an image processing apparatus according to an embodiment of the present invention;
fig. 5 shows a schematic diagram of an electronic device connection structure according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, third, etc. may be used to describe … … in embodiments of the present invention, these … … should not be limited to these terms. These terms are used only to distinguish … …. For example, the first … … can also be referred to as the second … … and similarly the second … … can also be referred to as the first … … without departing from the scope of embodiments of the present invention.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in the article or device in which the element is included.
Alternative embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Example 1
Fig. 1 is a diagram of an application scenario according to an embodiment of the present invention, and the application scenario includes aterminal 120 and aserver 140.
Theterminal 120 is an electronic device installed with an image processing application having a beauty function, and the electronic device may be a smart phone, a tablet computer, a personal computer, or the like. In fig. 1, theterminal 120 is illustrated as a smart phone. Theterminal 120 is connected to theserver 140 through a wired or wireless network.
In one possible embodiment, as shown in fig. 1, a plurality of processing templates with different preference degrees for different regions are stored in the image processing template library with a beauty function of theserver 140, and when the image processing application with a beauty function needs to acquire a processing template with a beauty function consistent with the aesthetic preference degree of the geographical location according to the geographical location information of the target face, theterminal 120 sends a processing template acquisition request to theserver 140 and receives processing template data fed back by theserver 140. And the subsequent image processing application program with the beautifying function can beautify the face initial image according to the processing template. Theserver 140 stores a plurality of processing templates for performing image processing on target faces in different areas, and also stores a processing module for performing image processing on non-portrait elements of target users corresponding to the target faces, for example, a processing template for performing image processing on head ornaments and clothing ornaments worn by the target users, and performs image processing on the head ornaments and the clothing ornaments based on different preference degrees of the different areas, so that requirements of users with different aesthetic habits can be met.
In a possible application scenario, when the image processing method provided by the embodiment of the present application is applied to theterminal 120, theterminal 120 performs image processing with a beauty function on a face of a person in an image locally through an image processing application program with the beauty function, and displays the image after the image processing; theterminal 120 performs image processing on the non-human image elements in the image locally through an image processing application program with a beautifying function, and displays the image after the image processing; when the image processing method provided by the embodiment of the application is applied to theserver 140, theterminal 120 uploads the image to theserver 140, theserver 140 performs image processing on the face and the non-human image elements in the image, and the image after image processing is sent to theterminal 120 for theterminal 120 to display.
For convenience of description, the following embodiments are described by taking an example in which the image processing method is used for the terminal 120 in fig. 1.
As shown in fig. 2, according to an embodiment of the present invention, in a first aspect, the present invention provides an image processing method applied to a terminal 120, which specifically includes the following method steps:
s202: and acquiring a target face in the target image and geographical position information corresponding to the target face.
In this step, the target face in the target image cannot be accurately acquired, and the geographical location information of the target user corresponding to the target face may also be acquired. The region where the target user is located can be accurately determined by analyzing the geographical position information of the target user, so that the aesthetic preference degree of the region corresponding to the geographical position can be determined according to the geographical position information subsequently, and the processing template matched with the aesthetic preference degree is determined based on the aesthetic preference degree.
S204: and determining a matched first processing template according to the target face and the geographic position information.
In this step, for users in different areas, at least one processing template corresponding to the area is stored in the image processing template library, for example, for the area of korean, whitening and a standard V-shaped face are used as aesthetic standards, so for the area of korean, the corresponding processing template should also highlight the aesthetic standards, and under the processing template, not only a touch key for whitening, but also a touch key for adjusting the face shape, a touch key for adjusting the five sense organs, and other touch keys for adjusting the target face are provided, which is not described herein any more; in actual software development, touch keys with new functions can be added according to aesthetic preference of users in different areas.
In the processing template only listed in the areas of chinese, japanese and korean, in other specific application scenarios, a processing template highlighting other functions may also be set, for example, for users in the southeast asia, the processing template is highly popular with natural skin colors, but has high aesthetic requirements for skin polishing and face shape, so that for users in the southeast asia, at least one processing template corresponding to the area is further stored in the image processing template library.
In practical application, the image processing process that the image processing template can realize includes: the image processing process for realizing the beautifying effect can be achieved by using the filter, the image processing process for realizing the beautifying effect can be achieved by using the sticker, or the skin color of the target face can be adjusted to reach the skin color expected by the user by selecting the matched skin color adjusting parameter; or the size change of the facial features of the target face and the position change of the facial features of the target face can be adjusted by selecting the matched facial feature adjusting parameters according to the facial feature adjusting parameters; alternatively, the size change of the target face shape and the position change of the target face shape may also be adjusted by selecting the matching face shape adjustment parameter with reference to the face shape adjustment parameter.
S206: and determining a first adjusting parameter according to the target face and the first processing template, wherein the first adjusting parameter comprises a first adjusting sub-parameter for adjusting the skin color of the target face, a second adjusting sub-parameter for adjusting the five sense organs of the target face and a third adjusting sub-parameter for adjusting the face shape of the target face.
In this step, only common adjustment sub-parameters are listed, other adjustment sub-parameters can be introduced, and the target face is adjusted through the introduced adjustment sub-parameters, so that the adjusted target face according with the aesthetic preference of the target area is obtained.
S207: adjusting the target face according to the first adjustment parameter to obtain an adjusted target face; the first adjustment parameter comprises a first adjustment sub-parameter for adjusting the skin color of the target face, a second adjustment sub-parameter for adjusting the five sense organs of the target face and a third adjustment sub-parameter for adjusting the face shape of the target face.
In this step, only common adjustment sub-parameters are listed, other adjustment sub-parameters can be introduced, and the target face is adjusted through the introduced adjustment sub-parameters, so that the adjusted target face according with the aesthetic preference of the target area is obtained.
Optionally, adjusting the target face according to the first adjustment parameter, and obtaining the adjusted target face includes:
adjusting the skin color of the target face according to the first adjustment sub-parameter to obtain the adjusted skin color of the target face; and/or the presence of a gas in the gas,
adjusting the five sense organs of the target face according to the second adjustment sub-parameters to obtain the adjusted five sense organs of the target face; and/or the presence of a gas in the gas,
and adjusting the face shape of the target face according to the third adjusting sub-parameter to obtain the adjusted face shape of the target face.
It should be noted that, in the step of adjusting the skin color of the target face according to the first adjustment sub-parameter to obtain the adjusted skin color of the target face, the first adjustment sub-parameter may be a numerical value for adjusting the skin color, and in a specific application scenario, the numerical value range for adjusting the skin color may be set to 0-100, and a numerical value corresponding to 0-50 may blacken the skin color of the target face; the skin color of the target face can be whitened by the numerical value corresponding to the numerical value of 50-100; if the skin color value is adjusted to be 50, the skin color of the current target face is not adjusted, and the original skin color of the target face is still kept; if the numerical range of the adjusted skin color is in the numerical range of 0-50, the smaller the numerical value of the adjusted skin color is, the skin color of the target human face can be adjusted to be a blacker skin color; if the numerical range of the adjusted skin color is in the numerical range of 50-100, the larger the numerical value of the adjusted skin color is, the skin color of the target face can be adjusted to be a whitish skin color, and finally, the skin colors of the adjusted target face are all the skin colors which accord with the aesthetic preference of the target user.
In the step of adjusting the five sense organs of the target face according to the second adjustment sub-parameter to obtain the adjusted five sense organs of the target face, the five sense organs of the target face may be adjusted by selecting the five sense organs of the reference face, for example, selecting the five sense organs of the star a as a reference five sense organs template, and adjusting the five sense organs of the target face according to the reference five sense organs template, where the adjustment content may include adjusting the size of the five sense organs of the target face, adjusting the position of the five sense organs of the target face, adjusting the angle of the five sense organs of the target face, and the like.
In the step of adjusting the face shape of the target face according to the third adjustment subparameter to obtain the adjusted face shape of the target face, the face shape of the reference face may be selected for adjustment, for example, the face shape of the star a is selected as a reference face shape template, and the face shape of the target face is adjusted according to the reference face shape template, where the adjustment content may include adjusting the size of the face shape of the target face, adjusting the position of the face shape of the target face, and the like.
Optionally, after the target face is adjusted according to the first adjustment parameter to obtain an adjusted target face, the method further includes:
and displaying the adjusted target face.
Optionally, displaying the adjusted target face includes:
displaying the adjusted skin color of the target face; and/or the presence of a gas in the gas,
displaying the five sense organs of the adjusted target face; and/or the presence of a gas in the gas,
and displaying the adjusted face shape of the target human face.
Optionally, the method further includes:
acquiring non-portrait elements in a target image; the non-portrait elements at least comprise any one of a head ornament and an ornament corresponding to the target face, wherein the head ornament of the target face not only comprises a head harness, but also comprises a head ornamentation;
determining a matched second processing template according to the non-portrait elements and the geographic position information;
determining a second adjustment parameter according to the non-portrait elements and the second processing template, wherein the second adjustment parameter is used for adjusting the non-portrait elements, and the second adjustment parameter comprises a fourth adjustment sub-parameter for adjusting the head ornaments and a fifth adjustment sub-parameter for adjusting the clothes ornaments;
and adjusting the non-human image elements according to the second adjustment parameters to obtain the adjusted non-human image elements.
Optionally, the head ornament includes a head harness and a head ornamentation, and the adjusting the non-portrait element according to the second adjustment parameter to obtain an adjusted non-portrait element includes:
adjusting the head harness according to the fourth adjusting sub-parameter to obtain an adjusted head harness; and/or the presence of a gas in the gas,
adjusting the head ornamentation according to the fifth adjusting sub-parameter to obtain the adjusted head ornamentation; and/or the presence of a gas in the gas,
and adjusting the clothing ornament according to the fifth adjusting subparameter to obtain the adjusted clothing ornament.
Optionally, after the non-human image element is adjusted according to the second adjustment parameter to obtain an adjusted non-human image element, the method further includes:
and displaying the adjusted non-portrait elements.
As shown in fig. 3, a flow chart of a method of image processing in a specific application scenario according to the present invention is shown.
The image processing method as shown in fig. 3 includes the steps of:
a, starting a camera to detect whether human faces exist in camera data;
b, if the human face exists, identifying the color value of the human face area so as to obtain the skin color of the user;
c, simultaneously identifying the head harness, the ornamentation and the like of the user
D, matching the recognized decoration harness with data in a database, and judging whether the decoration and the decoration belong to typical religious related decorations;
step e, acquiring the geographical position information of the user and judging the area of the user;
f, adjusting corresponding image processing parameters with the function of beautifying according to the skin color of the user, the religious preference and the area;
i. when the device is used specifically, the image processing parameters with the beautifying function corresponding to the three factors (the skin color of a user, the religious preference degree and the region in which the user is located) can be controlled respectively, and corresponding adjustment is carried out respectively;
and ii, the comprehensive consideration can also be carried out, and different weight coefficients are respectively given to each factor (the skin color of the user, the religious preference and the region);
step g: selecting a processing template with default sticker and makeup effects to perform an image processing process according to the religious preference and the area;
step h: obtaining a target face picture with personalized beauty effect through the image processing process; thus, according to different aesthetic preferences of users in different geographic positions, a processing template with a beautifying function matched with the aesthetic preferences of the users can be determined in a targeted manner, adjustment parameters are determined based on the determined processing template, and the target face is adjusted through the adjustment parameters to obtain an adjusted target face; therefore, compared with an image processing method with a beautifying function and only having a single aesthetic preference degree, the image processing method provided by the embodiment of the disclosure can meet the requirements of users with different aesthetic preference degrees in different areas, and finally improves the user experience degree.
The embodiment of the disclosure provides an image processing method, which can specifically determine a processing template according to the preference of different users in different geographic positions to beauty, determine an adjustment parameter based on the processing template, and adjust a target face through the adjustment parameter to obtain an adjusted target face.
Example 2
As shown in fig. 1, an application scenario diagram according to an embodiment of the present invention is shown, and a particular application scenario is an application scenario of an image processing method, but is not limited to the only application scenario, and any scenario that can be applied to this embodiment is included. The embodiment of the present disclosure is applied to embodiment 1, and is used to implement the method steps as described in embodiment 1, and the explanation based on the same name and meaning is the same as that in embodiment 1, and has the same technical effect as that in embodiment 1, and details are not repeated here.
Referring to fig. 4, according to a second aspect of the embodiment of the present invention, the present invention provides an image processing apparatus, which specifically includes an obtainingunit 402, a determiningunit 404, and anadjusting unit 406, and specifically as follows:
an obtainingunit 402, configured to obtain a target face in a target image and geographic position information corresponding to the target face;
a determiningunit 404, configured to determine a matched first processing template according to the target face and the geographic location information acquired by the acquiringunit 402; and
determining a first adjusting parameter according to the target face and the first processing template, wherein the first adjusting parameter comprises a first adjusting sub-parameter for adjusting the skin color of the target face, a second adjusting sub-parameter for adjusting the five sense organs of the target face and a third adjusting sub-parameter for adjusting the face shape of the target face;
the adjustingunit 406 is configured to adjust the target face according to the first adjustment parameter, so as to obtain an adjusted target face.
Optionally, the adjustingunit 406 is specifically configured to:
adjusting the skin color of the target face according to the first adjustment sub-parameter to obtain the adjusted skin color of the target face; and/or the presence of a gas in the gas,
adjusting the five sense organs of the target face according to the second adjustment sub-parameters to obtain the adjusted five sense organs of the target face; and/or the presence of a gas in the gas,
and adjusting the face shape of the target face according to the third adjusting sub-parameter to obtain the adjusted face shape of the target face.
Optionally, the apparatus further comprises:
and a display unit (not shown in fig. 4) configured to display the adjusted target face after theadjustment unit 406 adjusts the target face according to the first adjustment parameter to obtain the adjusted target face.
Optionally, the display unit is specifically configured to:
displaying the adjusted skin color of the target face; and/or the presence of a gas in the gas,
displaying the five sense organs of the adjusted target face; and/or the presence of a gas in the gas,
and displaying the adjusted face shape of the target human face.
Optionally, the obtainingunit 402 is further configured to: acquiring non-portrait elements in a target image;
the determiningunit 404 is further configured to:
determining a matched second processing template according to the non-portrait elements and the geographic position information; and
determining a second adjustment parameter according to the non-portrait elements and the second processing template, wherein the second adjustment parameter is used for adjusting the non-portrait elements, and the second adjustment parameter comprises a fourth adjustment sub-parameter for adjusting the head ornaments and a fifth adjustment sub-parameter for adjusting the clothes ornaments;
the adjustingunit 406 is further configured to:
adjusting the non-portrait elements according to the second adjustment parameters to obtain adjusted non-portrait elements; wherein the headwear comprises a head harness and a head ornamentation.
Optionally, the adjustingunit 406 is further specifically configured to:
adjusting the head harness according to the fourth adjusting sub-parameter to obtain an adjusted head harness; and/or the presence of a gas in the gas,
adjusting the head ornamentation according to the fourth adjustment sub-parameter to obtain the adjusted head ornamentation; and/or the presence of a gas in the gas,
and adjusting the clothing ornament according to the fifth adjusting subparameter to obtain the adjusted clothing ornament.
Optionally, the display unit is further configured to:
after theadjusting unit 406 adjusts the non-human image element according to the second adjusting parameter to obtain an adjusted non-human image element, the adjusted non-human image element is displayed.
The invention provides an image processing device, which can specifically determine a processing template according to the preference of different users at different geographic positions on image processing related to beauty, determine an adjusting parameter based on the processing template, and adjust a target face through the adjusting parameter to obtain the adjusted target face.
Example 3
As shown in fig. 5, an embodiment of the present disclosure provides an electronic device, which is used for a method of image processing, and includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the one processor to cause the at least one processor to: and determining a processing template in a targeted manner according to the preference of different users in different geographic positions on image processing related to beauty, determining an adjustment parameter based on the processing template, and adjusting the target face through the adjustment parameter to obtain the adjusted target face.
Example 4
The disclosed embodiments provide a non-volatile computer storage medium having stored thereon computer-executable instructions that can perform the image processing method of any of the above method embodiments.
Example 5
Referring now to FIG. 5, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the electronic device may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In theRAM 503, various programs and data necessary for the operation of the electronic apparatus are also stored. Theprocessing device 501, theROM 502, and theRAM 503 are connected to each other through abus 504. An input/output (I/O)interface 505 is also connected tobus 504.
Generally, the following devices may be connected to the I/O interface 505:input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.;output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like;storage devices 508 including, for example, magnetic tape, hard disk, etc.; and acommunication device 509. The communication means 509 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from theROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by theprocessing device 501.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: the processing template can be determined in a targeted manner according to the preference degree of different users in different geographic positions on image processing related to beauty, the adjustment parameters are determined based on the processing template, and the target face is adjusted through the adjustment parameters to obtain the adjusted target face.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: the processing template can be determined in a targeted manner according to the preference degree of different users in different geographic positions on image processing related to beauty, the adjustment parameters are determined based on the processing template, and the target face is adjusted through the adjustment parameters to obtain the adjusted target face.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.

Claims (10)

CN201911127413.5A2019-11-182019-11-18Image processing method, device, medium and electronic equipmentPendingCN110992276A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911127413.5ACN110992276A (en)2019-11-182019-11-18Image processing method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911127413.5ACN110992276A (en)2019-11-182019-11-18Image processing method, device, medium and electronic equipment

Publications (1)

Publication NumberPublication Date
CN110992276Atrue CN110992276A (en)2020-04-10

Family

ID=70084969

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911127413.5APendingCN110992276A (en)2019-11-182019-11-18Image processing method, device, medium and electronic equipment

Country Status (1)

CountryLink
CN (1)CN110992276A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113427486A (en)*2021-06-182021-09-24上海非夕机器人科技有限公司Mechanical arm control method and device, computer equipment, storage medium and mechanical arm
CN113791721A (en)*2021-08-312021-12-14北京达佳互联信息技术有限公司Picture processing method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20160098851A1 (en)*2014-10-072016-04-07Cyberlink Corp.Systems and Methods for Automatic Application of Special Effects Based on Image Attributes
CN106603928A (en)*2017-01-202017-04-26维沃移动通信有限公司Shooting method and mobile terminal
WO2018033143A1 (en)*2016-08-192018-02-22北京市商汤科技开发有限公司Video image processing method, apparatus and electronic device
CN108076288A (en)*2017-12-142018-05-25光锐恒宇(北京)科技有限公司Image processing method, device and computer readable storage medium
CN108121957A (en)*2017-12-192018-06-05北京麒麟合盛网络技术有限公司The method for pushing and device of U.S. face material
CN109584151A (en)*2018-11-302019-04-05腾讯科技(深圳)有限公司Method for beautifying faces, device, terminal and storage medium
CN109614902A (en)*2018-11-302019-04-12深圳市脸萌科技有限公司 Face image processing method, device, electronic device and computer storage medium
CN110321865A (en)*2019-07-092019-10-11北京字节跳动网络技术有限公司Head effect processing method and device, storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20160098851A1 (en)*2014-10-072016-04-07Cyberlink Corp.Systems and Methods for Automatic Application of Special Effects Based on Image Attributes
WO2018033143A1 (en)*2016-08-192018-02-22北京市商汤科技开发有限公司Video image processing method, apparatus and electronic device
CN106603928A (en)*2017-01-202017-04-26维沃移动通信有限公司Shooting method and mobile terminal
CN108076288A (en)*2017-12-142018-05-25光锐恒宇(北京)科技有限公司Image processing method, device and computer readable storage medium
CN108121957A (en)*2017-12-192018-06-05北京麒麟合盛网络技术有限公司The method for pushing and device of U.S. face material
CN109584151A (en)*2018-11-302019-04-05腾讯科技(深圳)有限公司Method for beautifying faces, device, terminal and storage medium
CN109614902A (en)*2018-11-302019-04-12深圳市脸萌科技有限公司 Face image processing method, device, electronic device and computer storage medium
CN110321865A (en)*2019-07-092019-10-11北京字节跳动网络技术有限公司Head effect processing method and device, storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113427486A (en)*2021-06-182021-09-24上海非夕机器人科技有限公司Mechanical arm control method and device, computer equipment, storage medium and mechanical arm
CN113791721A (en)*2021-08-312021-12-14北京达佳互联信息技术有限公司Picture processing method and device, electronic equipment and storage medium

Similar Documents

PublicationPublication DateTitle
US12354353B2 (en)Adding beauty products to augmented reality tutorials
US12223624B2 (en)Image display method and apparatus, and device and medium
US20230146298A1 (en)Messaging system with augmented reality messages
CN105204709B (en) Method and device for theme switching
US12226001B2 (en)Augmented reality beauty product tutorials
US12039688B2 (en)Augmented reality beauty product tutorials
CN107622472A (en) Face makeup transfer method and device
CN109584152A (en)Image processing method, device, electronic equipment and computer readable storage medium
CN115131260B (en) Image processing method, device, equipment, computer-readable storage medium and product
CN109522869A (en)Face image processing process, device, terminal device and computer storage medium
CN111275650A (en)Beautifying processing method and device
CN110211030A (en)Image generating method and device
CN110992276A (en)Image processing method, device, medium and electronic equipment
CN110363718A (en)Face image processing process, device, medium and electronic equipment
US20240118787A1 (en)Video generating method and apparatus, and terminal device and storage medium
EP4131144B1 (en)Image processing method and apparatus, electronic device, and computer readable storage medium
CN110378839A (en)Face image processing process, device, medium and electronic equipment
CN113453027B (en)Live video and virtual make-up image processing method and device and electronic equipment
KR20190137506A (en)Image display device and operating method for the same
CN109426522A (en)Interface processing method, device, equipment, medium and the operating system of mobile device
CN109451235B (en)Image processing method and mobile terminal
KR20230159608A (en) comprehensive camera
US20240273688A1 (en)Method, apparatus, device and storage medium for image processing
JP7574400B2 (en) Character display method, device, electronic device, and storage medium
CN110070494B (en)Image processing method and device and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20200410


[8]ページ先頭

©2009-2025 Movatter.jp