CN106357971A - Virtual decoration method and mobile terminal - Google Patents

Virtual decoration method and mobile terminal Download PDF

Info

Publication number
CN106357971A
CN106357971A CN201610725276.5A CN201610725276A CN106357971A CN 106357971 A CN106357971 A CN 106357971A CN 201610725276 A CN201610725276 A CN 201610725276A CN 106357971 A CN106357971 A CN 106357971A
Authority
CN
China
Prior art keywords
image
human body
head
decorated
dress ornament
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
CN201610725276.5A
Other languages
Chinese (zh)
Inventor
韩桂敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610725276.5A priority Critical patent/CN106357971A/en
Publication of CN106357971A publication Critical patent/CN106357971A/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/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0281Customer communication at a business location, e.g. providing product or service information, consulting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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
    • 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/265Mixing

Abstract

The invention discloses a virtual decoration method and a mobile terminal. The method comprises: acquiring a human body image through the front camera; decorating the human body image based on a costume image acquired by the rear camera to obtain a target image; displaying the target image on the image preview interface of the front camera. Thus, users do not need queue and can be decorated in real time through the front camera of the mobile terminal, saving time and making the costume-trying process convenient and fast.

Description

A kind of virtual trailing and mobile terminal
Technical field
The present invention relates to the communications field, more particularly, to a kind of virtual trailing and mobile terminal.
Background technology
With the raising of people's living standard, people often go solid shop/brick and mortar store to do shopping, and often try on during shopping The dress ornament liked, such as try-on garment, try medicated cap on, try scarf etc. on.Need to put on clothes in fitting room during trying on It is decorated with the upper body effect knowing dress ornament, need to take off the dress ornament tried on if the upper body effect of dress ornament is bad and go to try again Wear other dress ornaments.If user wants to try the process that more dress ornaments need constantly to try on and try on, in particular for Also need to when the people of fitting clothing is many rank.So, the process of user's fitting clothing is not convenient, fast.
Content of the invention
The embodiment of the present invention provides a kind of virtual trailing and mobile terminal, with solve user's fitting clothing process not Enough easily and efficiently problems.
In a first aspect, embodiments providing a kind of virtual trailing, comprising:
Human body image is gathered by described front-facing camera;
Dress ornament image according to being gathered by described post-positioned pick-up head is decorated to described human body image, obtains target figure Picture;
In target image described in the image preview interface display of described front-facing camera.
Second aspect, the embodiment of the present invention also provides a kind of mobile terminal, comprising:
Acquisition module, for gathering human body image by described front-facing camera;
Decorative module, for entering luggage according to the dress ornament image being gathered by described post-positioned pick-up head to described human body image Decorations, obtain target image;
Display module, for target image described in the image preview interface display in described front-facing camera.
In the embodiment of the present invention, human body image is gathered by described front-facing camera;Adopt according to by described post-positioned pick-up head The dress ornament image of collection is decorated to described human body image, obtains target image;Image preview circle in described front-facing camera Face shows described target image.So user, without queuing, just can be saved with real-time decoration by the front-facing camera of mobile terminal Save user time, the process of fitting clothing is convenient, fast.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to required in embodiment of the present invention description Accompanying drawing to be used be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of virtual trailing provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another kind of virtual trailing provided in an embodiment of the present invention;
Fig. 3 is virtual decoration process schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of the determining unit in a kind of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another kind mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another kind mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another kind mobile terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
First embodiment
Referring to Fig. 1, Fig. 1 is a kind of flow chart of virtual trailing provided in an embodiment of the present invention, as shown in figure 1, bag Include following steps:
Step 101, human body image is gathered by described front-facing camera.
In this step, described front-facing camera can be photographic head or the focus adjustable mould of fixed focal length pattern The photographic head of formula, can allow user preferably gather Whole Body image using the photographic head of focus adjustable pattern;Above-mentioned human body Image can be any one image of lower part of the body image of human face image, the upper part of the body image of human body, human body, or any two Plant combination of image etc.;Above-mentioned gatherer process is Real-time Collection, can be one below:
Front-facing camera is controlled to be taken pictures, to generate image of taking pictures, the human body that then identification is taken pictures in image is special Levy, such as head position, chest position, loin, leg etc., then generate the genius loci model with regard to human body;
Control front-facing camera to carry out real time scan, identify human body feature, such as head from the view data of scanning Position, chest position, loin, leg etc., generate the genius loci model with regard to human body then.
Certainly, above is only to illustrate, and the gatherer process method of the specific embodiment of the invention is not limited to listed above The process lifted.
The subject image that step 102, basis are gathered by described post-positioned pick-up head is decorated to described human body image, obtains Target image.
In this step, the gatherer process of post-positioned pick-up head can be Real-time Collection or gather in front-facing camera Gather before human body image, this gatherer process can be to control front-facing camera to be taken pictures, to generate image of taking pictures, Ran Houshi The subject image do not taken pictures in image;Or control front-facing camera to carry out real time scan, identify from the view data of scanning Subject image.Above-mentioned subject image can be dress ornament image, for example, dress, footwear, cap, socks, glove, scarf, necktie, bag, sun Umbrella, hair decorations etc.;May also be cosmetics, such as rouge, lip gloss, informer, lipstick etc..Decoration process can be by dress ornament image Carry out trial assembly, or made up by cosmetics image;The process that human body image and subject image are decorated can profit With image recognition algorithm, face recognition algorithms, object tracking algorithm real-time decoration is to obtain target image.
Step 103, in target image described in the image preview interface display of described front-facing camera.
In this step, the target image of acquisition is shown in image preview interface in real time, to facilitate user preferably to decorate Oneself, and know the effect of decoration during decoration in real time.For example, hang a skirt before, then user is permissible Start photographic head, the view data of collection skirt, above-mentioned view data is synthesized target image with human body image data, then will Target image is shown in the image preview interface of front-facing camera, so when user is when moving or rotate body, target figure Picture is also in change, and shows in real time.
In the embodiment of the present invention, above-mentioned mobile terminal any can possess the mobile end of front-facing camera and post-positioned pick-up head End, for example: mobile phone, panel computer (tablet personal computer), kneetop computer (laptop computer), Personal digital assistant (personal digital assistant, abbreviation pda), mobile Internet access device (mobile internet Device, mid) or Wearable device (wearable device) etc..
A kind of virtual trailing of the embodiment of the present invention, gathers human body image by described front-facing camera;According to by The dress ornament image of described post-positioned pick-up head collection is decorated to described human body image, obtains target image;Preposition take the photograph described Target image described in image preview interface display as head.So user without queuing, by the front-facing camera of mobile terminal Just user time can be saved with real-time decoration, the process of fitting clothing is convenient, fast.
Second embodiment
Referring to Fig. 2, Fig. 2 is a kind of flow chart of virtual trailing provided in an embodiment of the present invention, and this embodiment is applied Front-facing camera and the latter's photographic head can be started in mobile terminal simultaneously, and front-facing camera and post-positioned pick-up head are gathered Image is simultaneously displayed in the different windows at same interface of mobile terminal, as shown in Fig. 2 comprising the following steps:
Step 201, human body image is gathered by described front-facing camera.
In this step, described front-facing camera can be photographic head or the focus adjustable mould of fixed focal length pattern The photographic head of formula, can allow user preferably gather Whole Body image using the photographic head of focus adjustable pattern;Above-mentioned human body Image can be any one image of lower part of the body image of human face image, the upper part of the body image of human body, human body, or any two Plant combination of image etc.;Above-mentioned gatherer process is Real-time Collection, can be one below:
Front-facing camera is controlled to be taken pictures, to generate image of taking pictures, the human body that then identification is taken pictures in image is special Levy, such as head position, chest position, loin, leg etc., then generate the genius loci model with regard to human body;
Control front-facing camera to carry out real time scan, identify human body feature, such as head from the view data of scanning Position, chest position, loin, leg etc., generate the genius loci model with regard to human body then.
Certainly, above is only to illustrate, and the gatherer process method of the specific embodiment of the invention is not limited to listed above The process lifted.
Step 202, determine the current angular of human body according to described human body image.
In this step, face recognition algorithms are adopted to identify the angle to determine face for the feature of the face in human body image, And the measurements of the chest, waist and hips feature using object tracking algorithm keeps track face and human body, it is then determined that the current angular of human body.
The corresponding dress ornament image of the current angular with described human body that step 203, basis are gathered by described post-positioned pick-up head Described human body image is decorated, obtains target image.
In this step, post-positioned pick-up head collection is multi-angle dress ornament image, and the human body current angular according to obtaining enters Luggage is adornd, and for example, if the current angular of human body is front angle, is decorated with the dress ornament image in front.Entering luggage Show the image of front-facing camera collection and the image of post-positioned pick-up head collection, for example: as shown in Figure 3 a, front when decorations simultaneously The dress ornament image putting the human body image and post-positioned pick-up head collection of photographic head collection screens into two parts, when being decorated When by take pictures button obtain post-positioned pick-up head collection dress ornament image, this dress ornament image is the image of different angles, Optimal collection effect can be obtained by focusing during collection;Then pass through the former photographic head and gather human figure Picture, this gatherer process is real-time process, can obtain the partly special of human body image by adjusting the focal length of front-facing camera The all images levied image or obtain human body image, touch decoration button and are decorated, as Fig. 3 b after decoration after adjusting image Shown, the image after decoration is shown in front-facing camera region, and such user can be gathered by switching preamplifier photographic head Dress ornament image carrying out trial assembly, simple, convenient.
Step 204, in target image described in the image preview interface display of described front-facing camera.
In this step, the target image of acquisition is shown in image preview interface in real time, to facilitate user preferably to decorate Oneself, and know the effect of decoration during decoration in real time.For example, hang a skirt before, then user is permissible Start photographic head, the view data of collection skirt, above-mentioned view data is synthesized target image with human body image data, then will Target image is shown in the image preview interface of front-facing camera, so when user is when moving or rotate body, target figure Picture is also in change, and shows in real time.
Optionally, the described current angular determining human body according to described human body image, comprising:
Identify the measurements of the chest, waist and hips feature of the facial angle in described human body image and human body;
Determine the current angular of human body according to described facial angle and described measurements of the chest, waist and hips feature.
In this step, first have to determine the angle of face, this can determine the current of face by face recognition algorithms Angle, determines the measurements of the chest, waist and hips feature of human body in conjunction with face recognition algorithms and object tracking algorithm, to determine the current angular of human body, should Step can determine that the current angular of human body can preferably trial assembly in real time.
Optionally, the corresponding dress ornament figure of the current angular with described human body that described basis is gathered by described post-positioned pick-up head As decorating to described human body image, comprising:
If the current angular of described human body is front angle, by the front being gathered by described post-positioned pick-up head dress ornament image pair Described human body image is decorated, and obtains target image;Or
If the current angular of described human body is flank angle, by the side being gathered by described post-positioned pick-up head dress ornament image pair Described human body image is decorated, and obtains target image.
In this step, in this step, identify the face in human body image using face recognition algorithms, identify face just Face or side face, when being positive face, by described human body image and the front image of clothing being gathered by described post-positioned pick-up head Synthesis trial assembly image, this process can be not limited only to positive face, can determine different angles according to the different angles of detection face Clothing synthesized, for example, when the back side is detected, by described human body image and the back of the body being gathered by described post-positioned pick-up head Face image of clothing synthesis trial assembly image.By object tracking algorithm real-time detection user whether in trial assembly.
Optionally, the corresponding dress ornament figure of the current angular with described human body that described basis is gathered by described post-positioned pick-up head As, before described human body image is decorated, also including:
Gather the dress ornament image of multi-angle by described post-positioned pick-up head.
In this step, post-positioned pick-up head gathers the decoration to adapt to different human body angle for the dress ornament image of multi-angle.
Optionally, the dress ornament image that described basis is gathered by described post-positioned pick-up head is decorated to described human body image, After obtaining target image, also include:
Identify the face features in described target image;
Using the cosmetic element pre-setting, described face features are decorated.
In this step, face features include: the feature such as eyes, nose, eyelashes, face, the cosmetic unit pre-setting Element is cosmetic element corresponding with above-mentioned face features, and such as face corresponds to the cosmetic elements such as lipstick, lip pomade.The mistake of this decoration Target image can be made in journey more attractive in appearance, increased the interest in decoration process.
A kind of virtual trailing of the embodiment of the present invention, gathers human body image by described front-facing camera;According to institute State the current angular that human body image determines human body;According to the current angular pair being gathered by described post-positioned pick-up head with described human body The dress ornament image answered is decorated to described human body image, obtains target image;Image preview circle in described front-facing camera Face shows described target image.So user, without queuing, just can be saved with real-time decoration by the front-facing camera of mobile terminal Save user time, the process of fitting clothing is convenient, fast, increased the same screen display of front-facing camera and post-positioned pick-up head simultaneously Show, allow user can preferably switch decorative picture and Display on the same screen target image.
3rd embodiment
Referring to Fig. 4, Fig. 4 is a kind of structure chart of mobile terminal that the present invention implements to provide, as shown in figure 4, mobile terminal 400 include acquisition module 401, decorative module 402 and display module 403.
Acquisition module 401, for gathering human body image by described front-facing camera;
Decorative module 402, for carrying out to described human body image according to the dress ornament image being gathered by described post-positioned pick-up head Decoration, obtains target image;
Display module 403, for target image described in the image preview interface display in described front-facing camera.
Optionally, as shown in figure 5, described decorative module 402 includes:
Determining unit 4021, for determining the current angular of human body according to described human body image;
Decorating unit 4022, for corresponding according to the current angular with described human body being gathered by described post-positioned pick-up head Dress ornament image is decorated to described human body image, obtains target image.
Optionally, as shown in fig. 6, described determining unit 4021 includes:
Identification subelement 40211, for identifying the measurements of the chest, waist and hips feature of the facial angle in described human body image and human body;
Determination subelement 40212, for determining the current angular of human body according to described facial angle and described measurements of the chest, waist and hips feature.
Optionally, if the current angular that described decorating unit 4022 is used for described human body is front angle, will be by after described The front dress ornament image putting photographic head collection is decorated to described human body image, obtains target image;Or
If the current angular that described decorating unit 4022 is used for described human body is flank angle, will be by described post-positioned pick-up head The side dress ornament image of collection is decorated to described human body image, obtains target image.
Optionally, as shown in fig. 7, described decorative module 402 also includes:
Collecting unit 4013, the dress ornament image of the multi-angle for being gathered by described post-positioned pick-up head.
Optionally, as shown in figure 8, described mobile terminal 400 also includes:
Identification module 404, for identifying the face features in described target image;
Synthesis module 405, for using the cosmetic element pre-setting, decorating to described face features.
Mobile terminal 400 is capable of each process that in the embodiment of the method for Fig. 1 to Fig. 3, mobile terminal is realized, and Identical technique effect can be reached, for avoiding repeating, repeat no more here.
The mobile terminal 400 of the embodiment of the present invention, gathers human body image by described front-facing camera;According to by after described The dress ornament image putting photographic head collection is decorated to described human body image, obtains target image;In described front-facing camera Target image described in image preview interface display.So user is without queuing, just permissible by the front-facing camera of mobile terminal Real-time decoration, saves user time, and the process of fitting clothing is convenient, fast.
Fourth embodiment
Referring to Fig. 9, Fig. 9 is the structure chart of the mobile terminal that the present invention implements to provide, as shown in figure 9, mobile terminal 900 wraps Include: at least one processor 901, memorizer 902, at least one network interface 904 and user interface 903.In mobile terminal 900 Each assembly be coupled by bus system 905.It is understood that bus system 905 is used for realizing between these assemblies Connection communication.Bus system 905, in addition to including data/address bus, also includes power bus, controlling bus and status signal bus in addition. But for the sake of clear explanation, in fig .9 various buses are all designated as bus system 905.
Wherein, user interface 903 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memorizer 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (read- Only memory, rom), programmable read only memory (programmable rom, prom), the read-only storage of erasable programmable Device (erasable prom, eprom), Electrically Erasable Read Only Memory (electrically eprom, eeprom) or Flash memory.Volatile memory can be random access memory (random access memory, ram), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the ram of many forms can use, such as static RAM (static ram, sram), dynamic random access memory (dynamic ram, dram), Synchronous Dynamic Random Access Memory (synchronous dram, sdram), double data speed synchronous dynamic RAM (double data rate Sdram, ddrsdram), enhancement mode Synchronous Dynamic Random Access Memory (enhanced sdram, esdram), synchronized links Dynamic random access memory (synch link dram, sldram) and direct rambus random access memory (direct Ram bus ram, drram).The memorizer 902 of system and method described herein be intended to including but not limited to these and arbitrarily Other memorizeies being suitable for type.
In some embodiments, memorizer 902 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 9021 and application program 9022.
Wherein, operating system 9021, comprise various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and process hardware based task.Application program 9022, comprises various application programs, such as media Player (media player), browser (browser) etc., are used for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 9022.
In embodiments of the present invention, can be by calling program or the instruction of memorizer 902 storage, specifically, application The program of storage or instruction in program 9022, processor 901 is used for:
Human body image is gathered by described front-facing camera;
Dress ornament image according to being gathered by described post-positioned pick-up head is decorated to described human body image, obtains target figure Picture;
In target image described in the image preview interface display of described front-facing camera.
The method that the embodiments of the present invention disclose can apply in processor 901, or is realized by processor 901. Processor 901 is probably a kind of IC chip, has the disposal ability of signal.Realize during, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 901 or software form.Above-mentioned process Device 901 can be general processor, digital signal processor (digital signal processor, dsp), special integrated electricity Road (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.Can realize or execute disclosed each method in the embodiment of the present invention, step and logic diagram.General Processor can be microprocessor or this processor can also be any conventional processor etc..In conjunction with embodiment of the present invention institute The step of disclosed method can be embodied directly in hardware decoding processor execution and complete, or with the hardware in decoding processor And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are programmable read-only In the ripe storage medium in this area such as memorizer or electrically erasable programmable memory, depositor.This storage medium is located at Memorizer 902, processor 901 reads the information in memorizer 902, the step completing said method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine and to realize.Hardware is realized, processing unit can be implemented in one or more special IC (application Specific integrated circuits, asic), digital signal processor (digital signal processing, Dsp), digital signal processing appts (dsp device, dspd), programmable logic device (programmable logic Device, pld), field programmable gate array (field-programmable gate array, fpga), general processor, Controller, microcontroller, microprocessor, for executing in other electronic units or a combination thereof of herein described function.
Software is realized, can be realized herein by executing the module (such as process, function etc.) of function described herein Described technology.Software code is storable in memorizer and passes through computing device.Memorizer can within a processor or Realize outside processor.
Optionally, processor 901 executes the dress ornament image that described basis gathers by described post-positioned pick-up head to described human body Image is decorated, and obtains target image, comprising:
Determine the current angular of human body according to described human body image;
According to being gathered dress ornament image corresponding with the current angular of described human body by described post-positioned pick-up head to described people Body image is decorated, and obtains target image.
Optionally, processor 901 executes the described current angular determining human body according to described human body image, comprising:
Identify the measurements of the chest, waist and hips feature of the facial angle in described human body image and human body;
Determine the current angular of human body according to described facial angle and described measurements of the chest, waist and hips feature.
Optionally, processor 901 execute that described basis gathers by described post-positioned pick-up head with described human body work as anterior angle Spend corresponding dress ornament image described human body image is decorated, comprising:
If the current angular of described human body is front angle, by the front being gathered by described post-positioned pick-up head dress ornament image pair Described human body image is decorated, and obtains target image;Or
If the current angular of described human body is flank angle, by the side being gathered by described post-positioned pick-up head dress ornament image pair Described human body image is decorated, and obtains target image.
Optionally, the corresponding dress ornament figure of the current angular with described human body that described basis is gathered by described post-positioned pick-up head As, before described human body image is decorated, processor 901 is additionally operable to:
Gather the dress ornament image of multi-angle by described post-positioned pick-up head.
Optionally, the dress ornament image that described basis is gathered by described post-positioned pick-up head is decorated to described human body image, After obtaining target image, processor 901 is additionally operable to:
Identify the face features in described target image;
Using the cosmetic element pre-setting, described face features are decorated.
Mobile terminal 900 is capable of each process that in previous embodiment, mobile terminal is realized, and can reach identical Technique effect, for avoid repeat, repeat no more here.
The mobile terminal 900 of the embodiment of the present invention, gathers human body image by described front-facing camera;According to by after described The dress ornament image putting photographic head collection is decorated to described human body image, obtains target image;In described front-facing camera Target image described in image preview interface display.So user is without queuing, just permissible by the front-facing camera of mobile terminal Real-time decoration, saves user time, and the process of fitting clothing is convenient, fast.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually To be executed with hardware or software mode, the application-specific depending on technical scheme and design constraint.Professional and technical personnel Each specific application can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed apparatus and method in embodiment provided herein, can pass through other Mode is realized.For example, device embodiment described above is only schematically, for example, the division of described unit, it is only A kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication link Connect, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme Purpose.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.
If described function realized using in the form of SFU software functional unit and as independent production marketing or use when, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words Partly being embodied in the form of software product of part that prior art is contributed or this technical scheme, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or network equipment etc.) execution each embodiment methods described of the present invention all or part of step. And aforesaid storage medium includes: u disk, portable hard drive, rom, ram, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (12)

