Summary of the invention
In order to address the above problem, the object of the present invention is to provide a kind of network real-person fitting system that can make the user that the sense of reality is more arranged.
Another object of the present invention is to provide a kind of control method of above-mentioned network real-person fitting system.
In order to achieve the above object, network real-person fitting system provided by the invention comprises main body frame, master control set, camera, image display device, loudspeaker, depth detector and power-supply system; Wherein: main body frame is vertically set on the ground; Master control set is the master controller of whole system, it is mainly by main control chip, internal storage, external memory storage, the internet connecting circuit, image acquisition device, display driver and audio driver form, be used for reading the clothing information that is provided by garment manufacturers by the internet, read the image information that camera is taken by image acquisition device, read the user distance information that depth detector obtains and judge, and therefrom obtain user image information by computational analysis, can identify graphical information and virtual push button operation information, then carrying out image according to customer requirements synthesizes, generation need to be shown to user's image information, and sends image display device to by display driver and show; Camera is digital camera, is installed in the front end face top of main body frame, and is connected with master control set, is used for obtaining image information; Image display device is installed in the front end face middle part of main body frame, and is connected with master control set, is used to the user to show image; Loudspeaker is arranged on the front end face top of main body frame, and is connected with master control set, is used to user's music playing; Depth detector is installed in the front end face bottom of main body frame, and is connected with master control set by USB interface, for detection of the distance between user and the image display device; Power-supply system then provides working power for whole system.
Main control chip in the described master control set adopts Intel Duo i7980X.
Described camera is the high-definition digital camera.
Described image display device is the large LCD flat-panel monitor.
The control method of network real-person fitting system provided by the invention comprises the following step that carries out in order:
1) reads S1 stage of clothing information by network; In this stage, system will read the clothing information that is provided by garment manufacturers by the internet behind the power-up initializing, and after communication was finished, opening audio system was user's music playing by loudspeaker, and simultaneity factor begins to catch image by camera;
2) judge user distance suitable S2 stage whether; In this stage, master control set reads the user distance information that depth detector obtains, and judges with this whether distance is suitable between user and the image display device, if judged result is "Yes", enters the S4 stage, otherwise enters the S3 stage;
3) prompting user is adjusted the S3 stage of distance; In this stage, master control set demonstrates relevant information by image display device, adjusts distance between itself and the image display device with prompting user;
4) can identify the S4 stage that figure is judged to whether obtaining; In this stage, master control set will read the image information that camera sends, and therefrom judge whether to exist and can identify figure, if judged result is "Yes", enter the S5 stage, otherwise turn back to the porch in S4 stage, continue to carry out the S4 stage;
5) replace the S5 stage that to identify figure with virtual costume; In this stage, system will be used in the described clothing graphic of clothing information that S1 obtains in the stage and be placed on the position that can identify figure as virtual costume, and the real-time ensuring virtual costume is consistent with the position that can identify figure, so that virtual costume moves in real time along with identifying figure, then demonstrate " OK " virtual push button at image display device, enter afterwards the S6 stage;
6) the S6 stage of judging whether touching " OK " virtual push button; In this stage, the system wait user touches " OK " virtual push button on the image display device, if user's touching " OK " virtual push button enters the S7 stage, otherwise returns S6 stage porch;
7) the S7 stage at locking fitting image and demonstration fitting interface; In this stage, system will lock the fitting image that jointly is comprised of virtual costume and user image, and demonstrate the fitting interface at image display device, then enter the S8 stage;
8) the S8 stage of judging whether touching " to the right " virtual push button; In this stage, demonstrated on the image display device fitting interface, and the fitting interface both sides be provided with two arrow shaped " left/right " virtual push buttons and " a returning " virtual push button, if judged result is "Yes", enter the S9 stage, otherwise enter the S10 stage;
9) change successively S9 stage of color, style and the pattern of virtual costume; Then turn back to the porch in S8 stage, continue to repeat fitting;
10) the S10 stage of judging whether touching " left " virtual push button; In this stage, if judged result is "Yes", enter the S11 stage, otherwise enter the S12 stage;
11) check S11 stage of clothes; In this stage, will demonstrate clothes on the image display device;
12) the S12 stage of judging whether touching " returning " virtual push button.
Network real-person fitting system provided by the invention and control method thereof are compared with current network fitting, not only realistic, but also have that the user experiences, floor area is little, easy to operate, be easy to the characteristics such as popularization, therefore no matter be mounted in the designer-label store, or in the middle of the experience district, market, all be make things convenient for very much, practical.
Embodiment
Below in conjunction with the drawings and specific embodiments network real-person fitting system provided by the invention and control method thereof are elaborated.
As shown in Figure 1 and Figure 2, network real-person fitting system provided by the invention comprises main body frame 7, master control set 1, camera 2, image display device 4, loudspeaker 5, depth detector 8 and power-supply system 6; Wherein: main body frame 7 is vertically set on the ground; Master control set 1 is the master controller of whole system, it is mainly by main control chip, internal storage, external memory storage, the internet connecting circuit, image acquisition device, display driver and audio driver form, be used for reading the clothing information that is provided by garment manufacturers by internet 3, read the image information that camera 2 is taken by image acquisition device, read the user distance information that depth detector 8 obtains and judge, and therefrom obtain user image information by computational analysis, can identify graphical information and virtual push button operation information, then carrying out image according to customer requirements synthesizes, generation need to be shown to user's image information, and sends image display device 4 to by display driver and show; Camera 2 is digital camera, is installed in the front end face top of main body frame 7, and is connected with master control set 1, is used for obtaining image information; Image display device 4 is installed in the front end face middle part of main body frame 7, and is connected with master control set 1, is used to the user to show image; Loudspeaker 5 is arranged on the front end face top of main body frame 7, and is connected with master control set 1, is used to user's music playing; Depth detector 8 is installed in the front end face bottom of main body frame 7, and is connected with master control set 1 by USB interface, for detection of the distance between user and the image display device 4; 6 of power-supply systems provide working power for whole system.
Main control chip in the described master control set 1 adopts Intel Duo i7980X.
Described camera 2 is the high-definition digital camera.
Described image display device 4 is the large LCD flat-panel monitor.
As shown in Figure 3, network real-person fitting system control method provided by the invention comprises the following step that carries out in order:
1) reads S1 stage of clothing information by network; In this stage, system will read the clothing information that is provided by garment manufacturers by internet 3 behind the power-up initializing, comprise style, color, price, manufacturer and favorable comment degree of clothes etc., after communication is finished, open audio system and be user's music playing by loudspeaker 5, simultaneity factor begins to catch image by camera 2;
2) judge user distance suitable S2 stage whether; In this stage, master control set 1 reads the user distance information that depth detector 8 obtains, and judges with this whether distance is suitable between user and the image display device 4, if judged result is "Yes", enters the S4 stage, otherwise enters the S3 stage;
3) prompting user is adjusted the S3 stage of distance; In this stage, master control set 1 demonstrates relevant information by image display device 4, adjusts distance between itself and the image display device 4 with prompting user;
4) can identify the S4 stage that figure is judged to whether obtaining; In this stage, master control set 1 will read the image information that camera 2 sends, and therefrom judge whether to exist and can identify figure, if judged result is "Yes", enter the S5 stage, otherwise turn back to the porch in S4 stage, continue to carry out the S4 stage;
5) replace the S5 stage that to identify figure with virtual costume; In this stage, system will be used in the described clothing graphic of clothing information that S1 obtains in the stage and be placed on the position that can identify figure as virtual costume, and the real-time ensuring virtual costume is consistent with the position that can identify figure, move in real time along with identifying figure so that intend clothes, then demonstrate " OK " virtual push button at image display device 4, enter afterwards the S6 stage;
6) the S6 stage of judging whether touching " OK " virtual push button; In this stage, the system wait user touches " OK " virtual push button on the image display device 4, if user's touching " OK " virtual push button enters the S7 stage, otherwise returns S6 stage porch;
7) the S7 stage at locking fitting image and demonstration fitting interface; In this stage, system will lock the fitting image that jointly is comprised of virtual costume and user image, and demonstrate the fitting interface at image display device 4, then enter the S8 stage;
8) the S8 stage of judging whether touching " to the right " virtual push button; In this stage, demonstrated on the image display device 4 fitting interface, and the fitting interface both sides be provided with two arrow shaped " left/right " virtual push buttons and " a returning " virtual push button, if judged result is "Yes", enter the S9 stage, otherwise enter the S10 stage;
9) change successively S9 stage of color, style and the pattern of virtual costume; Then turn back to the porch in S8 stage, continue to repeat fitting;
10) the S10 stage of judging whether touching " left " virtual push button; In this stage, if judged result is "Yes", enter the S11 stage, otherwise enter the S12 stage;
11) check S11 stage of clothes; In this stage, will demonstrate clothes on the image display device 4;
12) the S12 stage of judging whether touching " returning " virtual push button; In this stage, if judged result is "Yes", is back to and begins the place, in order to carry out new round fitting; Otherwise turn back to the porch in S8 stage.
The principle of work of network real-person fitting system provided by the invention is as follows: at first, need two-dimension code identification pattern of design, black and white square pattern preferably, as identifying figure, then system obtains the pat file by figure training, identifies according to this file and can identify figure.
When the user appears at the dead ahead of image display device 4, depth detector 8 can detect the user immediately, then send the range information between user and the image display device 4 to master control set 1, master control set 1 will be analyzed above-mentioned information, if the distance between user and the graphics device 4 is not in suitable scope, master control set 1 will demonstrate information by image display device 4, adjust the position with prompting user, until till the distance between user and the graphics device 4 meets the demands.
Next step system need to identify and can identify figure, and camera 2 obtains user image, then sends the image that obtains to master control set 1.Master control set 1 will be analyzed the image that obtains, and can identify figure if exist in the image that obtains, and it utilizes augmented reality can identify figure and identifies, and Real-time Obtaining can be identified the positional information of figure.Then virtual clothes are placed on the position consistent with identifying figure, and in real time and the position that can identify figure be consistent, so virtual clothes just can move with the movement that can identify figure.
Then the user utilizes " OK " virtual push button on the gesture touching image display device 4 to position, this virtual push button is that image that camera 2 is obtained and button image use the flash technology to be superimposed and show at image display device 4, and system can record first the image of this button region.When the user touched this virtual push button, the image of this button region will change, and represented that at this moment this button is triggered, but so the user need not contact just finishing man-machine interaction of any input equipment.
When really entering fitting during the stage, the method for user's operation " left/right " virtual push button is the same with the situation of operation " OK " virtual push button.
When the user finishes to fit, the virtual push button before the design of " returning " virtual push button is different from.Because virtual push button is to judge according to the change of image whether button is triggered, so if the user accidentally will produce maloperation, for other button, even if maloperation can not bring great trouble to the user yet, but in a single day touch " returning " virtual push button because of maloperation, if state suitable before the user wants to return will be more loaded down with trivial details, so " return " design of virtual push button and be when the user continuously after the touching repeatedly just real the execution withdraw from, if the user has touched " returning " virtual push button accidentally like this, also be unlikely to directly to withdraw from.
Network real-person fitting system use procedure provided by the invention is as follows:
The first step: after the start, system can will be transferred to by the clothing information that garment manufacturers provides in the middle of the machine by internet 3, comprises style, color, price, manufacturer and favorable comment degree of clothes etc.After communication is finished, will demonstrate the image of catching by camera 2 on the image display device 4, loudspeaker 2 is play the music of graceful fashion simultaneously.
Second step: when the user wanted to utilize network real-person fitting system provided by the invention fitting, it was at first identified on the chest that figure entirely is placed on oneself ready, then stands in the dead ahead of image display device 4.This moment, system will be by the distance between depth detector 8 detection users and the image display device 4, to guarantee the complete demonstration of portrait.The most suitable distance between user and the image display device 4 is about 1.5 meters, if the user information will occur on the image display device 4 not in the scope of regulation, requires the user to adjust distance, and can't carry out next step operation.If the user is in the suitable scope, system will catch by camera 2 user's image, then use flash ARTook Kit (augmented reality) that whole image is carried out the high operational analysis of per second 24 times, and be presented in real time on the image display device 4.At this moment, when including in the image that system obtains by camera 2 can identify this special pattern of figure the time, master control set 1 will identify it, and Real-time Obtaining can be identified the position of figure in whole image, the visuals identified in the image just can present a virtual costume at this moment, " OK " virtual push button will occur on the image display device 4 simultaneously.
The 3rd step: automatically demonstrate virtual costume on the image display device 4, and replaced and to identify figure.At this moment, the user can come by adjusting the position that can identify figure in the hand position of Self-adjustment virtual costume, when the user feels position suitable, keep stable stationary state, then by " OK " virtual push button on the gesture touching image display device 4, at this moment virtual costume is just no longer mobile, has finished since then the location.After the virtual costume location, at this moment the user just can put down and attentively fitted identifying figure.
The 4th step: enter the fitting interface.At this moment, the both sides of image display device 4 will demonstrate two arrow shaped " left/right " virtual push buttons and " returning " virtual push button.The user can change clothes when touching " to the right " virtual push button by gesture successively, comprises color, style and the pattern of clothes.Can check clothes during touching " left " virtual push button.
The 5th step: after fitting finished, the user touched " returning " virtual push button, to carry out the fitting of a new round.When the user wants to return or when changing the another one user, touch this button and get final product.