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

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

Info

Publication number
CN108076288A
CN108076288A CN201711340388.XA CN201711340388A CN108076288A CN 108076288 A CN108076288 A CN 108076288A CN 201711340388 A CN201711340388 A CN 201711340388A CN 108076288 A CN108076288 A CN 108076288A
Authority
CN
China
Prior art keywords
processing
image
processing parameter
pending image
objects
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
CN201711340388.XA
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.)
Guang Heng Hengyu (beijing) Technology Co Ltd
Original Assignee
Guang Heng Hengyu (beijing) 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 Guang Heng Hengyu (beijing) Technology Co Ltd filed Critical Guang Heng Hengyu (beijing) Technology Co Ltd
Priority to CN201711340388.XA priority Critical patent/CN108076288A/en
Publication of CN108076288A publication Critical patent/CN108076288A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/04
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
    • 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
    • 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/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses image processing method, device and computer readable storage medium, the described method includes:Obtain pending image;At least two groups of objects are identified from pending image;Each group object is handled respectively by default processing type, the image that obtains that treated;Wherein, the processing type of at least two groups objects is different.The technical solution can be realized using the technological means being handled differently and carry out different disposal to the object of different groups in image, expanded the application scenarios of image procossing, the demand of user is met to a greater degree, and the combination of a variety of processing types is more, and playability higher is interesting also stronger.

Description