1. a kind of virtual trailing, is applied to mobile terminal, and described mobile terminal includes front-facing camera and post-positioned pick-up head, It is characterized in that, comprising:
Human body image is gathered by described front-facing camera;
Dress ornament image according to being gathered by described post-positioned pick-up head is decorated to described human body image, obtains target image;
In target image described in the image preview interface display of described front-facing camera.
2. virtual trailing according to claim 1 is it is characterised in that described basis is gathered by described post-positioned pick-up head Dress ornament image described human body image is decorated, obtain target image, comprising:
Determine the current angular of human body according to described human body image;
According to being gathered dress ornament image corresponding with the current angular of described human body by described post-positioned pick-up head to described human figure As being decorated, obtain target image.
3. virtual trailing according to claim 2 is it is characterised in that described determine human body according to described human body image Current angular, comprising:
Identify the measurements of the chest, waist and hips feature of the facial angle in described human body image and human body;
Determine the current angular of human body according to described facial angle and described measurements of the chest, waist and hips feature.
4. virtual trailing according to claim 2 is it is characterised in that described basis is gathered by described post-positioned pick-up head The corresponding dress ornament image of the current angular with described human body described human body image is decorated, comprising:
If the current angular of described human body is front angle, by the front being gathered by described post-positioned pick-up head dress ornament image to described Human body image is decorated, and obtains target image;Or
If the current angular of described human body is flank angle, by the side being gathered by described post-positioned pick-up head dress ornament image to described Human body image is decorated, and obtains target image.
5. virtual trailing according to claim 2 is it is characterised in that described basis is gathered by described post-positioned pick-up head The corresponding dress ornament image of the current angular with described human body described human body image is decorated before, also include:
Gather the dress ornament image of multi-angle by described post-positioned pick-up head.
6. the virtual trailing according to any one of Claims 1 to 5 is it is characterised in that described basis is by described rearmounted The dress ornament image of photographic head collection is decorated to described human body image, after obtaining target image, also includes:
Identify the face features in described target image;
Using the cosmetic element pre-setting, described face features are decorated.
7. a kind of mobile terminal, described mobile terminal includes front-facing camera and post-positioned pick-up head it is characterised in that including:
Acquisition module, for gathering human body image by described front-facing camera;
Decorative module, for being decorated to described human body image according to the dress ornament image being gathered by described post-positioned pick-up head, obtains To target image;
Display module, for target image described in the image preview interface display in described front-facing camera.
8. mobile terminal according to claim 7 is it is characterised in that described decorative module includes:
Determining unit, for determining the current angular of human body according to described human body image;
Decorating unit, for according to the corresponding dress ornament image of the current angular with described human body being gathered by described post-positioned pick-up head Described human body image is decorated, obtains target image.
9. mobile terminal according to claim 8 is it is characterised in that described determining unit includes:
Identification subelement, for identifying the measurements of the chest, waist and hips feature of the facial angle in described human body image and human body;
Determination subelement, for determining the current angular of human body according to described facial angle and described measurements of the chest, waist and hips feature.
If 10. mobile terminal according to claim 8 is it is characterised in that described decorating unit is used for working as of described human body Front angle is front angle, and the front being gathered by described post-positioned pick-up head dress ornament image is decorated to described human body image, Obtain target image;Or
If the current angular that described decorating unit is used for described human body is flank angle, the side that will be gathered by described post-positioned pick-up head Face dress ornament image is decorated to described human body image, obtains target image.
11. mobile terminals according to claim 8 are it is characterised in that described decorative module also includes:
Collecting unit, the dress ornament image of the multi-angle for being gathered by described post-positioned pick-up head.
12. according to any one of claim 7~11 mobile terminal it is characterised in that described mobile terminal also includes:
Identification module, for identifying the face features in described target image;
Synthesis module, for using the cosmetic element pre-setting, decorating to described face features.
CN201610725276.5A 2016-08-25 2016-08-25 Virtual decoration method and mobile terminal Pending CN106357971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610725276.5A CN106357971A (en) 2016-08-25 2016-08-25 Virtual decoration method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610725276.5A CN106357971A (en) 2016-08-25 2016-08-25 Virtual decoration method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106357971A true CN106357971A (en) 2017-01-25

