CN109522886B - Method and device for measuring body data and computer readable storage medium - Google Patents

Method and device for measuring body data and computer readable storage medium Download PDF

Info

Publication number
CN109522886B
CN109522886B CN201910035822.6A CN201910035822A CN109522886B CN 109522886 B CN109522886 B CN 109522886B CN 201910035822 A CN201910035822 A CN 201910035822A CN 109522886 B CN109522886 B CN 109522886B
Authority
CN
China
Prior art keywords
user
measured
information
data
image
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
CN201910035822.6A
Other languages
Chinese (zh)
Other versions
CN109522886A (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 CN201910035822.6A priority Critical patent/CN109522886B/en
Publication of CN109522886A publication Critical patent/CN109522886A/en
Application granted granted Critical
Publication of CN109522886B publication Critical patent/CN109522886B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Multimedia (AREA)
  • Finance (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a measuring method of body data, which comprises the following steps: acquiring a body image of a user to be measured, wherein the body image comprises at least one of a human body front image, a human body side image and a human body back image; acquiring characteristic points in the body image of the user to be measured; and generating body data of the user to be measured according to the characteristic points, wherein the body data comprises at least one of body type information, body mass index, shoulder width, chest circumference, waist circumference and hip circumference. The invention also discloses a measuring device of the body data and a computer readable storage medium. The invention generates the body data of the user by collecting the body image of the user, thereby informing the user of the size information of the user.

Description

Method and device for measuring body data and computer readable storage medium
Technical Field
The present invention relates to the field of three-dimensional measurement technology, and in particular, to a method and an apparatus for measuring body data, 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 main object of the present invention is to provide a method for measuring body data, a device for measuring body data, and a computer-readable storage medium, which aim to generate body data of a user by acquiring a body image of the user, thereby informing the user of size information of the user.
In order to achieve the above object, the present invention provides a method for measuring body data, comprising the steps of:
acquiring a body image of a user to be measured, wherein the body image comprises at least one of a human body front image, a human body side image and a human body back image;
acquiring characteristic points in the body image of the user to be measured;
and generating body data of the user to be measured according to the characteristic points, wherein the body data comprises at least one of body type information, body mass index, shoulder width, chest circumference, waist circumference and hip circumference.
Optionally, the step of acquiring feature points in the shape image of the user to be measured includes:
determining the profile information of the user to be measured according to the body image of the user to be measured;
and determining the characteristic points according to the contour information.
Optionally, the step of determining the feature points according to the contour information includes:
acquiring prestored contour information matched with the contour information;
and taking the characteristic points on the pre-stored contour information as the characteristic points on the contour information.
Optionally, the step of generating the shape data of the user to be measured according to the feature points includes:
acquiring coordinate information of the characteristic points in a three-dimensional coordinate system;
and acquiring the shape data of the user to be measured according to the coordinate information.
Optionally, the step of obtaining the shape data of the user to be measured according to the coordinate information includes:
obtaining the distance between each feature point according to the coordinate information;
and calculating to obtain the shape data of the user to be measured according to the distance and a preset regression equation.
Optionally, the step of obtaining feature points in the front image of the human body and the side image of the human body includes:
and acquiring the characteristic points marked on the clothing worn by the user to be measured, and taking the characteristic points marked on the clothing worn by the user to be measured as the characteristic points.
Optionally, the step of generating the shape data of the user to be measured according to the feature points includes:
determining the contour information of the user to be measured according to the characteristic points;
acquiring prestored contour information matched with the contour information;
and taking the body data corresponding to the pre-stored profile information as the body data of the user to be measured.
Optionally, after the step of obtaining the shape data of the user to be measured according to the coordinate information, the method further includes:
and outputting the shape data to a preset mobile terminal.
Optionally, after the step of obtaining the shape data of the user to be measured according to the coordinate information, the method further includes:
generating clothing recommendation information and/or size recommendation information according to the shape data;
and outputting the clothing recommendation information and/or the size recommendation information.
Optionally, the step of generating clothing recommendation information according to the body data includes:
obtaining body type information in the body type data;
and generating the clothing recommendation information according to the body type information.
Optionally, the step of generating the clothing recommendation information according to the body type information includes:
obtaining body type information in the body type data;
acquiring the dressing style of the user to be measured, wherein the dressing style input by the user to be measured is received, or the dressing style is acquired according to the historical purchase record of the user to be measured;
and generating the clothing recommendation information according to the body type information and the dressing style.
Optionally, after the step of outputting the clothing recommendation information and/or the size recommendation information, the method further includes:
and outputting the prompt information of re-photographing when receiving the inaccurate information of the recommended information fed back by the user.
Optionally, before the step of acquiring the body image of the user to be measured, the method further includes:
outputting a photographing posture template for the user to be measured to photograph according to the photographing posture template;
and when the photographing gesture of the user to be measured is detected to be matched with the photographing gesture template, executing the step of acquiring the body image of the user to be measured.
Optionally, before the step of acquiring the body image of the user to be measured, the method further includes:
detecting whether the environment where the user to be measured is located and the clothing meet preset conditions or not;
and when the environment where the user to be measured is located and the clothing meet the preset conditions, executing the step of acquiring the body image of the user to be measured.
Optionally, the environment where the user to be measured is located and the clothing meet the preset condition 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.
In order to achieve the above object, the present invention further provides a measuring apparatus for shape data, comprising:
the measuring program of the body data is executed by the processor to realize the steps of the measuring method of the body data.
To achieve the above object, the present invention further provides a computer-readable storage medium having stored thereon a measurement program of body data, the measurement program of body data implementing the steps of the measurement method of body data described above when executed by a processor.
The invention provides a measuring method of body data, a measuring device of body data and a computer readable storage medium, which are used for obtaining a body image of a user to be measured, obtaining characteristic points in the body image and generating the body data of the user to be measured according to the characteristic points, wherein the body data comprises at least one of body type information, body quality index, shoulder width, chest circumference, waist circumference and hip circumference. The invention generates the body data of the user by collecting the body image of the user, thereby informing the user of the size information of the user.
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 data according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for measuring profile data according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating a method for measuring profile data according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a method for measuring profile data according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating a method for measuring profile data according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a photographing gesture template according to the present invention;
FIG. 8 is a schematic diagram of a photographing reminder according to the present invention;
FIG. 9 is a schematic diagram of feature points obtained in a form image according to the present invention;
FIG. 10 is a schematic diagram of the distribution of feature points in a three-dimensional coordinate system according to the present invention;
FIG. 11 is a schematic view of a garment with feature points labeled in advance in 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 measuring method of body data, which generates body data of a user by collecting body images of the user so as to inform the user of size information.
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 measurement program of body data.
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 measurement program of the shape data stored in the memory 1005, and perform the following operations:
acquiring a body image of a user to be measured, wherein the body image comprises at least one of a human body front image, a human body side image and a human body back image;
acquiring characteristic points in the body image of the user to be measured;
and generating body data of the user to be measured according to the characteristic points, wherein the body data comprises at least one of body type information, body mass index, shoulder width, chest circumference, waist circumference and hip circumference.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
determining the profile information of the user to be measured according to the body image of the user to be measured;
and determining the characteristic points according to the contour information.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
determining the outline information of the user to be measured according to the human body front image and the human body side image;
and determining the characteristic points according to the contour information.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
acquiring prestored contour information matched with the contour information;
and taking the characteristic points on the pre-stored contour information as the characteristic points on the contour information.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
acquiring coordinate information of the characteristic points in a three-dimensional coordinate system;
and acquiring the shape data of the user to be measured according to the coordinate information.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
obtaining the distance between each feature point according to the coordinate information;
and calculating to obtain the shape data of the user to be measured according to the distance and a preset regression equation.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
and acquiring the characteristic points marked on the clothing worn by the user to be measured, and taking the characteristic points marked on the clothing worn by the user to be measured as the characteristic points.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
determining the contour information of the user to be measured according to the characteristic points;
acquiring prestored contour information matched with the contour information;
and taking the body data corresponding to the pre-stored profile information as the body data of the user to be measured.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
and outputting the shape data to a preset mobile terminal.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
generating clothing recommendation information and/or size recommendation information according to the shape data;
and outputting the clothing recommendation information and/or the size recommendation information.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
obtaining body type information in the body type data;
and generating the clothing recommendation information according to the body type information.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
obtaining body type information in the body type data;
acquiring the dressing style of the user to be measured, wherein the dressing style input by the user to be measured is received, or the dressing style is acquired according to the historical purchase record of the user to be measured;
and generating the clothing recommendation information according to the body type information and the dressing style.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
and outputting the prompt information of re-photographing when receiving the inaccurate information of the recommended information fed back by the user.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
outputting a photographing posture template for the user to be measured to photograph according to the photographing posture template;
and when the photographing gesture of the user to be measured is detected to be matched with the photographing gesture template, executing the step of acquiring the body image of the user to be measured.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
detecting whether the environment where the user to be measured is located and the clothing meet preset conditions or not;
and when the environment where the user to be measured is located and the clothing meet the preset conditions, executing the step of acquiring the body image of the user to be measured.
Further, the processor 1001 may call a measurement program of the shape data stored in the memory 1005, and also perform the following operations:
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.
Referring to fig. 2, in an embodiment, the method for measuring the shape data includes:
step S10, obtaining a body image of a user to be measured, wherein the body image comprises at least one of a human body front image, a human body side image and a human body back image;
step S20, obtaining characteristic points in the body image;
step S30, generating the shape data of the user to be measured according to the characteristic points, wherein the shape data comprises at least one of body type information, body quality index, shoulder width, chest circumference, waist circumference and hip circumference.
In this embodiment, the body shape image of the user to be measured may be acquired by the camera, the front human body image is an image obtained by facing the front body of the user to be measured to the camera, the side human body image is an image obtained by facing the side body of the user to be measured to the camera, and the back human body image is an image obtained by facing the back body of the user to be measured to 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. As shown in fig. 7, 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. 8, 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 this embodiment, as shown in fig. 9, the feature points are positioning points that constitute the profile information of the user to be measured. The method for acquiring the characteristic points comprises the following steps: firstly, the system acquires the profile information of a user to be measured according to the body image, and determines the characteristic points according to the profile information, and secondly, the user shoots by wearing the clothing marked with the characteristic points in advance, and the system acquires the characteristic points on the clothing.
In this embodiment, the profile information of the user to be measured can be determined according to the shape image, and the feature point can be determined according to the profile information. The body type sample database stores a plurality of pre-stored contour information in advance, and the pre-stored contour information is marked with feature points in advance, so that the pre-stored contour information matched with the contour information of the user to be measured is obtained in the body type sample database, and the feature points on the pre-stored contour information matched with the contour 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. 10, coordinate information of the feature points in a three-dimensional coordinate system is acquired, and body data 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 data 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, the characteristic points marked on the clothing worn by the user to be measured can be obtained, and the characteristic points marked on the clothing worn by the user to be measured are used as the characteristic points. As shown in fig. 11, 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 characteristic points in the body shape image are obtained, generating the profile information of the user to be measured according to the characteristic points, obtaining pre-stored profile information matched with the profile information of the user to be measured in a body shape sample database, and taking body data corresponding to the pre-stored profile information matched with the profile information of the user to be measured as the body shape data of the user to be measured. It can be understood that due to factors such as excessive stretching of the garment, non-standard shooting angle, uneven light and the like, the characteristic points acquired through the body image may have a deviation condition, and in this case, when the three-dimensional sample database is established, normal contour information and tolerance contour information are acquired, where the tolerance contour information is pre-stored contour information under the deviation condition. Therefore, when the preset contour information is matched with the preset contour information, if the preset contour information is not matched with the normal contour information in the preset contour information, the preset contour information is matched with the tolerance contour information in the preset contour information. It should be noted that, coordinate information of the feature points in the three-dimensional coordinate system may also be obtained, a distance between each feature point is obtained according to the coordinate information, and the shape data of the user to be measured is obtained through calculation according to the distance and the preset regression equation.
In this embodiment, 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, after the shape data of the user to be measured is generated, the shape data may be output to a preset mobile terminal to inform the user of the shape data. Clothing recommendation information and/or size recommendation information can be generated and output according to the shape data, so that the shopping experience of the user is improved.
In the technical scheme disclosed in this embodiment, a shape image of a user to be measured is acquired, feature points are acquired in the shape image, and shape data of the user to be measured is generated according to the feature points. In this way, the user's body data is generated by collecting the body image of the user, thereby informing the user of the size information of the user himself.
In an embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, after the step of obtaining the shape data of the user to be measured according to the coordinate information, the method further includes:
and step S40, outputting the shape data to a preset mobile terminal.
In this embodiment, the body data 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 data to a preset mobile terminal to inform a user.
In this embodiment, the user can autonomously set the output body shape data, for example, only output body shape information.
In the technical scheme disclosed in this embodiment, the body data is output to a preset mobile terminal to inform a user of the body data, so that the user can conveniently select the size.
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 obtaining the shape data of the user to be measured according to the coordinate information, the method further includes:
step S50, clothing recommendation information and/or size recommendation information is generated according to the shape data;
and step S60, outputting the clothing recommendation information and/or the size recommendation information.
In this embodiment, after the shape data of the user is generated, the size recommendation information of the clothing currently browsed by the user can be generated according to the shape data. Specifically, the size recommendation information may be generated by comparing the shape data of the user with the size information of the apparel provided by the manufacturer.
In this embodiment, after the body data of the user is generated, the clothing recommendation information may be generated according to the body data. Specifically, the method comprises the steps of obtaining body type information in body type data 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 data is acquired, 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 historical purchase records 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 data, 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 is divided into thin, normal, fat and fat, and different body mass indexes have 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 recommendation information fed back by the user is inaccurate, it may be that the collected body data 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 body data, so as to improve the user experience.
In an embodiment, as shown in fig. 5, on the basis of the embodiment shown in any one of fig. 2 to 4, before the step of acquiring the shape image of the user to be measured, the method further includes:
step S70, outputting a photographing gesture template for the user to be measured to photograph according to the photographing gesture template;
step S80, judging whether the photographing gesture of the user to be measured is matched with the photographing gesture template;
in this embodiment, when it is detected that the photographing gesture of the user to be measured matches the photographing gesture template, the step of obtaining the body image of the user to be measured is performed. As shown in fig. 7, when the user to be measured enters the interface for collecting the body image, the system outputs a photographing posture template and a text information prompt, the user to be measured puts out a photographing posture according to the photographing posture template and the text information prompt, and when it is detected that the photographing posture put out by the user to be measured is matched with the photographing posture template, the photographing operation is executed.
If the photographing posture put out by the user to be measured 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 are as wide as the shoulders, the palm does not cover leg lines towards the back hands, and the two arms drop down the elbows and do not cover waist lines.
In the technical scheme disclosed in this embodiment, the photographing posture template is output for the user to be measured to photograph according to the photographing posture template, so that the obtained body image specification is ensured, and the subsequent recognition operation is facilitated.
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 acquiring the shape image of the user to be measured, the method further includes:
step S90, judging whether the environment where the user to be measured is located and the clothing meet preset conditions;
in this embodiment, when the environment where the user to be measured is located and the clothing meets the preset conditions, the step of obtaining the body image of the user to be measured is performed; and when the environment where the user to be measured is located and the clothing does 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 correcting the body image after acquiring the body image.
In this embodiment, the environment where the user to be measured is located and the clothing that meets the preset condition 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. Specifically, the shooting background of the user to be measured can be a pure color background, and impurities do not exist 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 user to be measured is close to the skin to highlight the figure curve, and due to the consideration of user privacy, a shielding object is added to the face to perform shielding operation when the figure image of the user to be measured is obtained; the user to be measured can prick the long hair to expose the neck and the shoulders, so that the figure curve can be conveniently identified; the user to be measured is in a static state, and the phenomenon that the acquired body image is fuzzy due to walking of the user to be measured is avoided.
It can be understood that when the user opens the APP, the preset condition is output for the user to refer to.
It should be noted that the step of acquiring the body image of the user to be measured may also be executed when the photographing pose of the user to be measured is matched with the photographing pose template, and the environment where the user to be measured is located and the clothing that the user wears satisfy the preset conditions.
In the technical scheme disclosed in this embodiment, when the environment where the user to be measured is located and the wearing apparel meets the preset conditions, the step of obtaining the body image of the user to be measured is performed, so that the obtained body image is clear, and the subsequent identification operation is facilitated.
The invention also provides a measuring device of the body data, which comprises a memory, a processor and a measuring program of the body data, wherein the measuring program of the body data is stored on the memory and can run on the processor, and the processor realizes the steps of the measuring device of the body data to execute the measuring method of the body data under the main body when executing the measuring program of the body data.
In addition, the present invention also provides a computer-readable storage medium, which includes a measurement program of the body data, and when the measurement program of the body data is executed by a processor, the measurement program of the body data implements the steps of the measurement method of the body data under the body as the measurement device of the body data.
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 (14)

1. A method for measuring body data is characterized by comprising the following steps:
acquiring a body image of a user to be measured, wherein the body image comprises at least one of a human body front image, a human body side image and a human body back image;
determining the profile information of the user to be measured according to the body image of the user to be measured;
acquiring prestored contour information matched with the contour information;
taking the feature points on the pre-stored contour information as the feature points on the contour information;
and generating body data of the user to be measured according to the characteristic points, wherein the body data comprises at least one of body type information, body mass index, shoulder width, chest circumference, waist circumference and hip circumference.
2. The method for measuring body shape data according to claim 1, wherein the step of generating the body shape data of the user to be measured according to the feature points comprises:
acquiring coordinate information of the characteristic points in a three-dimensional coordinate system;
and acquiring the shape data of the user to be measured according to the coordinate information.
3. The method for measuring body shape data according to claim 2, wherein the step of obtaining the body shape data of the user to be measured according to the coordinate information comprises:
obtaining the distance between each feature point according to the coordinate information;
and calculating to obtain the shape data of the user to be measured according to the distance and a preset regression equation.
4. The method for measuring body shape data according to claim 1, wherein the step of generating the body shape data of the user to be measured according to the feature points comprises:
determining the contour information of the user to be measured according to the characteristic points;
acquiring prestored contour information matched with the contour information;
and taking the body data corresponding to the pre-stored profile information as the body data of the user to be measured.
5. The method for measuring body shape data according to claim 1, wherein the step of generating the body shape data of the user to be measured according to the feature points further comprises:
and outputting the shape data to a preset mobile terminal.
6. The method for measuring body shape data according to claim 1, wherein the step of generating the body shape data of the user to be measured according to the feature points further comprises:
generating clothing recommendation information and/or size recommendation information according to the shape data;
and outputting the clothing recommendation information and/or the size recommendation information.
7. The method for measuring body shape data according to claim 6, wherein the step of generating clothing recommendation information based on the body shape data comprises:
obtaining body type information in the body type data;
and generating the clothing recommendation information according to the body type information.
8. The method for measuring body shape data according to claim 6, wherein the step of generating the clothing recommendation information according to the body shape information comprises:
obtaining body type information in the body type data;
acquiring the dressing style of the user to be measured, wherein the dressing style input by the user to be measured is received, or the dressing style is acquired according to the historical purchase record of the user to be measured;
and generating the clothing recommendation information according to the body type information and the dressing style.
9. The method for measuring body data according to claim 6, wherein the step of outputting the clothing recommendation information and/or the size recommendation information further comprises, after the step of outputting the clothing recommendation information and/or the size recommendation information:
and outputting the prompt information of re-photographing when receiving the inaccurate information of the recommended information fed back by the user.
10. The method for measuring body data according to claim 1, wherein the step of acquiring the body image of the user to be measured further comprises:
outputting a photographing posture template for the user to be measured to photograph according to the photographing posture template;
and when the photographing gesture of the user to be measured is detected to be matched with the photographing gesture template, executing the step of acquiring the body image of the user to be measured.
11. The method for measuring body shape data according to claim 10, wherein the step of acquiring the body shape image of the user to be measured further comprises:
detecting whether the environment where the user to be measured is located and the clothing meet preset conditions or not;
and when the environment where the user to be measured is located and the clothing meet the preset conditions, executing the step of acquiring the body image of the user to be measured.
12. The method for measuring body data according to claim 11, wherein the environment where the user to be measured is located and the wearing clothes satisfy the preset condition includes at least one of:
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.
13. A measuring apparatus of body data, characterized in that the measuring apparatus of body data comprises a memory, a processor and a measuring program of body data stored on the memory and operable on the processor, the measuring program of body data, when executed by the processor, implements the steps of the measuring method of body data according to any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a measurement program of body data, which when executed by a processor implements the steps of the measurement method of body data according to any one of claims 1 to 12.
CN201910035822.6A 2019-01-15 2019-01-15 Method and device for measuring body data and computer readable storage medium Active CN109522886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910035822.6A CN109522886B (en) 2019-01-15 2019-01-15 Method and device for measuring body data and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910035822.6A CN109522886B (en) 2019-01-15 2019-01-15 Method and device for measuring body data and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109522886A CN109522886A (en) 2019-03-26
CN109522886B true CN109522886B (en) 2021-11-30

Family

ID=65799497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910035822.6A Active CN109522886B (en) 2019-01-15 2019-01-15 Method and device for measuring body data and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109522886B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110123331A (en) * 2019-04-17 2019-08-16 平安科技(深圳)有限公司 Human body body and constitution collecting method, device and storage medium
CN110245575B (en) * 2019-05-21 2023-04-25 东华大学 Human body type parameter capturing method based on human body contour line
CN110188726A (en) * 2019-06-05 2019-08-30 杭州智珺智能科技有限公司 Online human body dimension measurement method and the amount body clothing for this method
CN110264514B (en) * 2019-06-27 2021-03-30 杭州智珺智能科技有限公司 Human body chest circumference and waist circumference measuring method based on random optimization strategy
CN110555411A (en) * 2019-09-05 2019-12-10 武汉纺织大学 Method and system for measuring size of shoulder and neck, storage medium and electronic equipment
CN110992417B (en) * 2019-11-22 2023-08-11 上海闻泰电子科技有限公司 Human body size measuring method, device, computer equipment and storage medium
CN111144988A (en) * 2019-12-27 2020-05-12 中国石油大学(华东) Body measuring clothes and body size measuring method thereof
CN111415382B (en) * 2020-03-02 2022-04-05 北京字节跳动网络技术有限公司 Method and device for processing human body arm body beautification in picture and electronic equipment
CN111724901A (en) * 2020-06-19 2020-09-29 中山大学 Method, system and device for predicting structure body parameters based on vision and storage medium
CN111816580A (en) * 2020-07-16 2020-10-23 宁波江丰电子材料股份有限公司 Method and system for measuring width of pattern boss of wafer retaining ring

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956912A (en) * 2016-06-06 2016-09-21 施桂萍 Method for realizing network fitting
CN107111833A (en) * 2014-10-17 2017-08-29 电子湾有限公司 Quick 3D model adaptations and anthropological measuring
JP2018041431A (en) * 2016-09-02 2018-03-15 国立大学法人電気通信大学 Point group matching method with correspondence taken into account, point group matching device with correspondence taken into account, and program
CN108510594A (en) * 2018-02-27 2018-09-07 吉林省行氏动漫科技有限公司 Virtual fit method, device and terminal device
CN109074605A (en) * 2016-04-04 2018-12-21 泰格福克斯营销有限公司 System and method for clothes online shopping

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013101529A (en) * 2011-11-09 2013-05-23 Sony Corp Information processing apparatus, display control method, and program
JP6657132B2 (en) * 2017-02-27 2020-03-04 富士フイルム株式会社 Image classification device, method and program
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
CN107111833A (en) * 2014-10-17 2017-08-29 电子湾有限公司 Quick 3D model adaptations and anthropological measuring
CN109074605A (en) * 2016-04-04 2018-12-21 泰格福克斯营销有限公司 System and method for clothes online shopping
CN105956912A (en) * 2016-06-06 2016-09-21 施桂萍 Method for realizing network fitting
JP2018041431A (en) * 2016-09-02 2018-03-15 国立大学法人電気通信大学 Point group matching method with correspondence taken into account, point group matching device with correspondence taken into account, and program
CN108510594A (en) * 2018-02-27 2018-09-07 吉林省行氏动漫科技有限公司 Virtual fit method, device and terminal device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基于RGB-D数据的物体三维建模及鞋垫定制应用;陶晓斌;《万方数据》;20180830;第11-12,20-21页 *
基于正交图片的三维虚拟人体模型重构;崔勇;《中国优秀硕士学位论文全文数据库信息科技辑》;20170315;第3-4,11-13,29-33页 *
崔勇.基于正交图片的三维虚拟人体模型重构.《中国优秀硕士学位论文全文数据库信息科技辑》.2017, *

Also Published As

Publication number Publication date
CN109522886A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109522886B (en) Method and device for measuring body data and computer readable storage medium
US9928411B2 (en) Image processing apparatus, image processing system, image processing method, and computer program product
US7292713B2 (en) Eye test service system
CN109508708B (en) Method and device for measuring body data and computer readable storage medium
JP6262105B2 (en) Image processing apparatus, image processing system, image processing method, and program
CN109685040B (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
CN108898460A (en) Virtual fit method and device
WO2016057479A1 (en) Reference based sizing
EP3779879A1 (en) Size measuring system
WO2023143215A1 (en) Acquisition method for human body measurement data, processing method for human body measurement data, and device
US11900423B2 (en) Image retrieval apparatus image retrieval method, product catalog generation system, and recording medium
US20170154472A1 (en) System and method for determining custom sizes by visual annotation
CN109766464B (en) Method and device for generating body type sample database and computer readable storage medium
KR102514515B1 (en) A server and method for providing customized clothing by measuring the characteristics of a user's body part using a vision artificial intelligence, and a system and method therefor
JP6994618B2 (en) Methods and systems for improving garment size selection
KR20150140209A (en) Purchase Supporting Method on Network, and Purchase Supporting Server Used Therein
CN108596702A (en) A kind of display methods of arranging effect, system and terminal device
CN109816492B (en) Method, terminal and medium for realizing virtual fitting room
US20210076764A1 (en) Measurement garment and measuring system
JP6739111B1 (en) Uniform sizing system
RU2789286C2 (en) Portable device for obtainment of anthropometric data and method for collection of anthropometric data
JP2017129996A (en) Coordination recommendation device, and program
JP2022032357A (en) Uniform size determination system
CN113011934A (en) Intelligent fitting method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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