Image processing method, device and computer readable storage medium
Technical field
The present invention relates to image processing fields, and in particular to image processing method, device and computer readable storage medium.
Background technology
Many applications all have the function of image beautification at present, such as U.S. face processing is carried out when taking pictures, and such user can With by beautiful photo show, into social platform, current U.S. face is handled often for the owner in photo, and in many Under scene, the beautification demand of user may be not a desirable to for everyone in photo, such as is wished to the female in photo It is raw to carry out U.S. face, it is made to seem more lovely, and if it may be made by carrying out same type of processing to the boy student in photo Seem partially womanlike, thus run counter to desire.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State the image processing method, device and computer readable storage medium of problem.
One side according to the invention provides a kind of image processing method, including:
Obtain pending image;
At least two groups of objects are identified from pending image;
Each group object is handled respectively by default processing type, the image that obtains that treated;Wherein, at least The processing type of two groups of objects is different.
Optionally, the pending image of the acquisition includes following one or more:
Pending image is read from the memory of intelligent terminal;
Pending image is obtained from the server of application;
The camera of intelligent terminal is opened, obtains the pending image of the camera shooting.
Optionally, the pending image includes following one or more:
Static images;
Part or all of frame in dynamic picture;
Part or all of frame in video.
Optionally, it is described to identify that at least two groups of objects include from pending image:
According to default object recognizer, at least two groups of objects are identified from the pending image;
And/or
The pending image is matched with default one or more image, according to matching result identify to Few two groups of objects.
Optionally, it is described to identify that at least two groups of objects are included following one or more from pending image Object is as one group:
Meet the object of preset condition;
The definite object of instruction is chosen according to object;
Meet the object of same default characteristic value;
It is unsatisfactory for all objects of preset condition.
Optionally, the processing type includes following one or more:
Landscaping treatment;
Uglify processing;
Mosaic processing;
Virtualization is handled;
It does not handle.
Optionally, it is described to each group object respectively by it is default processing type carry out processing include:
From the local processing parameter for obtaining one or more processing types;
And/or
The processing parameter of one or more processing types is obtained from application server;
Wherein, the processing parameter of the processing type is default processing parameter or customized processing parameter.
Optionally, the processing parameter includes:
The processing parameter of disposed of in its entirety is carried out to one group of object;
And/or
The processing parameter handled at least part of each object in one group of object.
Optionally, the object is head, and the processing parameter includes following one or more:
Adjust the processing parameter of canthus angle;
Adjust the processing parameter of eye spacing;
Adjust the processing parameter of nose type;
Adjust the processing parameter of camber;
Adjust the processing parameter of shape of face;
Adjust the processing parameter of lip color;
Adjust the processing parameter of lip shape;
Adjust the processing parameter of skin colourity;
Adjust the processing parameter of dermatoglyph;
Add the processing parameter of ornament;
Delete the processing parameter of ornament.
Optionally, the method further includes:
Edit control is set, in response to the selection instruction to the edit control, the processing parameter is updated.
Optionally, the method further includes:
Setting pattern toggle control, in response to the selection instruction to the mode toggle control, control model is opened or closed It closes;
The image processing method is performed when the pattern is opened.
Optionally, the method further includes:
Treated that image is shown by described.
Another aspect according to the invention provides a kind of image processing apparatus, including:
Image acquisition unit, suitable for obtaining pending image;
Object recognition unit, suitable for identifying at least two groups of objects from pending image;
Processing unit, suitable for being handled by default processing type respectively each group object, the figure that obtains that treated Picture;Wherein, the processing type of at least two groups objects is different.
Optionally, described image acquiring unit, suitable for by it is following it is one or more in a manner of obtain pending image:From Pending image is read in the memory of intelligent terminal;Pending image is obtained from the server of application;Open intelligence eventually The camera at end obtains the pending image of the camera shooting.
Optionally, the pending image includes following one or more:Static images;Part in dynamic picture Or whole frames;Part or all of frame in video.
Optionally, the object recognition unit, suitable for according to default object recognizer, from described pending At least two groups of objects are identified in image;And/or suitable for by the pending image and default one or more image It is matched, at least two groups of objects is identified according to matching result.
Optionally, the object recognition unit, suitable for using following one or more objects as one group:Meet pre- If the object of condition;The definite object of instruction is chosen according to object;Meet the object of same default characteristic value;It is discontented All objects of sufficient preset condition.
Optionally, the processing type includes following one or more:Landscaping treatment;Uglify processing;Mosaic processing; Virtualization is handled;It does not handle.
Optionally, the processing unit, suitable for obtaining one or more processing parameters for handling types from local;And/or Suitable for obtaining the processing parameter of one or more processing types from application server;Wherein, the processing parameter of the processing type For default processing parameter or customized processing parameter.
Optionally, the processing parameter includes:The processing parameter of disposed of in its entirety is carried out to one group of object;And/or to one The processing parameter that at least part of each object is handled in group object.
Optionally, the object is head, and the processing parameter includes following one or more:Adjust canthus angle Processing parameter;Adjust the processing parameter of eye spacing;Adjust the processing parameter of nose type;Adjust the processing parameter of camber;Adjust face The processing parameter of type;Adjust the processing parameter of lip color;Adjust the processing parameter of lip shape;Adjust the processing parameter of skin colourity;It adjusts The processing parameter of whole dermatoglyph;Add the processing parameter of ornament;Delete the processing parameter of ornament.
Optionally, described device further includes:
Processing parameter updating block, suitable for setting edit control, in response to the selection instruction to the edit control, to institute Processing parameter is stated to be updated.
Optionally, described device further includes:
Mode switch element, suitable for Setting pattern toggle control, in response to the selection instruction to the mode toggle control, Control model is turned on and off;When the pattern is opened, described image acquiring unit, the object recognition unit and described Processing unit performs corresponding function.
Optionally, described device further includes:
Display unit, suitable for treated that image is shown by described.
It is according to the invention in another aspect, provide a kind of computer readable storage medium, wherein, it is described computer-readable The one or more programs of storage medium storage, one or more of programs when being executed by a processor, are realized as any of the above-described Method described in.
It can be seen from the above, technical scheme, after pending image is got, to the object that identifies into Row grouping, can be handled every group of object by identical or different processing type, and cause the place of at least two groups objects It is different to manage type, the image that obtains that treated.The technical solution can be realized using the technological means being handled differently in image The object of difference group carries out different disposal, has expanded the application scenarios of image procossing, has met the need of user to a greater degree It asks, and the combination of a variety of processing types is more, and playability higher is interesting also stronger.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of image processing method according to an embodiment of the invention;
Fig. 2 shows a kind of structure diagram of image processing apparatus according to an embodiment of the invention;
Fig. 3 shows the structure diagram of computer readable storage medium according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 shows a kind of flow diagram of image processing method according to an embodiment of the invention, such as Fig. 1 institutes Show, this method includes:
Step S110 obtains pending image.
Specifically, obtaining pending image includes following one or more:It is read from the memory of intelligent terminal Take pending image;Pending image is obtained from the server of application;The camera of intelligent terminal is opened, obtains camera The pending image of shooting.
For example, this method is applied in camera applications, intelligent terminal camera shooting can be obtained after camera applications startup During the access right of head, the camera of intelligent terminal is opened, obtains the pending image of camera shooting.In another example by this Method is applied in image procossing application, and photograph album in intelligent terminal or the image under specified folder can be handled.Again For example, by this method be applied to live streaming application in, can before the video stream of shooting is gone out, to each frame therein into Row image procossing can also carry out image procossing to each frame in the video flowing that receives.
Step S120 identifies at least two groups of objects from pending image.
Object can be people, animal, plant, artificiality etc., such as using the people in image as one group of object, figure Milk cow as in is as one group of object;Or using the man in image as one group of object, using the woman in image as One group of object etc., herein not reinflated introduction.
Step S130 is handled each group object by default processing type respectively, the image that obtains that treated;Its In, the processing type of at least two groups objects is different.
So so that the application scenarios of image procossing are widened significantly, for example, under the scene pointed out in the introduction, U.S. face can be only carried out to the schoolgirl in photo, and boy student retains masculine without U.S. face;Or schoolgirl is carried out lovely The U.S. face of effect, U.S. face of effect, etc. and boy student make laughs.In another example under a scene, user in order to avoid embarrassment, It needs with some the personage of group photo to be not intended to take a group photo, and U.S. can be all carried out to user and group photo person if U.S. face function is opened Change, this may not be that user wishes what is realized, then user can be beautiful without being carried out to group photo person only to oneself carrying out U.S. face Face uglifies it.Similar application scenarios are also very much, also no longer schematically illustrate one by one herein.
As it can be seen that method shown in FIG. 1, after pending image is got, is grouped the object identified, it is right Every group of object can be handled by identical or different processing type, and cause the processing type of at least two groups objects not Together, the image that obtains that treated.The technical solution can be realized using the technological means being handled differently to different groups in image Object carries out different disposal, has expanded the application scenarios of image procossing, has met the demand of user, Er Qieduo to a greater degree The combination of kind processing type is more, and playability higher is interesting also stronger.
In one embodiment of the invention, in the above method, pending image includes following one or more:It is quiet State picture;Part or all of frame in dynamic picture;Part or all of frame in video.
When handling dynamic picture or video, can select to handle which frame by user, such as one 5 minutes are landscape before section video, just start people occur after five minutes, then are that need not carry out mesh to each frame of first 5 minutes in fact Object identification is marked, therefore the position that can navigate to 5 minutes starts to obtain pending image.
In one embodiment of the invention, in the above method, at least two groups of targets are identified from pending image Object includes:According to default object recognizer, at least two groups of objects are identified from pending image;It and/or will Pending image is matched with default one or more image, and at least two groups of objects are identified according to matching result.
The identification method of two kinds of objects is shown herein, can individually implement or with reference to implementation, for example, uses Family realize has taken several photos of oneself, carry out object identification be may be employed similarity judgement mode come from image In identify oneself.Or the object recognizer obtained using machine learning, such as the algorithm of identification male and identification female The algorithm of property,
In one embodiment of the invention, in the above method, at least two groups of targets are identified from pending image Object is included using following one or more objects as one group:Meet the object of preset condition;Referred to according to object selection The definite object of order;Meet the object of same default characteristic value;It is unsatisfactory for all objects of preset condition.
The specific implementation example of object grouping is shown in this example, for example, face recognition technology may be employed, from figure Multiple faces are identified as in, and user chooses some faces therein as one group again, other faces are as another group.And in order to subtract Few user's operation, can also be by the way of automatic identification and grouping, by taking user's acquiescence is to oneself U.S. face as an example, then from image After identifying user, using user as one group of object, using others as another group of object, here it is using user as Preset condition.Default characteristic value can be gender --- male, women, the age --- different age brackets, body can be divided into It is high --- different height section, etc. can be divided into.
In one embodiment of the invention, in the above method, processing type includes following one or more:At beautification Reason;Uglify processing;Mosaic processing;Virtualization is handled;It does not handle.
For example, user and one are not that very ripe people takes pictures together, then oneself can be beautified, to group photo person not into Row processing.In another example user wish in some forum it is elegant go out group photo with some star, but it is too many personal to be not desired to exposure again Information can then carry out oneself mosaic processing or virtualization is handled.Such as user teases group photo by a toad again, then Landscaping treatment can be carried out to oneself, group photo person be carried out to uglify processing, these are all that user can be selected according to demand Handle the combination of type.
In one embodiment of the invention, in the above method, to each group object respectively by it is default processing type into Row processing includes:From the local processing parameter for obtaining one or more processing types;And/or it is obtained from application server a kind of Or the processing parameter of a variety of processing types;Wherein, the processing parameter for handling type is default processing parameter or customized place Manage parameter.
For example, can set some processing parameters when application is dispatched from the factory, application server can also be updated at some at any time Parameter is managed, these can be used as default processing parameter.In addition, user can also carry out the self-defined setting of processing parameter, both Can also server can be uploaded in local preservation by the account of application, so can newly pacified in another intelligent terminal After the same application of dress, quickly from server pull to the processing parameter set in the past.
In one embodiment of the invention, in the above method, processing parameter includes:One group of object is carried out at entirety The processing parameter of reason;And/or to processing parameter that at least part of each object in one group of object is handled.
For example, the disposed of in its entirety of object can adjust colour temperature, aberration, contrast etc., to each object extremely It can adjust the details of head face that small part, which carries out processing, in one embodiment of the invention, in the above method, target Object is head, and processing parameter includes following one or more:Adjust the processing parameter of canthus angle;Adjust the processing of eye spacing Parameter;Adjust the processing parameter of nose type;Adjust the processing parameter of camber;Adjust the processing parameter of shape of face;Adjust the processing of lip color Parameter;Adjust the processing parameter of lip shape;Adjust the processing parameter of skin colourity;Adjust the processing parameter of dermatoglyph;Addition dress The processing parameter of jewelry;Delete the processing parameter of ornament.
Some examples being adjusted to face, skin etc. have been illustrated above, but same invention structure can also be based on Row of pursuing progress is expanded.Ornament can be people's one integrated mass or special efficacy in the ornaments, with photo such as ear nail, earrings so that Landscaping effect is very clear, etc..
In one embodiment of the invention, the above method further includes:Edit control is set, in response to edit control Instruction is chosen, processing parameter is updated.
Can specifically be arranged on the interface of application, user click on edit control can with direct editing processing parameter, It either jumps to an editing interface to come into edlin including deleting processing parameter, being increased newly or being changed, can also incite somebody to action Default processing parameter is arranged to forbid changing.
In one embodiment of the invention, the above method further includes:Setting pattern toggle control, in response to being cut to pattern The selection instruction of control is changed, control model is turned on and off;The image processing method performed when pattern is opened.
By taking camera applications as an example, after camera applications are opened, show what is got by camera on the interface of application Image and several controls, wherein can include a mode toggle control, user clicks on the control and can open or close Close pattern, just performs above-mentioned image processing method when pattern is opened, and when pattern is closed, can without image procossing or Person carries out the image procossing of other modes, such as all objects are carried out with the processing of same type.
In one embodiment of the invention, the above method further includes:By treated, image is shown.Here usually It is in the specific region of application by image display, specific display can be that acquiescence directly displays or a certain triggering It is shown again after a control.
Fig. 2 shows a kind of structure diagram of image processing apparatus according to an embodiment of the invention, such as Fig. 2 institutes Show, image processing apparatus 200 includes:
Image acquisition unit 210, suitable for obtaining pending image.
Object recognition unit 220, suitable for identifying at least two groups of objects from pending image.
Object can be people, animal, plant, artificiality etc., such as using the people in image as one group of object, figure Milk cow as in is as one group of object;Or using the man in image as one group of object, using the woman in image as One group of object etc., herein not reinflated introduction.
Processing unit 230 suitable for being handled by default processing type respectively each group object, obtains that treated Image;Wherein, the processing type of at least two groups objects is different.
So so that the application scenarios of image procossing are widened significantly, for example, under the scene pointed out in the introduction, U.S. face can be only carried out to the schoolgirl in photo, and boy student retains masculine without U.S. face;Or schoolgirl is carried out lovely The U.S. face of effect, U.S. face of effect, etc. and boy student make laughs.In another example under a scene, user in order to avoid embarrassment, It needs with some the personage of group photo to be not intended to take a group photo, and U.S. can be all carried out to user and group photo person if U.S. face function is opened Change, this may not be that user wishes what is realized, then user can be beautiful without being carried out to group photo person only to oneself carrying out U.S. face Face uglifies it.Similar application scenarios are also very much, also no longer schematically illustrate one by one herein.
As it can be seen that device shown in Fig. 2, by the mutual cooperation of each unit, after pending image is got, to identification The object gone out is grouped, and every group of object can be handled by identical or different processing type, and causes at least two The processing type of group object is different, the image that obtains that treated.The technical solution, can be with using the technological means that is handled differently It realizes and different disposal is carried out to the object of different groups in image, expanded the application scenarios of image procossing, it is full to a greater degree The foot demand of user, and the combination of a variety of processing types is more, and playability higher is interesting also stronger.
In one embodiment of the invention, in above device, image acquisition unit 210, suitable for following one kind or Various ways obtain pending image:Pending image is read from the memory of intelligent terminal;From the server of application Obtain pending image;The camera of intelligent terminal is opened, obtains the pending image of camera shooting.
In one embodiment of the invention, in above device, pending image includes following one or more:It is quiet State picture;Part or all of frame in dynamic picture;Part or all of frame in video.
In one embodiment of the invention, in above device, object recognition unit 220, suitable for according to default mesh Object recognizer is marked, at least two groups of objects are identified from pending image;And/or suitable for by pending image with Default one or more image is matched, and at least two groups of objects are identified according to matching result.
In one embodiment of the invention, in above device, object recognition unit 220, suitable for by following one kind Or plurality of target object is as one group:Meet the object of preset condition;The definite object of instruction is chosen according to object;Meet The object of same default characteristic value;It is unsatisfactory for all objects of preset condition.
In one embodiment of the invention, in above device, processing type includes following one or more:At beautification Reason;Uglify processing;Mosaic processing;Virtualization is handled;It does not handle.
In one embodiment of the invention, in above device, processing unit 230, suitable for obtaining one kind or more from local The processing parameter of kind processing type;And/or the processing parameter suitable for obtaining one or more processing types from application server; Wherein, the processing parameter for handling type is default processing parameter or customized processing parameter.
In one embodiment of the invention, in above device, processing parameter includes:One group of object is carried out at entirety The processing parameter of reason;And/or to processing parameter that at least part of each object in one group of object is handled.
In one embodiment of the invention, in above device, object is head, and processing parameter includes following one kind It is or a variety of:Adjust the processing parameter of canthus angle;Adjust the processing parameter of eye spacing;Adjust the processing parameter of nose type;Adjust eyebrow The processing parameter of shape;Adjust the processing parameter of shape of face;Adjust the processing parameter of lip color;Adjust the processing parameter of lip shape;Adjust skin The processing parameter of colour of skin degree;Adjust the processing parameter of dermatoglyph;Add the processing parameter of ornament;Delete the processing of ornament Parameter.
In one embodiment of the invention, above device further includes:Processing parameter updating block (not shown), is suitable for Edit control is set, in response to the selection instruction to edit control, processing parameter is updated.
In one embodiment of the invention, above device further includes:Mode switch element (not shown), suitable for setting Mode toggle control, in response to the selection instruction to mode toggle control, control model is turned on and off;When pattern is opened, Image acquisition unit 210, object recognition unit 220 and processing unit 230 perform corresponding function.
In one embodiment of the invention, above device further includes:Display unit (not shown), suitable for it will handle after Image shown.
It should be noted that the specific embodiment of above-mentioned each device embodiment is referred to foregoing corresponding method embodiment Specific embodiment carry out, details are not described herein.
In conclusion technical scheme, after pending image is got, carries out the object identified Grouping, can be handled every group of object by identical or different processing type, and cause the processing of at least two groups objects Type is different, the image that obtains that treated.The technical solution using the technological means that is handled differently, can realize in image not Object with group carries out different disposal, has expanded the application scenarios of image procossing, has met the demand of user to a greater degree, And the combination of a variety of processing types is more, and playability higher is interesting also stronger.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual bench or miscellaneous equipment provided herein. Various fexible units can also be used together with teaching based on this.As described above, required by constructing this kind of device Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) come realize in image processing apparatus according to embodiments of the present invention some or The some or all functions of person's whole component.The present invention is also implemented as performing one of method as described herein Divide either whole equipment or program of device (for example, computer program and computer program product).Such this hair of realization Bright program can may be stored on the computer-readable medium or can have the form of one or more signal.It is such Signal can be downloaded from internet website to be obtained either providing on carrier signal or providing in the form of any other.
Fig. 3 shows a kind of structure diagram of computer readable storage medium according to an embodiment of the invention.It should Computer readable storage medium 300 is stored with to perform the computer readable program code of steps of a method in accordance with the invention 310, such as the program code that can be read by the processor of electronic equipment, when these program codes are run by electronic equipment, The electronic equipment is caused to perform each step in method described above.Program code can be pressed in a suitable form Contracting.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
The invention discloses A1, a kind of image processing method, including:
Obtain pending image;
At least two groups of objects are identified from pending image;
Each group object is handled respectively by default processing type, the image that obtains that treated;Wherein, at least The processing type of two groups of objects is different.
A2, the method as described in A1, wherein, the pending image of the acquisition includes following one or more:
Pending image is read from the memory of intelligent terminal;
Pending image is obtained from the server of application;
The camera of intelligent terminal is opened, obtains the pending image of the camera shooting.
A3, the method as described in A1, wherein, the pending image includes following one or more:
Static images;
Part or all of frame in dynamic picture;
Part or all of frame in video.
A4, the method as described in A1, wherein, it is described to identify that at least two groups of objects include from pending image:
According to default object recognizer, at least two groups of objects are identified from the pending image;
And/or
The pending image is matched with default one or more image, according to matching result identify to Few two groups of objects.
A5, the method as described in A1, wherein, it is described to identify that at least two groups of objects include inciting somebody to action from pending image Following one or more objects are as one group:
Meet the object of preset condition;
The definite object of instruction is chosen according to object;
Meet the object of same default characteristic value;
It is unsatisfactory for all objects of preset condition.
A6, the method as described in A1, wherein, the processing type includes following one or more:
Landscaping treatment;
Uglify processing;
Mosaic processing;
Virtualization is handled;
It does not handle.
A7, the method as described in A1, wherein, it is described that processing bag is carried out by default processing type respectively to each group object It includes:
From the local processing parameter for obtaining one or more processing types;
And/or
The processing parameter of one or more processing types is obtained from application server;
Wherein, the processing parameter of the processing type is default processing parameter or customized processing parameter.
A8, the method as described in A7, wherein, the processing parameter includes:
The processing parameter of disposed of in its entirety is carried out to one group of object;
And/or
The processing parameter handled at least part of each object in one group of object.
A9, the method as described in A8, wherein, the object is head, the processing parameter include following one kind or It is a variety of:
Adjust the processing parameter of canthus angle;
Adjust the processing parameter of eye spacing;
Adjust the processing parameter of nose type;
Adjust the processing parameter of camber;
Adjust the processing parameter of shape of face;
Adjust the processing parameter of lip color;
Adjust the processing parameter of lip shape;
Adjust the processing parameter of skin colourity;
Adjust the processing parameter of dermatoglyph;
Add the processing parameter of ornament;
Delete the processing parameter of ornament.
A10, the method as described in A8, wherein, the method further includes:
Edit control is set, in response to the selection instruction to the edit control, the processing parameter is updated.
A11, the method as described in A1, wherein, the method further includes:
Setting pattern toggle control, in response to the selection instruction to the mode toggle control, control model is opened or closed It closes;
The image processing method is performed when the pattern is opened.
A12, the method as any one of A1-A11, wherein, the method further includes:
Treated that image is shown by described.
The invention also discloses B13, a kind of image processing apparatus, including:
Image acquisition unit, suitable for obtaining pending image;
Object recognition unit, suitable for identifying at least two groups of objects from pending image;
Processing unit, suitable for being handled by default processing type respectively each group object, the figure that obtains that treated Picture;Wherein, the processing type of at least two groups objects is different.
B14, the device as described in B13, wherein, described image acquiring unit, suitable for by it is following it is one or more in a manner of Obtain pending image:Pending image is read from the memory of intelligent terminal;It is obtained from the server of application from treating The image of reason;The camera of intelligent terminal is opened, obtains the pending image of the camera shooting.
B15, the device as described in B13, wherein, the pending image includes following one or more:Static map Piece;Part or all of frame in dynamic picture;Part or all of frame in video.
B16, the device as described in B13, wherein,
The object recognition unit, suitable for according to default object recognizer, from the pending image Identify at least two groups of objects;And/or suitable for the pending image and default one or more image are carried out Match somebody with somebody, at least two groups of objects are identified according to matching result.
B17, the device as described in B13, wherein,
The object recognition unit, suitable for using following one or more objects as one group:Meet preset condition Object;The definite object of instruction is chosen according to object;Meet the object of same default characteristic value;It is unsatisfactory for presetting All objects of condition.
B18, the device as described in B13, wherein, the processing type includes following one or more:Landscaping treatment;It is ugly Change is handled;Mosaic processing;Virtualization is handled;It does not handle.
B19, the device as described in B13, wherein, the processing unit, suitable for obtaining one or more processing classes from local The processing parameter of type;And/or the processing parameter suitable for obtaining one or more processing types from application server;Wherein, it is described The processing parameter for handling type is default processing parameter or customized processing parameter.
B20, the device as described in B19, wherein, the processing parameter includes:Disposed of in its entirety is carried out to one group of object Processing parameter;And/or to processing parameter that at least part of each object in one group of object is handled.
B21, the device as described in B20, wherein, the object is head, and the processing parameter includes following one kind It is or a variety of:Adjust the processing parameter of canthus angle;Adjust the processing parameter of eye spacing;Adjust the processing parameter of nose type;Adjust eyebrow The processing parameter of shape;Adjust the processing parameter of shape of face;Adjust the processing parameter of lip color;Adjust the processing parameter of lip shape;Adjust skin The processing parameter of colour of skin degree;Adjust the processing parameter of dermatoglyph;Add the processing parameter of ornament;Delete the processing of ornament Parameter.
B22, the device as described in B20, wherein, described device further includes:
Processing parameter updating block, suitable for setting edit control, in response to the selection instruction to the edit control, to institute Processing parameter is stated to be updated.
B23, the device as described in B13, wherein, described device further includes:
Mode switch element, suitable for Setting pattern toggle control, in response to the selection instruction to the mode toggle control, Control model is turned on and off;When the pattern is opened, described image acquiring unit, the object recognition unit and described Processing unit performs corresponding function.
B24, the device as any one of B13-B23, wherein, described device further includes:
Display unit, suitable for treated that image is shown by described.
Invention additionally discloses C25, a kind of computer readable storage medium, wherein, the computer readable storage medium is deposited The one or more programs of storage, one or more of programs when being executed by a processor, are realized as any one of A1-A12 Method.

