CN109753489B - Method and device for generating body type sample database and computer readable storage medium - Google Patents

Method and device for generating body type sample database and computer readable storage medium Download PDF

Info

Publication number
CN109753489B
CN109753489B CN201910035531.7A CN201910035531A CN109753489B CN 109753489 B CN109753489 B CN 109753489B CN 201910035531 A CN201910035531 A CN 201910035531A CN 109753489 B CN109753489 B CN 109753489B
Authority
CN
China
Prior art keywords
information
user
sample
measured
generating
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.)
Active
Application number
CN201910035531.7A
Other languages
Chinese (zh)
Other versions
CN109753489A (en
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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Weipinhui Research Institute 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 Guangzhou Weipinhui Research Institute Co ltd filed Critical Guangzhou Weipinhui Research Institute Co ltd
Priority to CN201910035531.7A priority Critical patent/CN109753489B/en
Publication of CN109753489A publication Critical patent/CN109753489A/en
Application granted granted Critical
Publication of CN109753489B publication Critical patent/CN109753489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a generation method of a body type sample database, which comprises the following steps: acquiring a body image and body information of a sample user; acquiring outline information in the body image of the sample user; and associating the outline information with the body shape information of the sample user, and generating a body shape sample database according to the associated information. The invention also discloses a generating device of the body type sample database and a computer readable storage medium. The invention generates the body type sample database by collecting the contour information and the body shape information of users with different body shapes, thereby determining the body shape information of the user to be measured according to the body type sample database.

Description

Method and device for generating body type sample database and computer readable storage medium
Technical Field
The invention relates to the technical field of three-dimensional measurement, in particular to a method for generating a body type sample database, a device for generating the body type sample database and a computer-readable storage medium.
Background
When the clothes are purchased on line, the goods returning and changing rate is high, and a large amount of manpower is wasted in the goods returning and changing. The customer changes the clothes again, firstly, the design, color and the like of the clothes are not satisfied, and more, the size of the clothes is not matched with the shape of the clothes. The deviation in garment size mainly comes from: the customer does not know his own size information.
Disclosure of Invention
The invention mainly aims to provide a generating method of a body type sample database, a generating device of the body type sample database and a computer readable storage medium, aiming at generating the body type sample database by collecting contour information and body information of users with different body sizes so as to determine the body information of a user to be measured according to the body type sample database.
In order to achieve the above object, the present invention provides a method for generating a body type sample database, which comprises the following steps:
acquiring a body image and body information of a sample user;
acquiring outline information in the body image of the sample user;
and associating the outline information with the body shape information of the sample user, and generating a body shape sample database according to the associated information.
Optionally, the physical information includes at least one of sex, height, weight, body type information, body mass index of the sample user, and physical size information including at least one of size information of shoulder, arm, chest, waist, arm, and leg.
Optionally, the step of obtaining contour information in the body image of the sample user includes:
acquiring feature points in the body image of the sample user;
and acquiring the contour information according to the characteristic points.
Optionally, the step of obtaining feature points in the body image of the sample user includes:
and acquiring the characteristic points marked on the clothes worn by the sample user.
Optionally, the step of obtaining feature points in the body image of the sample user includes:
and receiving characteristic points manually marked on the body image of the sample user.
Optionally, the generating method of the body type sample database further includes:
obtaining tolerance feature points according to the feature points, and obtaining tolerance contour information according to the tolerance feature points;
and associating the tolerance outline information with the outline information and the body shape information of the sample user, and generating a body shape sample database according to the associated information.
Optionally, after the step of associating the profile information with the body shape information of the sample user and generating a body shape sample database according to the associated information, the method further includes:
when the body image of the user to be measured is obtained, obtaining the contour information of the user to be measured in the body image of the user to be measured;
acquiring the outline information of the sample user matched with the outline information of the user to be measured in the body type sample database;
taking the characteristic points on the profile information of the sample user matched with the profile information of the user to be measured as the characteristic points of the user to be measured;
and generating the shape information of the user to be measured according to the characteristic points of the user to be measured.
Optionally, the step of generating the shape information of the user to be measured according to the feature points of the user to be measured includes:
acquiring coordinate information of the characteristic points of the user to be measured in a three-dimensional coordinate system;
obtaining the distance between each feature point according to the coordinate information;
and calculating to obtain the shape information of the user to be measured according to the distance and a preset regression equation.
Optionally, after the step of generating the shape information of the user to be measured according to the feature points of the user to be measured, the method further includes:
and outputting the shape information of the user to be measured to a preset mobile terminal.
Optionally, after the step of generating the shape information of the user to be measured according to the feature points of the user to be measured, the method further includes:
generating clothing recommendation information and/or size recommendation information according to body type information in the body type information of the user to be measured;
and outputting the clothing recommendation information and/or the size recommendation information.
Optionally, before the step of obtaining the body image and the body information of the sample user, the method further includes:
outputting a photographing posture template for the sample user to photograph according to the photographing posture template;
and when the photographing gesture of the sample user is matched with the photographing gesture template, executing the step of acquiring the body image and the body information of the sample user.
Optionally, before the step of obtaining the body image and the body information of the sample user, the method further includes:
judging whether the environment where the sample user is located and the clothes meet preset conditions or not;
and when the environment where the sample user is located and the clothes meet the preset conditions, executing the step of acquiring the body image and the body information of the sample user.
In order to achieve the above object, the present invention further provides a device for generating a body type sample database, including:
the generating program of the body type sample database realizes the steps of the generating method of the body type sample database when being executed by the processor.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, in which a generation program of a body type sample database is stored, and when being executed by a processor, the generation program of the body type sample database implements the steps of the generation method of the body type sample database.
The invention provides a generating method of a body type sample database, a generating device of the body type sample database and a computer readable storage medium, which are used for acquiring a body image and body information of a sample user, acquiring contour information in the body image of the sample user, associating the contour information with the body information of the sample user, and associating the information to generate the body type sample database. The invention generates the body type sample database by collecting the contour information and the body shape information of users with different body shapes, thereby determining the body shape information of the user to be measured according to the body type sample database.
Drawings
Fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for measuring profile information according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for measuring profile information according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for measuring profile information according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a method for measuring profile information according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating a method for measuring profile information according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for measuring profile information according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a photographing gesture template according to the present invention;
FIG. 9 is a schematic diagram of a photographing reminder according to the present invention;
FIG. 10 is a schematic diagram of feature points captured in a shape image in accordance with the present invention;
FIG. 11 is a schematic diagram of the distribution of feature points in a three-dimensional coordinate system according to the present invention;
FIG. 12 is a schematic view of a garment with pre-marked feature points according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a generation method of a body type sample database, which is used for generating the body type sample database by acquiring contour information and body information of users with different body sizes, so that the body information of a user to be measured is determined according to the body type sample database.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a mobile phone, a tablet computer, a television and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), a remote controller, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a non-volatile memory, e.g., disk storage) and the memory 1005 may optionally also be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a generation program of a body type sample database.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a generation program of the body type sample database stored in the memory 1005, and perform the following operations:
acquiring a body image and body information of a sample user;
acquiring outline information in the body image of the sample user;
and associating the outline information with the body shape information of the sample user, and generating a body shape sample database according to the associated information.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
the physical information includes at least one of gender, height, weight, body shape information, body mass index of the sample user, and physical size information including at least one of size information of shoulders, arms, chest, waist, arms, legs.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
acquiring feature points in the body image of the sample user;
and acquiring the contour information according to the characteristic points.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
and acquiring the characteristic points marked on the clothes worn by the sample user.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
and receiving characteristic points manually marked on the body image of the sample user.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
obtaining tolerance feature points according to the feature points, and obtaining tolerance contour information according to the tolerance feature points;
and associating the tolerance outline information with the outline information and the body shape information of the sample user, and generating a body shape sample database according to the associated information.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
when the body image of the user to be measured is obtained, obtaining the contour information of the user to be measured in the body image of the user to be measured;
acquiring the outline information of the sample user matched with the outline information of the user to be measured in the body type sample database;
taking the characteristic points on the profile information of the sample user matched with the profile information of the user to be measured as the characteristic points of the user to be measured;
and generating the shape information of the user to be measured according to the characteristic points of the user to be measured.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
acquiring coordinate information of the characteristic points of the user to be measured in a three-dimensional coordinate system;
obtaining the distance between each feature point according to the coordinate information;
and calculating to obtain the shape information of the user to be measured according to the distance and a preset regression equation.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
and outputting the shape information of the user to be measured to a preset mobile terminal.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
generating clothing recommendation information and/or size recommendation information according to body type information in the body type information of the user to be measured;
and outputting the clothing recommendation information and/or the size recommendation information.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
outputting a photographing posture template for the sample user to photograph according to the photographing posture template;
and when the photographing gesture of the sample user is matched with the photographing gesture template, executing the step of acquiring the body image and the body information of the sample user.
Further, the processor 1001 may call a generation program of the body type sample database stored in the memory 1005, and further perform the following operations:
judging whether the environment where the sample user is located and the clothes meet preset conditions or not;
and when the environment where the sample user is located and the clothes meet the preset conditions, executing the step of acquiring the body image and the body information of the sample user.
Referring to fig. 2, in an embodiment, the method for generating the body type sample database includes:
step S10, obtaining the body image and the body information of the sample user;
step S20, obtaining contour information in the body image of the sample user;
and step S30, associating the outline information with the shape information of the sample user, and generating a shape sample database according to the associated information.
In this embodiment, the body shape image of the sample user may be obtained by using the camera, where the body shape image includes at least one of a front body image, a side body image, and a back body image, the front body image is an image obtained by the front body of the sample user facing the camera, the side body image is an image obtained by the side body of the sample user facing the camera, and the back body image is an image obtained by the back body of the sample user facing the camera. It can be understood that the image of the front side of the body, the image of the side of the body, and the image of the back side of the body should sufficiently exhibit the body curve.
In this embodiment, the physical information includes at least one of sex, height, weight, body type information, body mass index, and physical size information of the sample user, and the physical size information includes at least one of size information of shoulder, arm, chest, waist, arm, and leg. The body type information includes: hourglass-shaped, oval-shaped (i.e., apple-shaped), regular triangle-shaped (i.e., pear-shaped), inverted triangle-shaped (i.e., strawberry-shaped), rectangular, and the like; the body mass index is a number obtained by dividing weight kilogram by height meter square, and is used for measuring the fat degree of the user, and the user is divided into partial thin, normal, partial fat and fat according to the numerical range of the body mass index.
In this embodiment, the environment where the sample user is located and the wearing apparel should satisfy preset conditions, where the preset conditions include at least one of the following: the shooting background of the sample user is clean, the shooting angle meets the preset angle, the shooting light is bright and uniform, the sample user wears clothes close to the skin, the color of the sample user is clearly contrasted with the shooting background, the sample user exposes the neck and the shoulders, and the sample user is in a static state.
In this embodiment, as shown in fig. 10, the feature points are anchor points constituting the profile information of the sample user. The method for acquiring the characteristic points comprises the following steps: the method comprises the steps of firstly, obtaining the characteristic points marked on the clothes worn by the sample user, and secondly, receiving the characteristic points marked on the body image of the sample user manually.
In this embodiment, the feature points marked on the sample user wearing the clothing may be obtained, and the feature points marked on the sample user wearing the clothing are used as the feature points. As shown in fig. 12, the garment is a tight garment with elasticity, and the garment is marked with characteristic points in advance, and the characteristic points are distributed according to a predetermined interval rule. The system can identify the characteristic point on the clothing according to the color information, for example, the bottom color of the clothing is black, the color of the characteristic point is white, and then the white point is taken as the characteristic point. After the feature points in the body image are obtained, the outline information of the sample user is generated according to the feature points.
In this embodiment, when the user wears the garment without marking the feature points, the feature points manually marked on the body image of the sample user are received.
It can be understood that, in practical applications, due to factors such as excessive stretching of the garment, non-standard shooting angle, uneven light, etc., the feature points acquired through the body shape image may be shifted, and in this case, when the stereoscopic sample database is established, tolerance feature points are acquired according to the feature points, tolerance contour information is acquired according to the tolerance feature points, and the tolerance contour information is associated with the contour information and the body shape information of the sample user. It is understood that the tolerance feature point is an alignment point after the feature point is shifted in the above-mentioned shifting case. When the tolerance feature points are obtained according to the feature points, the preset offset directions of the feature points can be obtained based on a large number of tests, so that the tolerance feature points are obtained according to the feature points and the preset offset directions.
In the technical scheme disclosed in this embodiment, the body image and the body information of the sample user are acquired, the profile information is acquired from the body image of the sample user, the profile information is associated with the body information of the sample user, and the profile information and the body information are associated to generate a body type sample database.
In an embodiment, as shown in fig. 3, after the step of associating the profile information with the shape information of the sample user and generating a body type sample database according to the associated information based on the embodiment shown in fig. 2, the method further includes:
step S40, when the shape image of the user to be measured is obtained, the contour information of the user to be measured is obtained in the shape image of the user to be measured;
step S50, acquiring the outline information of the sample user matched with the outline information of the user to be measured in the body type sample database;
step S60, taking the characteristic points on the profile information of the sample user matched with the profile information of the user to be measured as the characteristic points of the user to be measured;
and step S70, generating the shape information of the user to be measured according to the characteristic points of the user to be measured.
In this embodiment, the body shape image of the user to be measured may be acquired by the camera, and the body shape image includes at least one of a front body image, a side body image, and a back body image. As shown in fig. 8, when the user to be measured starts the APP to take a picture, the APP outputs a picture taking posture template and a text information prompt, and the user to be measured can take a picture according to the picture taking posture template and the text information prompt. The text information prompt may be: the two arms are opened to 30 degrees, the width of the two feet and the shoulders is the same, the palm center is backward, the hands do not shield leg lines, the two arms drop, the elbows do not shield waist lines, and the like.
In this embodiment, the environment where the user to be measured is located and the clothing should meet preset conditions, where the preset conditions include at least one of the following: the method comprises the steps that the shooting background of a user to be measured is clean, the shooting angle meets the preset angle, the shooting light is bright and uniform, the clothing of the user to be measured is close to the skin, the contrast between the color and the shooting background is clear, the neck and the shoulders of the user to be measured are exposed, and the user to be measured is in a static state. It can be understood that, as shown in fig. 9, when the APP is opened by the user to be measured, the preset condition is output for the user to be measured to refer to, and when the environment where the user to be measured is located and the clothing does not satisfy the preset condition, the factor that does not satisfy the preset condition may be output to prompt the user to be measured to change.
In the present embodiment, as shown in fig. 10, the feature points are positioning points that constitute the contour information of the user to be measured. The profile information of the user to be measured can be determined according to the body image, and the characteristic points can be determined according to the profile information. The method comprises the steps that profile information of a plurality of sample users is stored in a body type sample database in advance, and feature points are labeled on the profile information of the sample users in advance, so that the profile information of the sample users matched with the profile information of the user to be measured is obtained in the body type sample database, and the feature points on the profile information of the sample users matched with the profile information of the user to be measured are used as the feature points of the user to be measured.
After the feature points in the body image are acquired, as shown in fig. 11, coordinate information of the feature points in a three-dimensional coordinate system is acquired, and body information of the user to be measured is acquired according to the coordinate information. Further, the distance between the feature points is obtained according to the coordinate information, and the shape information of the user to be measured is obtained through calculation according to the distance and a preset regression equation.
The preset regression equation comprises a first preset regression equation, a second preset regression equation, a third preset regression equation and a fourth preset regression equation, wherein the first preset regression equation is as follows: w1=C+1.853X1+1.748X2+0.004X3+0.005X4-0.01X5The second preset regression equation is as follows: w2=C+1.756X1+1.122X2+0.009X3-0.002X5The third preset regression equation is as follows: w3=C+2.456X1-0.025X3+0.043X5The fourth preset regression equation is as follows: w4=30.371+0.260×W5. Wherein, W1、W2、W3And W4Respectively chest circumference, waist circumference, hip circumference and shoulder width, wherein C in the preset regression equation is a constant, and X is1Is a width, X2Is thickness, X3=X1 2,X4=X2 2,X5=X1X2,W5Is the shoulder width extracted according to the preset condition.
In this embodiment, after the profile information of the user to be measured is acquired, the profile information of the sample user matched with the profile information of the user to be measured is acquired in the body type sample database, and the body shape information of the sample user matched with the profile information of the user to be measured is used as the body shape information of the user to be measured.
It can be understood that due to the factors of the clothing being over-stretched, the shooting angle being not standard, the light being non-uniform, etc., the characteristic points obtained through the shape image may have a deviation condition, in which, when the three-dimensional sample database is built, normal contour information and tolerance contour information are collected, where the tolerance contour information is the contour information under the deviation condition. Therefore, when the profile information of the sample user is matched, if the profile information of the sample user is not matched with the normal profile information in the profile information of the sample user, the profile information of the sample user is matched with the tolerance profile information in the profile information of the sample user.
In the technical scheme disclosed in this embodiment, the profile information of the sample user, which is matched with the profile information of the user to be measured, is acquired in the body type sample database, so as to determine the body information of the user to be measured.
In an embodiment, as shown in fig. 4, on the basis of the embodiment shown in any one of fig. 2 to fig. 3, after the step of generating the shape information of the user to be measured according to the feature points of the user to be measured, the method further includes:
and step S80, outputting the shape information of the user to be measured to a preset mobile terminal.
In this embodiment, the body shape information includes at least one of body type information, body mass index, shoulder width, chest circumference, waist circumference, and hip circumference, and the body type information includes: hourglass shape, oval shape (i.e. apple shape), regular triangle (i.e. pear shape), inverted triangle (i.e. strawberry shape), rectangle and the like, and the body mass index is a number obtained by dividing weight kilograms by height meters squared and is used for measuring the fat and thin degree of a user. And outputting the body information to a preset mobile terminal to inform a user.
In the technical solution disclosed in this embodiment, after the shape information of the user to be measured is generated, the shape information can be output to a preset mobile terminal to inform the user of the shape information.
In an embodiment, as shown in fig. 5, on the basis of the embodiment shown in any one of fig. 2 to 4, after the step of generating the shape information of the user to be measured according to the feature points of the user to be measured, the method further includes:
step S90, clothing recommendation information and/or size recommendation information is generated according to the body type information in the body type information of the user to be measured;
and S100, outputting the clothing recommendation information and/or the size recommendation information.
In this embodiment, after the shape information of the user to be measured is generated, the size recommendation information of the garment currently browsed by the user to be measured can be generated according to the shape information. Specifically, the size recommendation information may be generated by comparing the shape information of the user to be measured with the size information of the clothing provided by the manufacturer.
In this embodiment, after the shape information of the user to be measured is generated, the clothing recommendation information may be generated according to the shape information. Specifically, the method comprises the steps of obtaining body type information in the body type information, and generating clothing recommendation information according to the body type information. The body type information includes: hourglass shape, oval shape (namely apple shape), regular triangle (namely pear shape), inverted triangle (namely strawberry shape), rectangle and the like, and different body shape information has suitable clothes, such as pear shape suitable for high waist skirt, high waist trousers, loose upper outer garment, short upper outer garment and the like.
Further, body shape information in the body shape information is acquired, and a dressing style of the user to be measured is acquired, wherein the dressing style input by the user to be measured is received, or the dressing style is acquired according to a historical purchase record of the user to be measured, and clothing recommendation information is generated according to the body shape information and the dressing style. The style of dressing includes: the daily dress style, the Korean dress style and the European and American dress style can be combined with the dress style and the body type information to generate the clothing recommendation information.
Or acquiring a body quality index in the body information, and generating clothing recommendation information according to the body quality index. The body mass index is a number obtained by dividing weight kilograms by height meters squared, and is used for measuring the fat and thin degree of the user. According to the numerical range of the body mass index, the user to be measured is divided into thin, normal, fat and fat, and different body mass indexes are provided with suitable clothes, for example, a fat user is suitable for large-size clothes.
Further, clothing recommendation information is generated according to the body quality index and the dressing style, or the clothing recommendation information is generated according to the body quality index and the body type information, or the clothing recommendation information is generated according to the body quality index, the body type information and the dressing style.
In this embodiment, when receiving information that the recommended information fed back by the user is inaccurate, it may be that the collected physical information of the user is inaccurate, and therefore prompt information for re-photographing is output.
In the technical scheme disclosed in this embodiment, the clothing recommendation information and/or the size recommendation information is generated and output according to the shape information, so as to improve the user experience.
In an embodiment, as shown in fig. 6, on the basis of the embodiment shown in any one of fig. 2 to 5, before the step of obtaining the body image and the body information of the sample user, the method further includes:
step S110, outputting a photographing posture template for the sample user to photograph according to the photographing posture template;
step S120, judging whether the photographing posture of the sample user is matched with the photographing posture template;
and when the photographing gesture of the sample user is matched with the photographing gesture template, executing the step of acquiring the body image and the body information of the sample user.
In this embodiment, when it is detected that the photographing posture of the sample user matches the photographing posture template, the step of obtaining the body image of the sample user is performed. When a sample user enters an interface for acquiring a body image, the system outputs a photographing posture template and a text information prompt, the sample user puts out a photographing posture according to the photographing posture template and the text information prompt, and when the condition that the photographing posture put out by the sample user is matched with the photographing posture template is detected, photographing operation is executed.
If the photographing posture put out by the sample user is not matched with the photographing posture template, outputting prompt information for correcting the photographing posture, such as please open the two arms to 30 degrees, the two feet and the shoulders are as wide, the palm does not shield leg lines towards the back hand, and the elbow of the two arms does not shield waist lines.
In the technical scheme disclosed in this embodiment, the photographing posture template is output for the sample user to photograph according to the photographing posture template, so that the specification of the obtained body image is ensured.
In an embodiment, as shown in fig. 7, on the basis of the embodiment shown in any one of fig. 2 to 6, before the step of obtaining the body image and the body information of the sample user, the method further includes:
step S130, judging whether the environment where the sample user is located and the clothes meet preset conditions or not;
and when the environment where the sample user is located and the clothes meet the preset conditions, executing the step of acquiring the body image and the body information of the sample user.
In this embodiment, when the environment where the sample user is located and the wearing apparel satisfy the preset conditions, the step of obtaining the body image and the body information of the sample user is performed; and when the environment where the sample user is located and the wearing clothes do not meet the preset conditions, outputting the factors which do not meet the preset conditions to prompt the user to change, or executing the step of acquiring the body image and the body information, and correcting the body image after acquiring the body image.
In this embodiment, the environment where the sample user is located and the clothing meet the preset condition includes at least one of the following: the shooting background of the sample user is clean, the shooting angle meets the preset angle, the shooting light is bright and uniform, the sample user wears clothes close to the skin, the color of the sample user is clearly contrasted with the shooting background, the sample user exposes the neck and the shoulders, and the sample user is in a static state. Specifically, the shooting background of the sample user may be a solid background, and there is no impurity in the shooting background; the shooting angle can be detected through a gyroscope built in the mobile terminal, and is limited to a preset angle, wherein the preset angle is an optimal angle obtained according to a large amount of test data; the shooting light has moderate brightness, can not have too low brightness and can not be overexposed, and the condition of uneven light distribution can not occur; the clothing of the sample user is close to the skin to highlight the figure curve, and due to the consideration of user privacy, a shielding object can be added to the face to perform shielding operation when the figure image of the sample user is obtained; the sample user can prick up the long hair to expose the neck and the shoulders, so that the figure curve can be conveniently identified; the sample user is in a static state, and the phenomenon that the acquired body image is fuzzy due to walking of the sample user is avoided.
It should be noted that the step of obtaining the body image of the sample user may also be performed when the photographing posture of the sample user is matched with the photographing posture template, and the environment where the sample user is located and the wearing apparel meet the preset conditions.
In the technical scheme disclosed in this embodiment, when the environment where the sample user is located and the wearing clothes satisfy the preset conditions, the step of obtaining the body image of the sample user is executed, so that the obtained body image is ensured to be clear.
The invention also provides a device for generating the body type sample database, which comprises a memory, a processor and a program for generating the body type sample database, wherein the program is stored in the memory and can be run on the processor, and the processor executes the program for generating the body type sample database, so that the step of executing the method for generating the body type sample database is realized by the device for generating the body type sample database.
In addition, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a generation program of a body type sample database, and when the generation program of the body type sample database is executed by a processor, the generation apparatus of the body type sample database implements a step of executing a generation method of the body type sample database under a subject.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a television, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A method for generating a body type sample database is characterized by comprising the following steps:
acquiring a body image and body information of a sample user;
acquiring outline information in the body image of the sample user;
associating the outline information with the shape information of the sample user, and generating a shape sample database according to the associated information;
when the body image of the user to be measured is obtained, obtaining the contour information of the user to be measured in the body image of the user to be measured;
acquiring the outline information of the sample user matched with the outline information of the user to be measured in the body type sample database;
taking the characteristic points on the profile information of the sample user matched with the profile information of the user to be measured as the characteristic points of the user to be measured;
and generating the shape information of the user to be measured according to the characteristic points of the user to be measured.
2. The method of generating a body type database of claim 1, wherein the body shape information comprises at least one of gender, height, weight, body shape information, body mass index of the sample user, and body size information comprising at least one of size information of shoulders, chest, waist, arms, legs.
3. The method for generating a body type database according to claim 1, wherein the step of obtaining the outline information in the body image of the sample user comprises:
acquiring feature points in the body image of the sample user;
and acquiring the contour information according to the characteristic points.
4. The method for generating a body type database according to claim 3, wherein the step of obtaining feature points in the body image of the sample user comprises:
and acquiring the characteristic points marked on the clothes worn by the sample user.
5. The method for generating a body type database according to claim 3, wherein the step of obtaining feature points in the body image of the sample user comprises:
and receiving characteristic points manually marked on the body image of the sample user.
6. The method of generating a body type database according to claim 3, wherein the method of generating a body type database further comprises:
obtaining tolerance feature points according to the feature points, and obtaining tolerance contour information according to the tolerance feature points;
and associating the tolerance outline information with the outline information and the body shape information of the sample user, and generating a body shape sample database according to the associated information.
7. The method for generating a body type database according to claim 1, wherein the step of generating the body shape information of the user to be measured according to the feature points of the user to be measured comprises:
acquiring coordinate information of the characteristic points of the user to be measured in a three-dimensional coordinate system;
obtaining the distance between each feature point according to the coordinate information;
and calculating to obtain the shape information of the user to be measured according to the distance and a preset regression equation.
8. The method for generating a body type sample database according to claim 1, wherein after the step of generating the body shape information of the user to be measured according to the feature points of the user to be measured, the method further comprises:
and outputting the shape information of the user to be measured to a preset mobile terminal.
9. The method for generating a body type sample database according to claim 1, wherein after the step of generating the body shape information of the user to be measured according to the feature points of the user to be measured, the method further comprises:
generating clothing recommendation information and/or size recommendation information according to body type information in the body type information of the user to be measured;
and outputting the clothing recommendation information and/or the size recommendation information.
10. The method for generating a body type sample database according to claim 1, wherein the step of obtaining the body image and the body information of the sample user further comprises:
outputting a photographing posture template for the sample user to photograph according to the photographing posture template;
and when the photographing gesture of the sample user is matched with the photographing gesture template, executing the step of acquiring the body image and the body information of the sample user.
11. The method for generating a body type sample database according to claim 1, wherein the step of obtaining the body image and the body information of the sample user further comprises:
judging whether the environment where the sample user is located and the clothes meet preset conditions or not;
and when the environment where the sample user is located and the clothes meet the preset conditions, executing the step of acquiring the body image and the body information of the sample user.
12. A generation apparatus of a body type sample database, the generation apparatus of the body type sample database comprising a memory, a processor and a generation program of the body type sample database stored on the memory and operable on the processor, the generation program of the body type sample database implementing the steps of the generation method of the body type sample database according to any one of claims 1 to 11 when executed by the processor.
13. A computer-readable storage medium, on which a generation program of a body type sample database is stored, which when executed by a processor implements the steps of the generation method of the body type sample database according to any one of claims 1 to 11.
CN201910035531.7A 2019-01-15 2019-01-15 Method and device for generating body type sample database and computer readable storage medium Active CN109753489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910035531.7A CN109753489B (en) 2019-01-15 2019-01-15 Method and device for generating body type sample database and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910035531.7A CN109753489B (en) 2019-01-15 2019-01-15 Method and device for generating body type sample database and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109753489A CN109753489A (en) 2019-05-14
CN109753489B true CN109753489B (en) 2021-01-19