Family

ID=57854863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610725276.5A Pending CN106357971A (en) 2016-08-25 2016-08-25 Virtual decoration method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106357971A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924410A (en) * 2018-06-15 2018-11-30 Oppo广东移动通信有限公司 Camera control method and relevant apparatus
CN109190536A (en) * 2018-08-23 2019-01-11 百度在线网络技术(北京)有限公司 Face image processing process, device and equipment
CN109525884A (en) * 2018-11-08 2019-03-26 北京微播视界科技有限公司 Video paster adding method, device, equipment and storage medium based on split screen
CN110070481A (en) * 2019-03-13 2019-07-30 北京达佳互联信息技术有限公司 Image generating method, device, terminal and the storage medium of virtual objects for face
CN110321865A (en) * 2019-07-09 2019-10-11 北京字节跳动网络技术有限公司 Head effect processing method and device, storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177462A (en) * 2013-03-15 2013-06-26 广东欧珀移动通信有限公司 Image composition method and system based on cutout technique
CN204990403U (en) * 2015-07-22 2016-01-20 北方民族大学 3D clothing system of trying on on
US20160071322A1 (en) * 2014-09-04 2016-03-10 Kabushiki Kaisha Toshiba Image processing apparatus, image processing system and storage medium
CN105608238A (en) * 2014-11-21 2016-05-25 中兴通讯股份有限公司 Clothes trying-on method and device
CN105787981A (en) * 2016-02-25 2016-07-20 上海斐讯数据通信技术有限公司 Method and system for assisting in makeup through mobile terminal
CN105812754A (en) * 2016-05-31 2016-07-27 珠海市魅族科技有限公司 Garment fitting method and garment fitting device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177462A (en) * 2013-03-15 2013-06-26 广东欧珀移动通信有限公司 Image composition method and system based on cutout technique
US20160071322A1 (en) * 2014-09-04 2016-03-10 Kabushiki Kaisha Toshiba Image processing apparatus, image processing system and storage medium
CN105608238A (en) * 2014-11-21 2016-05-25 中兴通讯股份有限公司 Clothes trying-on method and device
CN204990403U (en) * 2015-07-22 2016-01-20 北方民族大学 3D clothing system of trying on on
CN105787981A (en) * 2016-02-25 2016-07-20 上海斐讯数据通信技术有限公司 Method and system for assisting in makeup through mobile terminal
CN105812754A (en) * 2016-05-31 2016-07-27 珠海市魅族科技有限公司 Garment fitting method and garment fitting device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张建兴: "《服装设计人体工程学》", 30 April 2010 *
徐青青: "《数字化服装设计与管理》", 31 May 2006 *
邹奉元: "《服装工业样板制作原理与技巧》", 30 September 2012 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924410A (en) * 2018-06-15 2018-11-30 Oppo广东移动通信有限公司 Camera control method and relevant apparatus
CN109190536A (en) * 2018-08-23 2019-01-11 百度在线网络技术(北京)有限公司 Face image processing process, device and equipment
CN109190536B (en) * 2018-08-23 2023-12-26 百度在线网络技术(北京)有限公司 Face image processing method, device and equipment
CN109525884A (en) * 2018-11-08 2019-03-26 北京微播视界科技有限公司 Video paster adding method, device, equipment and storage medium based on split screen
CN110070481A (en) * 2019-03-13 2019-07-30 北京达佳互联信息技术有限公司 Image generating method, device, terminal and the storage medium of virtual objects for face
CN110321865A (en) * 2019-07-09 2019-10-11 北京字节跳动网络技术有限公司 Head effect processing method and device, storage medium