Claims (10)

1. a kind of image processing method, including:
Obtain pending image;
At least two groups of objects are identified from pending image;
Each group object is handled respectively by default processing type, the image that obtains that treated;Wherein, at least two groups The processing type of object is different.
2. the method for claim 1, wherein the pending image of the acquisition includes following one or more:
Pending image is read from the memory of intelligent terminal;
Pending image is obtained from the server of application;
The camera of intelligent terminal is opened, obtains the pending image of the camera shooting.
3. the method for claim 1, wherein the pending image includes following one or more:
Static images;
Part or all of frame in dynamic picture;
Part or all of frame in video.
4. the method for claim 1, wherein described identify at least two groups of object bags from pending image It includes:
According to default object recognizer, at least two groups of objects are identified from the pending image;
And/or
The pending image with default one or more image is matched, at least two are identified according to matching result Group object.
5. the method for claim 1, wherein described identify that at least two groups of objects include from pending image Using following one or more objects as one group:
Meet the object of preset condition;
The definite object of instruction is chosen according to object;
Meet the object of same default characteristic value;
It is unsatisfactory for all objects of preset condition.
6. the method for claim 1, wherein the processing type includes following one or more:
Landscaping treatment;
Uglify processing;
Mosaic processing;
Virtualization is handled;
It does not handle.
7. the method for claim 1, wherein described handled each group object by default processing type respectively Including:
From the local processing parameter for obtaining one or more processing types;
And/or
The processing parameter of one or more processing types is obtained from application server;
Wherein, the processing parameter of the processing type is default processing parameter or customized processing parameter.
8. the method for claim 7, wherein, the processing parameter includes:
The processing parameter of disposed of in its entirety is carried out to one group of object;
And/or
The processing parameter handled at least part of each object in one group of object.
9. a kind of image processing apparatus, including:
Image acquisition unit, suitable for obtaining pending image;
Object recognition unit, suitable for identifying at least two groups of objects from pending image;
Processing unit, suitable for being handled by default processing type respectively each group object, the image that obtains that treated;Its In, the processing type of at least two groups objects is different.
10. a kind of computer readable storage medium, wherein, the computer-readable recording medium storage one or more program, One or more of programs when being executed by a processor, realize the method as any one of claim 1-8.
CN201711340388.XA 2017-12-14 2017-12-14 Image processing method, device and computer readable storage medium Pending CN108076288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711340388.XA CN108076288A (en) 2017-12-14 2017-12-14 Image processing method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711340388.XA CN108076288A (en) 2017-12-14 2017-12-14 Image processing method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108076288A true CN108076288A (en) 2018-05-25