Family

ID=66405599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910035531.7A Active CN109753489B (en) 2019-01-15 2019-01-15 Method and device for generating body type sample database and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109753489B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629265B (en) * 2020-05-13 2021-12-21 深圳创维-Rgb电子有限公司 Television and television control method, control device and readable storage medium thereof
CN112037883A (en) * 2020-08-28 2020-12-04 海尔优家智能科技(北京)有限公司 Method and device for determining motion mode, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093449A1 (en) * 2001-05-11 2002-11-21 Kenneth Kuk-Kei Wang Universal method for identifying human body profiles
CN104679831A (en) * 2015-02-04 2015-06-03 腾讯科技(深圳)有限公司 Method and device for matching human model
CN106250541A (en) * 2016-08-09 2016-12-21 珠海市魅族科技有限公司 The method for pushing of a kind of information and device
CN107041585A (en) * 2017-03-07 2017-08-15 上海优裁信息技术有限公司 The measuring method of human dimension
CN108272154A (en) * 2018-01-04 2018-07-13 广州唯品会研究院有限公司 A kind of garment dimension measurement method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269302B (en) * 2018-01-19 2020-08-07 浙江大学 Three-dimensional human body rapid reconstruction method based on simple measurement garment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002093449A1 (en) * 2001-05-11 2002-11-21 Kenneth Kuk-Kei Wang Universal method for identifying human body profiles
CN104679831A (en) * 2015-02-04 2015-06-03 腾讯科技(深圳)有限公司 Method and device for matching human model
CN106250541A (en) * 2016-08-09 2016-12-21 珠海市魅族科技有限公司 The method for pushing of a kind of information and device
CN107041585A (en) * 2017-03-07 2017-08-15 上海优裁信息技术有限公司 The measuring method of human dimension
CN108272154A (en) * 2018-01-04 2018-07-13 广州唯品会研究院有限公司 A kind of garment dimension measurement method and device