Similar Documents

Publication Publication Date Title
CN106357971A (en) Virtual decoration method and mobile terminal
US11227008B2 (en) Method, system, and device of virtual dressing utilizing image processing, machine learning, and computer vision
RU2668408C2 (en) Devices, systems and methods of virtualising mirror
JP6435516B2 (en) Makeup support device, makeup support method, and makeup support program
CN109840825A (en) The recommender system of physical features based on user
CN110021061A (en) Collocation model building method, dress ornament recommended method, device, medium and terminal
EP3479351A1 (en) System and method for digital makeup mirror
CN202904582U (en) Virtual fitting system based on body feeling identification device
CN106651433A (en) Interactive intelligent fitting mirror system and fitting method
CN108932654B (en) Virtual makeup trial guidance method and device
WO2016078296A1 (en) Garment try-on method and apparatus
TW201401222A (en) Electronic device capable of generating virtual clothing model and method for generating virtual clothing model
CN106791438A (en) A kind of photographic method and mobile terminal
CN108959668A (en) The Home Fashion & Design Shanghai method and apparatus of intelligence
CN108596730A (en) Processing method, device and the smart machine of dress ornament information
KR101967814B1 (en) Apparatus and method for matching personal color
CN110738620B (en) Intelligent makeup method, makeup mirror and storage medium
WO2018005884A1 (en) System and method for digital makeup mirror
KR20090054779A (en) Apparatus and method of web based fashion coordination
CN107808372B (en) Image crossing processing method and device, computing equipment and computer storage medium
WO2013120453A1 (en) System and method for natural person digitized image design
CN111767817B (en) Dress collocation method and device, electronic equipment and storage medium
CN114612643A (en) Image adjusting method and device for virtual object, electronic equipment and storage medium
US10467818B2 (en) System and method for virtual wardrobe selection
CN107622428A (en) A kind of method and device for realizing virtually trying

Legal Events

Date Code Title Description
C06 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: 20170125