Family

ID=62158616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711340388.XA Pending CN108076288A (en) 2017-12-14 2017-12-14 Image processing method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108076288A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191370A (en) * 2018-08-06 2019-01-11 光锐恒宇(北京)科技有限公司 Image processing method, device, intelligent terminal and computer readable storage medium
CN110992276A (en) * 2019-11-18 2020-04-10 北京字节跳动网络技术有限公司 Image processing method, device, medium and electronic equipment
CN112601005A (en) * 2020-09-25 2021-04-02 维沃移动通信有限公司 Shooting method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927372A (en) * 2014-04-24 2014-07-16 厦门美图之家科技有限公司 Image processing method based on user semanteme
CN104854859A (en) * 2012-12-21 2015-08-19 谷歌公司 Recommending transformations for photography
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal
CN105303523A (en) * 2014-12-01 2016-02-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN106210521A (en) * 2016-07-15 2016-12-07 深圳市金立通信设备有限公司 A kind of photographic method and terminal
CN107301389A (en) * 2017-06-16 2017-10-27 广东欧珀移动通信有限公司 Based on face characteristic identification user's property method for distinguishing, device and terminal
CN107358241A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Image processing method, device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104854859A (en) * 2012-12-21 2015-08-19 谷歌公司 Recommending transformations for photography
CN103927372A (en) * 2014-04-24 2014-07-16 厦门美图之家科技有限公司 Image processing method based on user semanteme
CN105303523A (en) * 2014-12-01 2016-02-03 维沃移动通信有限公司 Image processing method and mobile terminal
CN105139357A (en) * 2015-08-26 2015-12-09 深圳市金立通信设备有限公司 Image editing method and terminal
CN106210521A (en) * 2016-07-15 2016-12-07 深圳市金立通信设备有限公司 A kind of photographic method and terminal
CN107301389A (en) * 2017-06-16 2017-10-27 广东欧珀移动通信有限公司 Based on face characteristic identification user's property method for distinguishing, device and terminal
CN107358241A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Image processing method, device, storage medium and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191370A (en) * 2018-08-06 2019-01-11 光锐恒宇(北京)科技有限公司 Image processing method, device, intelligent terminal and computer readable storage medium
CN110992276A (en) * 2019-11-18 2020-04-10 北京字节跳动网络技术有限公司 Image processing method, device, medium and electronic equipment
CN112601005A (en) * 2020-09-25 2021-04-02 维沃移动通信有限公司 Shooting method and device
CN112601005B (en) * 2020-09-25 2022-06-24 维沃移动通信有限公司 Shooting method and device

