CN107291348A - Photographic method and device, computer equipment and computer-readable recording medium - Google Patents
Photographic method and device, computer equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107291348A CN107291348A CN201710399819.3A CN201710399819A CN107291348A CN 107291348 A CN107291348 A CN 107291348A CN 201710399819 A CN201710399819 A CN 201710399819A CN 107291348 A CN107291348 A CN 107291348A
- Authority
- CN
- China
- Prior art keywords
- feature
- image
- default
- taking pictures
- pictures
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
- G06T7/33—Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
Abstract
The present embodiments relate to a kind of photographic method, the photographic method includes:The photographing module of terminal treat reference object taken pictures take pictures image to obtain when, extract described in take pictures the feature of image;Whether judge the feature of the image of taking pictures there is at least one to preset feature;If the feature of the image of taking pictures has at least one default feature, the biological characteristic with least one default characteristic matching is obtained;The image of taking pictures is synthesized to produce composograph with the biological characteristic.By above-mentioned photographic method, device, computer equipment and storage medium, the time of picture later stage compilation is reduced, the complexity of picture later stage compilation is reduced, interesting photo is obtained so that can conveniently and efficiently take pictures, improves the interest taken pictures.The embodiment of the present invention further relates to a kind of camera arrangement, computer equipment and computer-readable recording medium.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of photographic method and device, computer equipment and calculating
Machine readable storage medium storing program for executing.
Background technology
Take pictures as people's operation the most known, people can record drop details in life, happiness in the way of taking pictures
Joyous environmental color, pattern etc..During taking pictures, people most frequently be exactly the personage including oneself is taken pictures, typically
The photo that shoots of shooting style shown by content and real character be more on identical, camera function it is emphasised that clapping
The authenticity taken the photograph.But, for some recreational photos, due to and its original form need not be kept, that emphasizes to shoot is true
Reality reduces the entertaining taken pictures on the contrary.
Can generally edlin be entered to the picture after shooting, be more interesting picture by picture editor, but this substantially increases
The complexity of operation is added, the operating time is also long.
The content of the invention
Based on this, it is necessary to for it is above-mentioned take pictures interesting relatively low the problem of there is provided a kind of photographic method and device, calculating
Machine equipment and computer-readable recording medium.
On the one hand the embodiment of the present invention provides a kind of photographic method, and applied to terminal, the photographic method includes:
The photographing module of terminal treat reference object taken pictures take pictures image to obtain when, extract described in take pictures image
Feature;
Whether judge the feature of the image of taking pictures there is at least one to preset feature;
If the feature of the image of taking pictures has at least one default feature, obtain and at least one described default feature
The biological characteristic of matching;
The image of taking pictures is synthesized to produce composograph with the biological characteristic.
It is preferred that in above-mentioned photographic method, the biological characteristic includes animal character or plant characteristics.
It is preferred that in above-mentioned photographic method, there is the feature of the image of taking pictures at least one default feature to include:
The sex character of object to be captured is default sex character in the image of taking pictures;Or
The posture of object to be captured is characterized as default posture feature in the image of taking pictures;Or
The color characteristic of the image of taking pictures is pre-set color feature;Or
Combinations thereof.
It is preferred that in above-mentioned photographic method, if the feature of the image of taking pictures has at least one default feature,
The biological characteristic then obtained with least one default characteristic matching includes:
If the feature of the image of taking pictures has at least one default feature, obtain and at least one described default feature
The body part of the animal of matching;
The image of taking pictures is synthesized with the biological characteristic to be included with producing composograph:
The body part of take pictures image and the animal is synthesized to produce composograph.
It is preferred that in above-mentioned photographic method, if the feature of the image of taking pictures has at least one default feature,
The biological characteristic then obtained with least one default characteristic matching includes:
If the posture of object to be captured is characterized as default posture feature in the image of taking pictures, obtain and the default appearance
The body part of the animal of gesture characteristic matching.
It is preferred that in above-mentioned photographic method, if the feature of the image of taking pictures has at least one default feature,
The biological characteristic then obtained with least one default characteristic matching includes:
If the color characteristic of the image of taking pictures is the face of object to be captured in blue characteristics and the image of taking pictures
Default face feature is characterized as, then obtains shark feature;Or
If the color characteristic of the image of taking pictures is the eyes of object to be captured in pink colour feature and the image of taking pictures
Default eye feature is characterized as, then obtains rabbit feature.
On the other hand the embodiment of the present invention provides a kind of camera arrangement, and applied to terminal, the camera arrangement includes:
Characteristic extracting module, is taken pictures to obtain image of taking pictures for treating reference object in the photographing module of terminal
When, extract described in take pictures the feature of image;
Judge module, for judging whether the feature of the image of taking pictures has at least one default feature;
Feature acquisition module, for when the feature of the image of taking pictures has at least one default feature, obtaining and institute
State the biological characteristic of at least one default characteristic matching;
Synthesis module, for the image of taking pictures to be synthesized to produce composograph with the biological characteristic.
It is preferred that in above-mentioned camera arrangement, the feature acquisition module is additionally operable to the feature tool when the image of taking pictures
When having at least one default feature, the body part with the animal of at least one default characteristic matching is obtained;
The synthesis module is additionally operable to be synthesized the body part of take pictures image and the animal to produce conjunction
Into image.
The another aspect of the embodiment of the present invention provides a kind of computer equipment, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, each above-mentioned implementation is realized during the computing device described program
Example described in photographic method the step of.
Another further aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, the computer program realizes the photographic method described in each above-mentioned embodiment when being executed by processor the step of.
Above-mentioned photographic method and device, computer equipment and computer-readable recording medium, in the photographing module of terminal
Treat reference object to be taken pictures when taking pictures image to obtain, the feature of the image of taking pictures is extracted, if being taken pictures described in detecting
The feature of image has at least one default feature, then obtains the biological characteristic with least one default characteristic matching, will
The image of taking pictures is synthesized to produce composograph with the biological characteristic.By setting default feature, by image of taking pictures
In feature made comparisons with default feature, saved and chosen the time of characteristics of image of taking pictures, by the biology of default characteristic matching
Feature is synthesized with image of taking pictures, and reduces the time of picture later stage compilation, reduces the complexity of picture later stage compilation, from
And the interesting photo of acquisition of conveniently and efficiently taking pictures is made it possible to, improve the interest taken pictures.
Brief description of the drawings
Fig. 1 is the cut-away view of terminal in one embodiment of the invention.
Fig. 2 is the flow chart of photographic method in one embodiment of the invention.
Fig. 3 is the flow chart of photographic method in another embodiment of the present invention.
Fig. 4 is the functional block diagram of camera arrangement in one embodiment of the invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the internal structure schematic diagram of terminal in one embodiment.Reference picture 1, the terminal includes passing through system bus
Processor, non-volatile memory medium, built-in storage, photographing module and the display screen of connection.Wherein, the processor of the terminal is used
Calculated and control ability in providing, support the operation of whole terminal.The non-volatile memory medium of the terminal, which is stored with, operates system
System and computer executable instructions, the computer executable instructions can be performed by processor, for realizing following implementation
A kind of photographic method that example is provided.The built-in storage, which is the operating system in non-volatile memory medium, computer is executable refers to
Order provides the running environment of cache.The information related for realizing a kind of above-mentioned photographic method can be stored in built-in storage,
Such as biological characteristic and composograph etc..The photographing module of the terminal can scan viewing area and obtain image of taking pictures.The terminal
Display screen can be touch-screen, such as is capacitance plate or electrical screen, and the control of the touch screen display can be acted on by receiving
Clicking operation, the corresponding instruction of generation.
It will be understood by those skilled in the art that the structure of the terminal shown in Fig. 1, is only related to application scheme
The block diagram of part-structure, does not constitute the restriction for the terminal being applied thereon to application scheme, and specific terminal can be wrapped
Include than more or less parts shown in figure, either combine some parts or arranged with different parts.Such as, should
Terminal in figure may also include network interface etc..
In an embodiment of the invention, as shown in Figure 2 there is provided a kind of photographic method, applied to terminal, the side of taking pictures
Method includes:
Step S202, the photographing module of terminal treat reference object taken pictures with obtain take pictures image when, extract clap
According to the feature of image.
In the present embodiment, terminal includes but is not limited to mobile phone, tablet personal computer, Intelligent worn device etc., wherein, can in terminal
Photographing module, such as camera are preset, can also be by the external camera device of terminal.Object to be captured refers to photographing module in bat
According to when by the image that scans viewing area and get, the object to be captured can be one or more, including but not limited to people
The combination of the one or more of which such as thing object, animal target and subject.Feature refers to take pictures object to be captured in image
Identification information, including but not limited to face feature, motion characteristic and color characteristic etc..Wherein, face feature can be comprising
The combination of the one or more of which information such as eyebrow, eyes, ear, nose and the profile of face and position, can be positive face face
Feature, can also be side face face feature.Motion characteristic can be facial expressions and acts feature or limb action feature etc..Color characteristic can be
The combination of the one or more of which such as personage's color development, the colour of skin and clothes color, but not limited to this.Specifically, terminal is detected
After photographing module starts, terminal can obtain who object, animal target and subject etc. wherein by photographing module
The image of taking pictures of one or more combination images, extracts the feature of the object to be captured in the image of taking pictures.Further, may be used
The feature included in shooting image is extracted by image recognition technology.Such as, threshold segmentation method, extracted region side can be passed through
The methods such as method, Study Of Segmentation Of Textured Images method extract the characteristic area in shooting image.
In one embodiment, the display screen of the terminal is touch-screen, can provide tactile for extracting the feature for image of taking pictures
Touch the mode of selection.Wherein, it can be clicking operation to touch the mode chosen, and clicking operation includes but is not limited to for this feature
Single-click operation or double click operation.Or, the operation of chosen area can be also carried out for touching movement, such as, receives the mobile behaviour of touching
After work, a rectangle frame is generated by the terminal of touching, the image-region in rectangle frame is regard as the figure of taking pictures for touching selection
As feature.Specifically, detect after photographing module startup, acquisition is taken pictures into image shows on the touchscreen, reception is used as
The image of taking pictures is carried out on touch-screen after the operation of touch selection, extract the touch chosen area in image of taking pictures
Feature.
In one embodiment, treated in the photographing module of terminal before reference object taken pictures, in addition to:Receive and use
In the instruction for starting photographing module, wherein, the instruction for starting photographing module includes but is not limited to by acting on terminal
The instruction for being used to start photographing module that clicking operation, touching operation etc. are operated and triggered.Specifically, terminal can be taken the photograph for startup
As the corresponding application identities of module offer, the application identities include the corresponding control for being used to start photographing module, are detecting
When acting on the clicking operation of the control, start photographing module.When can also work as terminal in screen lock state, on locking screen interface
Unblock mark for unblock is provided, unblock mark is slid into by the touching of user operation and default starts shooting mould
The position of block is to cause terminal to be unlocked and start photographing module while triggering, to save the time of unblock, enabling more
Plus conveniently and efficiently start photographing module.Or can also be started by sliding interface after photographing module, directly show photographing module
The image of taking pictures obtained, without providing corresponding control, to simplify the operation for starting photographing module.Have been turned on taking the photograph when detecting
During as module, step S202 is performed.If detecting camera not start, do not deal with.
Step S204, whether judging the feature of the image of taking pictures there is at least one to preset feature, if so, then performing step
Rapid S206;Otherwise, step S202 is performed.
In the present embodiment, default feature refers to the feature for being used to recognize image of taking pictures prestored, accordingly, default feature
Including but not limited to face feature, limbs feature and color characteristic etc..Specifically, default feature can be multiple, extract and take pictures
After the feature of image, judge with the presence or absence of the feature with default characteristic matching in extracted feature, such as, pass through figure
As contrast algorithm comparison take pictures image feature whether with default characteristic matching, can also be from the structure of image, texture and gray scale etc.
Calculate the feature for image of taking pictures and the similarity of default feature.If the feature for image of taking pictures has at least one default spy
Levy, then step S206 is performed, if it is not, not dealing with then.Further, can if the feature for image of taking pictures does not have default feature
Image artwork of taking pictures directly is shown, can also show that image of taking pictures does not meet the prompt message of pending image request.
In one embodiment, the amount threshold with the characteristics of image of taking pictures of default characteristic matching can be preset, judges to clap
Whether the feature according to image there is at least one default feature to include:Judge the characteristic taken pictures in image with default characteristic matching
Whether amount is more than the amount threshold.Specifically, if whether the feature quantity in image of taking pictures with default characteristic matching is more than the number
Threshold value is measured, step S206 is performed;If it is not, then performing step S202.
Step S206, if the feature of the image of taking pictures has at least one default feature, is obtained pre- with least one
If the biological characteristic of characteristic matching.
In the present embodiment, there is the feature of the image of taking pictures at least one default feature to include:The image of taking pictures
In the sex character of object to be captured be default sex character;Or the posture of object to be captured is characterized as in the image of taking pictures
Default posture feature;Or the color characteristic of the image of taking pictures is pre-set color feature;Or combinations thereof.
In the present embodiment, the biological characteristic includes animal character or plant characteristics.
In the present embodiment, biological characteristic refers to prestore in the terminal for the characteristics of image for replacing characteristics of image of taking pictures or increasing
Add in the characteristics of image on image of taking pictures.Wherein, biological characteristic can be cartoon image feature and/or true picture feature etc..If
Detecting the feature for image of taking pictures has default feature, then obtains the biological characteristic with default characteristic matching, wherein, image of taking pictures
Feature can have more than one default feature.Specifically, biological characteristic has corresponding relation with default feature, for example,
Default feature can be ear, then the biological characteristic corresponding with the default feature may include but be not limited to cat ear, rabbit ears
Or big elephant ear etc., after the feature for the image that judges to take pictures has a default feature ear, then obtain cat ear corresponding with ear
Piece, the biometric features combination of the one or more of which such as rabbit ears or big elephant ear.
In one embodiment, the display screen of terminal is touch-screen, is obtaining the life with least one default characteristic matching
After thing feature, if detecting a default feature and multiple biological characteristics has a corresponding relation, terminal can for obtain with least
The biological characteristic process of one default characteristic matching provides the mode that biological characteristic is chosen.Specifically, selected by clicking operation
Take after the default feature having with image of taking pictures, multiple biological characteristics with the default characteristic matching can be shown, with
Chosen for user.Or, the biological characteristic of one of matching can also be directly shown in selected characteristic area, can
To act on the touching slide in the region by receiving, the biological characteristic is switched into other biological characteristics.
Step S208, the image that will take pictures is synthesized to produce composograph with biological characteristic.
In the present embodiment, according to take pictures image and the biological characteristic of matching of acquisition, the image that will take pictures enters with biological characteristic
Row synthesis.Wherein, the mode of synthesis includes but is not limited to the default feature that the biological characteristic of matching is replaced to image of taking pictures, or
The biological characteristic of matching is increased and taken pictures on image.The default feature replacement that can also have image of taking pictures includes matching
Corresponding feature in the image of biological characteristic, or the default feature for image of taking pictures is increased in the biological characteristic comprising matching
On image.Composograph is the image that user is showed after synthesis is handled.
Above-mentioned photographic method, the photographing module of terminal treat reference object taken pictures with obtain take pictures image when,
The feature for image of taking pictures is extracted, if the feature for detecting image of taking pictures has at least one default feature, is obtained and at least one
The biological characteristic of individual default characteristic matching, the image that will take pictures is synthesized to produce composograph with biological characteristic.By setting
Default feature, the feature in image of taking pictures is made comparisons with default feature, has been saved selection and has been taken pictures time of characteristics of image, will be in
The biological characteristic of default characteristic matching is synthesized with image of taking pictures, and is reduced the time of picture later stage compilation, is reduced picture
The complexity of later stage compilation, obtains interesting photo so that can conveniently and efficiently take pictures, improves the interest taken pictures.
In one embodiment, biological characteristic includes animal character or plant characteristics.Specifically, animal character can refer to animal
Facial characteristics, animal limb feature and animal skin feature etc..Wherein, animal face feature can be to include eyes, ear, nose
The combination of the one or more of which feature such as son, face, corner and the feature of beard and position.Animal limb feature can be four
The combinations of features of the one or more of which such as limb, tail and wing.Animal skin feature can for the decorative pattern of animal skin, color,
The combination of the one or more of which such as hair texture.Plant characteristics can be plant global feature, or plant part feature, than
The global feature of such as bamboo, the petal feature of sunflower.Further, the plant characteristics or animal character can also be dynamic
Feature, such as, big tree that rabbit ears of vacillating now to the left, now to the right, the ram's horn brandished and branch are rocked etc..Or can also be with
The combination behavioral characteristics of plant characteristics and animal character, such as, the giant panda climbed tree, gnaw the hamster of corn and strip the skin from a banana
Monkey etc..
In one embodiment, there is the feature of image of taking pictures at least one default feature to include:Take pictures and wait to clap in image
The sex character for taking the photograph object is default sex character;Or the posture of object to be captured is characterized as that default posture is special in image of taking pictures
Levy;Or the color characteristic for image of taking pictures is pre-set color feature;Or combinations thereof.In the present embodiment, treated when detecting
When reference object is who object, the sex character of who object can extract.Wherein, sex character by extract personage's shape of face,
After the one or more of which combinations of features such as beard feature or hair style feature, judged to generate according to default rule.Such as, in advance
If sex character can be masculinity and femininity, when the feature for detecting who object includes beard feature, then the who object is judged
Feature be male.The posture feature of who object can also be extracted, judges whether the posture feature belongs to default posture feature,
For example, the posture that posture feature can be the shape facility, such as " big " font of the character contour with static attribute is preset
Feature, can also be the posture feature of the action feature with movement properties, such as running or take-off etc..Or, extract and clap
According to the color characteristic of image, the color characteristic includes but is not limited to personage's clothing color, personage's color development and image background color etc.
The combination of one or more of which.The feature of image of taking pictures can also have default sex character, default posture feature and default face
The combination of the one or more of which such as color characteristic.
In one embodiment, enough objects to be captured can be obtained as input, neutral net, the nerve is trained
Network can include machine learning algorithm, and the features such as the sex character or posture feature of object to be captured can be recognized by being obtained with this
Neutral net.The features such as sex character or posture feature by the neural network recognization trained object to be captured.Further
Ground, can also be by training neural network so that the neutral net can recognize the age characteristics of object to be captured.
In one embodiment, as shown in Figure 3 there is provided another photographic method, if above-mentioned steps S206 figure of taking pictures
The feature of picture has at least one default feature, then the biological characteristic obtained with least one default characteristic matching includes:
Step S302, if the feature for image of taking pictures has at least one default feature, is obtained and at least one default spy
Levy the body part of the animal of matching.
, can be from terminal buffers or connection network obtains from server the body part for including animal in the present embodiment
Characteristics of image.Wherein, the body part of animal includes but is not limited to neck neck, four limbs, tail and wing etc., such as, giraffe
Neck, ram's horn, fox's tail and butterfly's wing etc..It is possible to further obtain the face of animal face feature, wherein animal
Feature can be the one or more of which features such as the feature comprising eyes, ear, nose, face, corner and beard and position
Combination.Animal skin feature, the including but not limited to decorative pattern of animal skin, color and hair texture etc. wherein one can also be obtained
Plant or a variety of combinations.
The above-mentioned steps S208 image that will take pictures is synthesized with biological characteristic to be included with producing composograph:
Step S304, the body part of take pictures image and animal is synthesized to produce composograph.
In the present embodiment, the mode that the body part of take pictures image and animal is synthesized can be by the biology of acquisition
Feature replacement is taken pictures corresponding feature in image, such as, the eyes of who object in image of taking pictures is substituted for the eyes of cat, then
Such as, the clothes of who object in image of taking pictures is substituted for the decorative pattern of zebra skin.Or, can also be that the biology of acquisition is special
Levy added in image of taking pictures, such as, to task object addition rabbit ears, deer horn, fox's tail or butterfly in image of taking pictures
The combination of the one or more of which such as wing.
In one embodiment, if the feature for image of taking pictures has at least one default feature, obtain and at least one
The biological characteristic of default characteristic matching includes:If the color characteristic for image of taking pictures is to be captured in blue characteristics and image of taking pictures
The face of object is characterized as default face feature, then obtains shark feature;If or the color characteristic for image of taking pictures is that pink colour is special
Levy and the eye feature of object to be captured is default eye feature in image of taking pictures, then obtain rabbit feature.
In the present embodiment, face feature may include diversified forms, such as, face, the face and great Kou of smile closed
The face opened, but not limited to this.Eye feature may include diversified forms, such as, the eyes that close, the eyes opened slightly
And the eyes opened wide, but not limited to this.
In one embodiment, default face can be set to be characterized as the face that big mouth opens, as the personage for image of taking pictures
The face feature that image is opened comprising big mouth, and when extracting the color characteristic for image of taking pictures for blue characteristics, then obtain shark
Feature, shark feature is synthesized with the figure image in image of taking pictures, such as, by the global feature of shark and personage's shape
As fusion, by shark except remaining feature of eyes and face feature is added in the figure image, the composograph of generation
Eyes and face retain the feature of figure image in itself, then the composograph is that an appearance is the figural shark.
In one embodiment, it is the eyes opened wide that can set default eye feature, when the figure image for image of taking pictures
When including the eye feature for the eyes opened wide, and extracting the color characteristic for image of taking pictures for pink colour feature, then rabbit is obtained special
Levy, wherein, rabbit feature can be the combination of the one or more of which such as rabbit ear, rabbit claw and rabbit tooth.Further, it will obtain
Rabbit feature and the who object taken pictures in image be combined, the composograph of generation includes but is not limited in image of taking pictures
In who object on the one or more of which such as addition rabbit ear, rabbit nose and rabbit tooth combination.
In one embodiment, default posture can be set to be characterized as the posture of cygnet ballet dancer, works as extraction
Into image of taking pictures, figure image includes the posture feature of cygnet ballet dancer, then obtains cygnet feature, wherein, small day
Goose feature can be cygnet overall image.Further, the who object in the cygnet feature of acquisition and image of taking pictures is entered
Row is combined, and the composograph of generation includes but is not limited to the overall image for retaining cygnet, by the face feature replacement of cygnet
Into the face feature of the who object.
In one embodiment, the global feature for image of taking pictures can also be extracted, the figure for the image that includes but is not limited to take pictures
As style, specifically, the whole of image of taking pictures is determined according to many kinds of parameters such as the color saturation for image of taking pictures, contrast and brightness
The pure and fresh image style of body characteristicses, such as color or the clearly demarcated rich and gaudy picture of color are as style.Taken pictures it is possible to further extract
Who object dresses up style in image, and to dress up style according to this handled image of taking pictures.For example, if taking pictures image
The dressing of middle who object is pure and fresh, then the overall picture style for image of taking pictures can be processed into pure and fresh style.For another example, if clapping
Dressing according to who object in image is pure and fresh, then the overall picture style for image of taking pictures can be processed into picture color contrast strong
Style.
In one embodiment, after the feature for image of taking pictures is extracted, it is multiple to be captured right also to can detect whether to exist
As, can also be according to the feature of each object to be captured if so, can give each object matching to be captured identical biological characteristic
With corresponding biological characteristic.For example, if object to be captured is a man and a woman, after the feature of object to be captured is extracted,
Wherein, this feature includes but is not limited to sex character, the biological characteristic matched with sex character is obtained, with femaleness
The feature such as rabbit ears and rabbit tooth is added in who object, fox ears and fox are added in the who object with masculinity
The features such as leopard cat tail.
In one embodiment, as shown in Figure 4 there is provided a kind of camera arrangement 400, applied to terminal, the camera arrangement
400 include:
Characteristic extracting module 402, is taken pictures to obtain figure of taking pictures for treating reference object in the photographing module of terminal
During picture, the feature for image of taking pictures is extracted.
Whether judge module 404, the feature for the image that judges to take pictures has at least one default feature.
Feature acquisition module 406, for when the feature for image of taking pictures has at least one default feature, obtaining and at least
The biological characteristic of one default characteristic matching.
Synthesis module 408, for that will take pictures, image is synthesized to produce composograph with biological characteristic.
Above-mentioned camera arrangement, the photographing module of terminal treat reference object taken pictures with obtain take pictures image when, carry
The feature for image of taking pictures is taken, if the feature for detecting image of taking pictures has at least one default feature, is obtained and at least one
The biological characteristic of default characteristic matching, the image that will take pictures is synthesized to produce composograph with biological characteristic.It is pre- by setting
If feature, the feature in image of taking pictures is made comparisons with default feature, the time for choosing characteristics of image of taking pictures has been saved, will be in pre-
If the biological characteristic of characteristic matching is synthesized with image of taking pictures, the time of picture later stage compilation is reduced, is reduced after picture
The complexity of phase editor, obtains interesting photo so that can conveniently and efficiently take pictures, improves the interest taken pictures.
In one embodiment, feature acquisition module 406, for there is at least one default spy when the feature for image of taking pictures
When levying, the animal character or plant characteristics with least one default characteristic matching are obtained.
In one embodiment, the sex character of object to be captured in image that is additionally operable to judge to take pictures of judge module 404 is
Default sex character;Or the posture of object to be captured is characterized as default posture feature in image of taking pictures;Or image of taking pictures
Color characteristic is pre-set color feature;Or combinations thereof.
In one embodiment, feature acquisition module 406 is additionally operable to when the feature for image of taking pictures is default with least one
During feature, the body part with the animal of at least one default characteristic matching is obtained, synthesis module 408 is additionally operable to image of taking pictures
Synthesized to produce composograph with the body part of animal.
In one embodiment, if feature acquisition module 406 is additionally operable to take pictures in image object to be captured posture feature
For default posture feature, then the body part with the animal of default posture characteristic matching is obtained.
In one embodiment, if feature acquisition module 406 is additionally operable to take pictures the color characteristic of image for blue characteristics simultaneously
And the face of object to be captured is characterized as default face feature in image of taking pictures, then obtains shark feature;If or image of taking pictures
Color characteristic be pink colour feature and the eye feature of object to be captured is default eye feature in image of taking pictures, then obtain rabbit
Subcharacter.
In one embodiment there is provided a kind of computer equipment, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, realize following steps during computing device program:In the photographing module of terminal
Treat reference object to be taken pictures when taking pictures image to obtain, extract the feature of image of taking pictures;Judgement image of taking pictures is characterized in
It is no that there is at least one default feature;If the feature for image of taking pictures has at least one default feature, obtain and at least one
The biological characteristic of default characteristic matching;The image that will take pictures is synthesized to produce composograph with biological characteristic.
In one embodiment, during above-mentioned computing device program, biological characteristic includes animal character or plant characteristics.
In one embodiment, during above-mentioned computing device program, the feature for image of taking pictures is default with least one
Feature includes:The sex character of object to be captured in image of taking pictures is default sex character;Or it is to be captured right in image of taking pictures
The posture of elephant is characterized as default posture feature;Or the color characteristic for image of taking pictures is pre-set color feature;Or their group
Close.
In one embodiment, during above-mentioned computing device program, if having at least in the feature for realizing image of taking pictures
One default feature, then the step of obtaining the biological characteristic with least one default characteristic matching, including realize following steps:If
The feature of image of taking pictures has at least one default feature, then obtains the limbs portion with the animal of at least one default characteristic matching
Position;The step of image that will take pictures is synthesized to produce composograph with biological characteristic is being realized, including is realizing following steps:Will
The body part of image and animal of taking pictures is synthesized to produce composograph.
In one embodiment, during above-mentioned computing device program, if having at least in the feature for realizing image of taking pictures
One default feature, then the step of obtaining the biological characteristic with least one default characteristic matching, if including realizing following steps
The posture of object to be captured in image of taking pictures is characterized as default posture feature, then obtains and the animal of default posture characteristic matching
Body part.
In one embodiment, during above-mentioned computing device program, if having at least in the feature for realizing image of taking pictures
One default feature, then the step of obtaining the biological characteristic with least one default characteristic matching, including realize following steps:If
The color characteristic of image of taking pictures is characterized as default face feature for the face of object to be captured in blue characteristics and image of taking pictures,
Then obtain shark feature;If or the eye that the color characteristic for image of taking pictures is object to be captured in pink colour feature and image of taking pictures
Eyeball is characterized as default eye feature, then obtains rabbit feature.
In one embodiment there is provided a kind of computer-readable recording medium, computer program is stored thereon with, is calculated
Machine program realizes following steps when being executed by processor:Reference object is treated in the photographing module of terminal to be taken pictures to be clapped
During according to image, the feature for image of taking pictures is extracted;Whether the feature of image of judging to take pictures has at least one default feature;If taking pictures
The feature of image has at least one default feature, then obtains the biological characteristic with least one default characteristic matching;It will take pictures
Image is synthesized to produce composograph with biological characteristic.
In one embodiment, when the program is executed by processor, biological characteristic includes animal character or plant characteristics.
In one embodiment, when the program is executed by processor, the feature for image of taking pictures has at least one default spy
Levy including:The sex character of object to be captured in image of taking pictures is default sex character;Or object to be captured in image of taking pictures
Posture be characterized as default posture feature;Or the color characteristic for image of taking pictures is pre-set color feature;Or combinations thereof.
In one embodiment, when the program is executed by processor, if having at least one in the feature for realizing image of taking pictures
Individual default feature, then the step of obtaining the biological characteristic with least one default characteristic matching, including realize following steps:If clapping
There is at least one default feature according to the feature of image, then obtain the limbs portion with the animal of at least one default characteristic matching
Position;The step of image that will take pictures is synthesized to produce composograph with biological characteristic is being realized, including is realizing following steps:Will
The body part of image and animal of taking pictures is synthesized to produce composograph.
In one embodiment, when the program is executed by processor, if having at least one in the feature for realizing image of taking pictures
Individual default feature, then the step of obtaining the biological characteristic with least one default characteristic matching, if including realizing that following steps are clapped
Posture according to object to be captured in image is characterized as default posture feature, then obtains the limb with the animal of default posture characteristic matching
Body region.
In one embodiment, when the program is executed by processor, if having at least one in the feature for realizing image of taking pictures
Individual default feature, then the step of obtaining the biological characteristic with least one default characteristic matching, including realize following steps:If clapping
It is characterized as presetting face feature for the face of object to be captured in blue characteristics and image of taking pictures according to the color characteristic of image, then
Obtain shark feature;If or the eyes that the color characteristic for image of taking pictures is object to be captured in pink colour feature and image of taking pictures
Default eye feature is characterized as, then obtains rabbit feature.
Modules in above-mentioned camera arrangement can be realized fully or partially through software, hardware and combinations thereof.It is above-mentioned
Each module can in the form of hardware be embedded in or independently of in the memory of terminal, depositing for terminal can also be stored in a software form
In reservoir, in order to which processor calls the corresponding operation of execution above modules.The processor can be CPU
(CPU), microprocessor, single-chip microcomputer etc..
Such as alleged processor can be CPU (Central Processing Unit, CPU), can be with
It is other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of the camera arrangement/terminal device, is entirely taken pictures using various interfaces and connection
The various pieces of device/terminal device.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing
The computer program and/or module being stored in the memory, and the data being stored in memory are called, realize described
The various functions of camera arrangement/terminal device.The memory can mainly include storing program area and storage data field, wherein,
Storing program area can be needed for storage program area, at least one function application program (such as sound-playing function, image player
Function etc.) etc.;Storage data field can be stored uses created data (such as voice data, phone directory etc.) according to mobile phone
Deng.In addition, memory can include high-speed random access memory, nonvolatile memory, such as hard disk, interior can also be included
Deposit, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously
Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art
Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of photographic method, applied to terminal, it is characterised in that the photographic method includes:
The photographing module of terminal treat reference object taken pictures take pictures image to obtain when, extract described in take pictures the spy of image
Levy;
Whether judge the feature of the image of taking pictures there is at least one to preset feature;
If the feature of the image of taking pictures has at least one default feature, obtain and at least one described default characteristic matching
Biological characteristic;
The image of taking pictures is synthesized to produce composograph with the biological characteristic.
2. photographic method according to claim 1, it is characterised in that the biological characteristic includes animal character or plant is special
Levy.
3. photographic method according to claim 1, it is characterised in that the feature of the image of taking pictures has at least one pre-
If feature includes:
The sex character of object to be captured is default sex character in the image of taking pictures;Or
The posture of object to be captured is characterized as default posture feature in the image of taking pictures;Or
The color characteristic of the image of taking pictures is pre-set color feature;Or
Combinations thereof.
4. the photographic method according to claim 1,2 or 3, it is characterised in that if the feature tool of the image of taking pictures
There is at least one default feature, then the biological characteristic obtained with least one default characteristic matching includes:
If the feature of the image of taking pictures has at least one default feature, obtain and at least one described default characteristic matching
Animal body part;
The image of taking pictures is synthesized with the biological characteristic to be included with producing composograph:
The body part of take pictures image and the animal is synthesized to produce composograph.
5. photographic method according to claim 4, it is characterised in that if the feature of the image of taking pictures has at least
One default feature, the then biological characteristic obtained with least one default characteristic matching includes:
If the posture of object to be captured is characterized as default posture feature in the image of taking pictures, obtain special with the default posture
Levy the body part of the animal of matching.
6. photographic method according to claim 1, it is characterised in that if the feature of the image of taking pictures has at least
One default feature, the then biological characteristic obtained with least one default characteristic matching includes:
If the color characteristic of the image of taking pictures is the face feature of object to be captured in blue characteristics and the image of taking pictures
For default face feature, then shark feature is obtained;Or
If the color characteristic of the image of taking pictures is the eye feature of object to be captured in pink colour feature and the image of taking pictures
To preset eye feature, then rabbit feature is obtained.
7. a kind of camera arrangement, applied to terminal, it is characterised in that the camera arrangement includes:
Characteristic extracting module, for the photographing module of terminal treat reference object taken pictures with obtain take pictures image when, carry
Take the feature of the image of taking pictures;
Judge module, for judging whether the feature of the image of taking pictures has at least one default feature;
Feature acquisition module, for when the feature of the image of taking pictures has at least one default feature, obtain with it is described extremely
The biological characteristic of a few default characteristic matching;
Synthesis module, for the image of taking pictures to be synthesized to produce composograph with the biological characteristic.
8. camera arrangement according to claim 7, it is characterised in that:The feature acquisition module is additionally operable to take pictures when described
When the feature of image has at least one default feature, the limbs portion with the animal of at least one default characteristic matching is obtained
Position;
The synthesis module is additionally operable to be synthesized the body part of take pictures image and the animal to produce composite diagram
Picture.
9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, it is characterised in that realize in claim 1 to 6 and clapped described in any one during the computing device described program
The step of according to method.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
Realized when being executed by processor in claim 1 to 6 described in any one the step of photographic method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710399819.3A CN107291348A (en) | 2017-05-31 | 2017-05-31 | Photographic method and device, computer equipment and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710399819.3A CN107291348A (en) | 2017-05-31 | 2017-05-31 | Photographic method and device, computer equipment and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107291348A true CN107291348A (en) | 2017-10-24 |
Family
ID=60094092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710399819.3A Withdrawn CN107291348A (en) | 2017-05-31 | 2017-05-31 | Photographic method and device, computer equipment and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107291348A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107730446A (en) * | 2017-10-31 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method, device, computer equipment and computer-readable recording medium |
CN107798964A (en) * | 2017-11-24 | 2018-03-13 | 郑军 | The sign language intelligent interaction device and its exchange method of a kind of Real time identification gesture |
CN108737715A (en) * | 2018-03-21 | 2018-11-02 | 北京猎户星空科技有限公司 | A kind of photographic method and device |
CN109271090A (en) * | 2018-09-29 | 2019-01-25 | 华勤通讯技术有限公司 | Image interfusion method, terminal and computer readable storage medium |
CN112007874A (en) * | 2019-05-31 | 2020-12-01 | 武汉科技大学 | Sex identification and sorting system for rats and mice |
CN114302200A (en) * | 2021-06-28 | 2022-04-08 | 海信视像科技股份有限公司 | Display device and photographing method based on user posture triggering |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408702A (en) * | 2014-12-03 | 2015-03-11 | 浩云星空信息技术(北京)有限公司 | Image processing method and device |
CN105872338A (en) * | 2016-05-31 | 2016-08-17 | 宇龙计算机通信科技(深圳)有限公司 | Photographing method and device |
CN106408603A (en) * | 2016-06-21 | 2017-02-15 | 北京小米移动软件有限公司 | Camera method and device |
-
2017
- 2017-05-31 CN CN201710399819.3A patent/CN107291348A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104408702A (en) * | 2014-12-03 | 2015-03-11 | 浩云星空信息技术(北京)有限公司 | Image processing method and device |
CN105872338A (en) * | 2016-05-31 | 2016-08-17 | 宇龙计算机通信科技(深圳)有限公司 | Photographing method and device |
CN106408603A (en) * | 2016-06-21 | 2017-02-15 | 北京小米移动软件有限公司 | Camera method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107730446A (en) * | 2017-10-31 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method, device, computer equipment and computer-readable recording medium |
CN107730446B (en) * | 2017-10-31 | 2022-02-18 | Oppo广东移动通信有限公司 | Image processing method, image processing device, computer equipment and computer readable storage medium |
CN107798964A (en) * | 2017-11-24 | 2018-03-13 | 郑军 | The sign language intelligent interaction device and its exchange method of a kind of Real time identification gesture |
CN108737715A (en) * | 2018-03-21 | 2018-11-02 | 北京猎户星空科技有限公司 | A kind of photographic method and device |
CN109271090A (en) * | 2018-09-29 | 2019-01-25 | 华勤通讯技术有限公司 | Image interfusion method, terminal and computer readable storage medium |
CN112007874A (en) * | 2019-05-31 | 2020-12-01 | 武汉科技大学 | Sex identification and sorting system for rats and mice |
CN114302200A (en) * | 2021-06-28 | 2022-04-08 | 海信视像科技股份有限公司 | Display device and photographing method based on user posture triggering |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107291348A (en) | Photographic method and device, computer equipment and computer-readable recording medium | |
US11798246B2 (en) | Electronic device for generating image including 3D avatar reflecting face motion through 3D avatar corresponding to face and method of operating same | |
CN108182714B (en) | Image processing method and device and storage medium | |
CN109173263B (en) | Image data processing method and device | |
CN112419170A (en) | Method for training occlusion detection model and method for beautifying face image | |
EP3608838A1 (en) | Device and method for identifying items according to attributes of an avatar | |
CN112733802B (en) | Image occlusion detection method and device, electronic equipment and storage medium | |
CN109829448A (en) | Face identification method, device and storage medium | |
CN108460398A (en) | Image processing method, device, cloud processing equipment and computer program product | |
CN107665482B (en) | Video data real-time processing method and device for realizing double exposure and computing equipment | |
CN106682632A (en) | Method and device for processing face images | |
KR20160030037A (en) | Portrait generating device, portrait generating method | |
CN110928411B (en) | AR-based interaction method and device, storage medium and electronic equipment | |
CN108182232A (en) | Personage's methods of exhibiting, electronic equipment and computer storage media based on e-book | |
CN116091667B (en) | Character artistic image generation system based on AIGC technology | |
CN111277759A (en) | Composition prompting method and device, storage medium and electronic equipment | |
CN107168536A (en) | Examination question searching method, examination question searcher and electric terminal | |
Rosin et al. | Non-photorealistic rendering of portraits | |
CN112750176A (en) | Image processing method and device, electronic equipment and storage medium | |
WO2022095860A1 (en) | Fingernail special effect adding method and device | |
CN108683845A (en) | Image processing method, device, storage medium and mobile terminal | |
Ma et al. | Unselfie: Translating selfies to neutral-pose portraits in the wild | |
CN105468249B (en) | Intelligent interaction system and its control method | |
CN111800574B (en) | Imaging method and device and electronic equipment | |
CN116453230A (en) | Living body detection method, living body detection device, terminal equipment and storage 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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171024 |