Also Published As

Publication number Publication date
CN109753489A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN109522886B (en) Method and device for measuring body data and computer readable storage medium
US11403866B2 (en) Method, medium, and system for fast 3D model fitting and anthropometrics using synthetic data
CN109508708B (en) Method and device for measuring body data and computer readable storage medium
CN109753489B (en) Method and device for generating body type sample database and computer readable storage medium
WO2016078296A1 (en) Garment try-on method and apparatus
CN109685040B (en) Method and device for measuring body data and computer readable storage medium
US20160104299A1 (en) Reference based sizing
CN103767219A (en) Noncontact human body three-dimensional size measuring method
EP3779879A1 (en) Size measuring system
JP2016053900A (en) Image processor, image processing system, image processing method and program
JP2018018382A (en) Recommended size presenting program, information processing device, and recommended size presenting method
CN109766464B (en) Method and device for generating body type sample database and computer readable storage medium
JP2018018381A (en) Size estimation program, information processing device, and size estimation method
US20170154472A1 (en) System and method for determining custom sizes by visual annotation
WO2018190406A1 (en) Program, recording medium, information processing method, and information processing device
JP6994618B2 (en) Methods and systems for improving garment size selection
KR20150140209A (en) Purchase Supporting Method on Network, and Purchase Supporting Server Used Therein
US20210076764A1 (en) Measurement garment and measuring system
CN113011936A (en) Object purchasing processing method and device, electronic equipment and readable storage medium
JP2017134470A (en) Proper size presentation method, proper size presentation system, server device and program
CN109816492A (en) Implementation method, terminal and medium between virtual fitting
JP2016123587A (en) Apparatus and method for acquiring body information
JP6945250B1 (en) Uniform sizing system
JP2018163031A (en) Body contour information analysis system
JP2022042801A (en) Measurement support system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230105

Address after: 510000 building 6, No. 20, Huahai street, Fangcun, Liwan District, Guangzhou City, Guangdong Province (office only)

Patentee after: GUANGZHOU PINWEI SOFTWARE Co.,Ltd.

Address before: 510000 room 01, No.314, Fangcun Avenue middle, Liwan District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU WEIPINHUI RESEARCH INSTITUTE CO.,LTD.

TR01 Transfer of patent right