Similar Documents

Publication Publication Date Title
CN108174099A (en) Method for displaying image, device and computer readable storage medium
CN107635104A (en) A kind of method and apparatus of special display effect in the application
US9639974B2 (en) Image transformation systems and methods
US9734628B2 (en) Techniques for processing reconstructed three-dimensional image data
US20090251484A1 (en) Avatar for a portable device
CN108012081A (en) Intelligence U.S. face method, apparatus, terminal and computer-readable recording medium
CN108076288A (en) Image processing method, device and computer readable storage medium
CN105164999B (en) Image processing method and image processing apparatus
CN110390632B (en) Image processing method and device based on dressing template, storage medium and terminal
CN108495058A (en) Image processing method, device and computer readable storage medium
CN107862277A (en) Live dress ornament, which is dressed up, recommends method, apparatus, computing device and storage medium
CN106447604A (en) Method and device for transforming facial frames in videos
US9965778B2 (en) System and method for the indication of modification region boundaries on facial images
KR101823869B1 (en) Real-time video makeup implementation system based Augmented Reality using Facial camera device
JP2016057775A (en) Portrait generator, portrait generation method
CN107633541A (en) The generation method and device of a kind of image special effect
CN107633479A (en) A kind of method and apparatus of special display effect in the application
CN108537725A (en) A kind of method for processing video frequency and device
CN107633488A (en) A kind of image processing method and device
CN107730461A (en) Image processing method, apparatus, device and medium
CN108235117A (en) A kind of video shading process and device
CN108921856A (en) Image cropping method, apparatus, electronic equipment and computer readable storage medium
CN109509141A (en) Image processing method, head portrait setting method and device
CN108648139A (en) A kind of image processing method and device
CN107340857A (en) Automatic screenshot method, controller, Intelligent mirror and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180525