Summary of the invention
The present invention aims to provide the method and system that dress designing is carried out in a kind of body sense, and it can simplify the cycle of dress designing greatly, improves custom made clothing efficiency.
For solving the problems of the technologies described above, technical scheme of the present invention is:
A method for dress designing is carried out in body sense, comprises the steps:
S1: the gesture of identifying operation person and the movement locus in real space thereof, the movement locus of wherein said gesture comprises the shape of movement locus and/or the position of movement locus Chosen Point.
S2: resolve gesture classification and movement locus thereof, obtains corresponding operational order.
S3: according to operational order, edits the clothing information in 3D manikin and/or 3D clothes and carries out 3-D display in real time.
S4: repeat step S1 to S3 until editor terminates, preserve the clothing information after editor.
Further, described step S2 specifically comprises:
S21: according to the gesture shape of making an appointment, determine gesture classification.
S22: quantification treatment is carried out to the movement locus of gesture, obtains trace information.
S23: obtain corresponding operational order according to real-time gesture classification and described trace information.
Further, also comprise:
S5: according to clothing information, calculates and generates clothes version type drawing, and wherein said clothes version type drawing is the entire and part parts drawing of garment production.
Further, described step S1 specifically comprises:
S11: obtain in operator gesture coordinate a little in real space.
S12: using at least one point in gesture as measuring and calculating reference point, by calculating this measuring and calculating reference point at the coordinate of each position in motion process, thus identify movement locus.
Further, described clothing information comprises apparel construction line and apparel construction point, described apparel construction line be apparel modeling can be caused to change garment elements, outside and the inner general name needing the line sewed up, described apparel construction point is the end points of described apparel construction line.
A system for dress designing is carried out in body sense, comprising:
Identification module, for the gesture of identifying operation person and the movement locus in real space thereof, the movement locus of wherein said gesture comprises the shape of movement locus and/or the position of movement locus Chosen Point.
Parsing module, for resolving gesture classification and movement locus thereof, obtains corresponding operational order.
Editor module, for according to operational order, edits the clothing information in 3D manikin and/or 3D clothes and carries out 3-D display in real time.
Preserve module, for preserving the clothing information after editor.
Further, described parsing module specifically comprises:
Gesture resolution unit, for according to the gesture shape of making an appointment, determines gesture classification.
Track resolution unit, for carrying out quantification treatment to the movement locus of gesture, obtains trace information.
Operational order map unit, for obtaining corresponding operational order according to real-time gesture classification and described trace information.
Further, also comprise:
Clothes version type drawing creation module, for according to clothing information, calculate and generate clothes version type drawing, wherein said clothes version type drawing is the entire and part parts drawing of garment production.
Further, described identification module specifically comprises:
Gesture identification unit, for obtain in operator's gesture coordinate a little in real space.
Track identification unit, for putting at least one in gesture as measuring and calculating reference point, by calculating this measuring and calculating reference point at the coordinate of each position in motion process, thus identifies movement locus.
Further, described clothing information comprises apparel construction line and apparel construction point, described apparel construction line be apparel modeling can be caused to change garment elements, outside and the inner general name needing the line sewed up, described apparel construction point is the end points of described apparel construction line.
Adopt technique scheme, the present invention at least comprises following beneficial effect:
The method and system of dress designing is carried out in body sense of the present invention, realizes dress designing by body sense, makes random amendment in user's scene in the display device take information, and can by calculating clothes version type drawing.The present invention's design is based on the body sense operating system of three-dimension gesture, utilize three-dimension gesture detection technique, detect the various actions three dimensions assistant and health, thus the apparel construction designed in three-dimension gesture and display device change between mapping, object makes people in realistic space, perform various three-dimensional gesture action, and the 3D clothes of 3-D display then carry out respective change according to action.It can simplify the cycle of dress designing greatly, improves custom made clothing efficiency.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further described.
embodiment 1
As shown in Figure 1, for the method for dress designing is carried out in a kind of body sense meeting the present embodiment, comprise the steps:
S1: the gesture of identifying operation person and the movement locus in real space thereof, the movement locus of wherein said gesture comprises the shape of movement locus and/or the position of movement locus Chosen Point.
S2: resolve gesture classification and movement locus thereof, obtains corresponding operational order.
S3: according to operational order, edits the clothing information in 3D manikin and/or 3D clothes and carries out 3-D display in real time.
S4: repeat step S1 to S3 until editor terminates, preserve the clothing information after editor.Preserve clothing information file to internal memory, or preserve clothing information file to hard disk.
Particularly, described step S1 comprises:
S11: obtain in operator gesture coordinate a little in real space.
S12: using at least one point in gesture as measuring and calculating reference point, by calculating this measuring and calculating reference point at the coordinate of each position in motion process, thus identify movement locus.Such as using a finger finger tip as measuring and calculating reference point, by calculating this measuring and calculating reference point in motion process at the coordinate of each position, identify movement locus.Above-mentioned measuring and calculating coordinate, all can realize based on stereovision technique, repeat no more here.
Further, described step S2 specifically comprises:
S21: according to the gesture shape of making an appointment, determine gesture classification.
S22: quantification treatment is carried out to the movement locus of gesture, obtains trace information.
S23: obtain corresponding operational order according to real-time gesture classification and described trace information.
Such as:
Measure position, the both hands centre of the palm, connecting the both hands centre of the palm is straight line AB.
When the end value of straight line AB length and the difference of initial value are greater than default threshold value, determine described movement locus be both hands away from.
When the initial value of straight line AB length and the difference of end value are greater than default threshold value, determine that described movement locus is that both hands are close.
When straight line AB central point displacement is greater than default threshold value, determine that described movement locus is both hands translation.
Measure the inclination angle between straight line AB and horizontal line, when the difference of inclination angle initial value and end value is greater than default threshold value, determine that described movement locus is that both hands rotate.
The distance measured between thumb and forefinger is x.
When x initial value is greater than default threshold value, end value is less than default threshold value, determines that described movement locus is that forefinger thumb is mediated.
When x initial value is be less than default threshold value, end value is greater than default threshold value, determines that described movement locus is that forefinger thumb is decontroled.
When x initial value is be less than default threshold value, end value, also for being less than default threshold value, determines that described movement locus is that forefinger thumb drags.
Corresponding operational order specifically comprises:
When described movement locus be both hands away from time, amplify the 3D manikin in display device and clothes, namely vision zooms out, and now field range becomes large, is suitable for and observes overall condition.
When described movement locus be both hands near time, reduce the 3D manikin in display device and clothes, namely vision furthers, and now field range diminishes, and is suitable for and observes certain details.
When described movement locus is both hands translation, translation is carried out to the 3D manikin in display device and clothes in the position according to straight line AB central point, is applicable to the other parts that user observes scene.
When described movement locus is both hands rotation, according to the angle that straight line AB rotates, the 3D manikin in display device and clothes is rotated, be applicable to user at any angle views jobbie.
When described movement locus is the kneading of forefinger thumb, then select clothing information according to the position of forefinger finger tip.Described clothing information includes but not limited to apparel construction line and apparel construction point, described apparel construction line be apparel modeling can be caused to change garment elements, outside and the inner general name needing the line sewed up, described apparel construction point is the end points of described apparel construction line.
Particularly, forefinger thumb mediates apparel construction point: forefinger thumb is mediated, in the display device from forefinger finger tip nearest system point be selected, and in the display device highlighted.
Forefinger thumb drags apparel construction point: hand moves at three dimensions, and the position making the system point be selected follow hand is in the display device moved, and also follows adjustment with the structure lines that this system point is end points.
Forefinger thumb decontrols apparel construction point: after forefinger thumb is decontroled, the change of system point is fixed, and system point no longer highlights.
Forefinger thumb mediates apparel construction line: forefinger thumb is mediated, in the display device from forefinger finger tip nearest structure lines be selected, and in the display device highlighted.
Forefinger thumb drags apparel construction line: hand moves at three dimensions at hand, and the position making the structure lines shape be selected follow hand changes.
Forefinger thumb decontrols apparel construction line: after forefinger thumb is decontroled, the change of structure lines is fixed, and structure lines no longer highlights.
In described step S3:
When the gesture instruction identified is amplified, 3D manikin and 3D clothes are amplified in the display device.
When the gesture instruction identified is reduced, 3D manikin and 3D clothes are reduced in the display device.
When the gesture instruction translation identified, according to straight line AB central point movement locus by 3D manikin and the translation in the display device of 3D clothes.
When the gesture instruction identified rotates, according to straight line AB inclination angle, 3D manikin and 3D clothes are rotated in the display device.
Further, also comprise:
S5: according to clothing information, calculates and generates clothes version type drawing, and wherein said clothes version type drawing is the entire and part parts drawing of garment production.
More preferably, also step S0 is comprised before step S1 described in the present embodiment:
S01: identify the body gesture of client and the movement locus in real space thereof.
S02: according to the body gesture of client, the posture of 3D manikin in adjustment display device, wears effect for what check clothes under various body gesture.
Then operator revises accordingly according to wearing effect, and in amendment process in the amended clothes of real time inspection wear effect.Ensure that design is more scientific and reasonable with this, reduce the workload of designer to a certain extent.
The present embodiment realizes dress designing by body sense, makes random amendment in user's scene in the display device take information, and can by calculating clothes version type drawing.The present invention's design is based on the body sense operating system of three-dimension gesture, utilize three-dimension gesture detection technique, detect the various actions three dimensions assistant and health, thus the apparel construction designed in three-dimension gesture and display device change between mapping, object makes people in realistic space, perform various three-dimensional gesture action, and the 3D clothes of 3-D display then carry out respective change according to action.It can simplify the cycle of dress designing greatly, improves custom made clothing efficiency.
embodiment 2
As shown in Figure 2, for the system of dress designing is carried out in a kind of body sense meeting the present embodiment, it specifically comprises:
Identification module, for the gesture of identifying operation person and the movement locus in real space thereof, the movement locus of wherein said gesture comprises the shape of movement locus and/or the position of movement locus Chosen Point.
Parsing module, for resolving gesture classification and movement locus thereof, obtains corresponding operational order.
Editor module, for according to operational order, edits the clothing information in 3D manikin and/or 3D clothes and carries out 3-D display in real time.
Preserve module, for preserving the clothing information after editor.Preserve clothing information file to internal memory, or preserve clothing information file to hard disk.
Further, described identification module specifically comprises:
Gesture identification unit, for obtain in operator's gesture coordinate a little in real space.
Track identification unit, for putting at least one in gesture as measuring and calculating reference point, by calculating this measuring and calculating reference point at the coordinate of each position in motion process, thus identifies movement locus.Such as using a finger finger tip as measuring and calculating reference point, by calculating this measuring and calculating reference point in motion process at the coordinate of each position, identify movement locus.Above-mentioned measuring and calculating coordinate, all can realize based on stereovision technique, repeat no more here.
Further, described parsing module specifically comprises:
Gesture resolution unit, for according to the gesture shape of making an appointment, determines gesture classification.
Track resolution unit, for carrying out quantification treatment to the movement locus of gesture, obtains trace information.
Operational order map unit, for obtaining corresponding operational order according to real-time gesture classification and described trace information.
As:
Measure position, the both hands centre of the palm, connecting the both hands centre of the palm is straight line AB.
When the end value of straight line AB length and the difference of initial value are greater than default threshold value, determine described movement locus be both hands away from.
When the initial value of straight line AB length and the difference of end value are greater than default threshold value, determine that described movement locus is that both hands are close.
When straight line AB central point displacement is greater than default threshold value, determine that described movement locus is both hands translation.
Measure the inclination angle between straight line AB and horizontal line, when the difference of inclination angle initial value and end value is greater than default threshold value, determine that described movement locus is that both hands rotate.
The distance measured between thumb and forefinger is x.
When x initial value is greater than default threshold value, end value is less than default threshold value, determines that described movement locus is that forefinger thumb is mediated.
When x initial value is be less than default threshold value, end value is greater than default threshold value, determines that described movement locus is that forefinger thumb is decontroled.
When x initial value is be less than default threshold value, end value, also for being less than default threshold value, determines that described movement locus is that forefinger thumb drags.
Corresponding operational order specifically comprises:
When described movement locus be both hands away from time, amplify the 3D manikin in display device and clothes, namely vision zooms out, and now field range becomes large, is suitable for and observes overall condition.
When described movement locus be both hands near time, reduce the 3D manikin in display device and clothes, namely vision furthers, and now field range diminishes, and is suitable for and observes certain details.
When described movement locus is both hands translation, translation is carried out to the 3D manikin in display device and clothes in the position according to straight line AB central point, is applicable to the other parts that user observes scene.
When described movement locus is both hands rotation, according to the angle that straight line AB rotates, the 3D manikin in display device and clothes is rotated, be applicable to user at any angle views jobbie.
When described movement locus is the kneading of forefinger thumb, then select clothing information according to the position of forefinger finger tip.Described clothing information includes but not limited to apparel construction line and apparel construction point, described apparel construction line be apparel modeling can be caused to change garment elements, outside and the inner general name needing the line sewed up, described apparel construction point is the end points of described apparel construction line.
Particularly, forefinger thumb mediates apparel construction point: forefinger thumb is mediated, in the display device from forefinger finger tip nearest system point be selected, and in the display device highlighted.
Forefinger thumb drags apparel construction point: hand moves at three dimensions, and the position making the system point be selected follow hand is in the display device moved, and also follows adjustment with the structure lines that this system point is end points.
Forefinger thumb decontrols apparel construction point: after forefinger thumb is decontroled, the change of system point is fixed, and system point no longer highlights.
Forefinger thumb mediates apparel construction line: forefinger thumb is mediated, in the display device from forefinger finger tip nearest structure lines be selected, and in the display device highlighted.
Forefinger thumb drags apparel construction line: hand moves at three dimensions at hand, and the position making the structure lines shape be selected follow hand changes.
Forefinger thumb decontrols apparel construction line: after forefinger thumb is decontroled, the change of structure lines is fixed, and structure lines no longer highlights.
In described editor module:
When the gesture instruction identified is amplified, 3D manikin and 3D clothes are amplified in the display device.
When the gesture instruction identified is reduced, 3D manikin and 3D clothes are reduced in the display device.
When the gesture instruction translation identified, according to straight line AB central point movement locus by 3D manikin and the translation in the display device of 3D clothes.
When the gesture instruction identified rotates, according to straight line AB inclination angle, 3D manikin and 3D clothes are rotated in the display device.
Preferably, the present embodiment also comprises:
Clothes version type drawing creation module, for according to clothing information, calculate and generate clothes version type drawing, wherein said clothes version type drawing is the entire and part parts drawing of garment production.
More preferably, the present embodiment also comprises client identification module, and it specifically comprises:
Gesture recognition unit, for identifying the body gesture of client and the movement locus in real space thereof.
Effect display unit, for the body gesture according to client, the posture of 3D manikin in adjustment display device, wears effect for what check clothes under various body gesture.
Then operator revises accordingly according to wearing effect in the display device, and in amendment process in the amended clothes of real time inspection wear effect.Ensure that design is more scientific and reasonable with this, reduce the workload of designer to a certain extent.
The present embodiment realizes dress designing by body sense, makes random amendment in user's scene in the display device take information, and can by calculating clothes version type drawing.The present invention's design is based on the body sense operating system of three-dimension gesture, utilize three-dimension gesture detection technique, detect the various actions three dimensions assistant and health, thus the apparel construction designed in three-dimension gesture and display device change between mapping, object makes people in realistic space, perform various three-dimensional gesture action, and the 3D clothes of 3-D display then carry out respective change according to action.It can simplify the cycle of dress designing greatly, improves custom made clothing efficiency.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.