Human body size measurement method, information recommendation method and device
By using image recognition and model reconstruction technologies, the human body model is updated to measure size data, solving the problem of low efficiency in measuring human body size information and achieving fast and efficient size measurement.
Patent Information
- Application Number
- CN202411000803.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-15
AI Technical Summary
Current technologies for measuring human body dimensions rely on the experience of professionals or the accuracy of equipment, resulting in low efficiency and high costs.
By recognizing images, an initial human body model is reconstructed and updated to a target human body model using offset information. Size data of the measured parts of the model is obtained, avoiding reliance on human experience or equipment accuracy.
It enables rapid measurement of human body dimensions, improving measurement efficiency and reducing labor and hardware costs.
Smart Images

Figure CN118781176A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence, specifically to technical fields such as image recognition and image fusion, and more specifically to a method for measuring human body size, a method for recommending information, and a device. Background Art
[0002] At present, in the existing application platforms, in order to obtain the vital sign data of the human body, it is often necessary to rely on professionals to measure each human body on site, or to use professional scanning equipment to measure each human body.
[0003] However, the above measurement method relying on professionals needs to rely on human experience and consumes a lot of manpower costs. The above measurement method relying on professional scanning equipment needs to rely on the accuracy of the equipment and consumes a lot of hardware costs, thus resulting in low efficiency in measuring the size information of the human body.
[0004] With respect to the technical problem of low efficiency in measuring the above-mentioned human body size information, no effective solution has been proposed so far. Summary of the invention
[0005] The embodiments of the present application provide a method for measuring human body size, a method for recommending information, and a device, so as to at least solve the technical problem of low efficiency in measuring human body size information.
[0006] According to one aspect of an embodiment of the present application, a method for measuring the size of a human body is provided. The method may include: identifying at least one image to be processed, wherein the image content of the image to be processed includes the human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measuring at least one part model in the target human body model to obtain the size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; determining the size data of the part model as the predicted size data of the corresponding part.
[0007] According to another aspect of the embodiment of the present application, a method for measuring the size of a biological object is provided. The method may include: identifying at least one image to be processed, wherein the image content of the image to be processed includes the biological object to be measured; reconstructing the biological object to be measured in the image to be processed to obtain an initial object model and offset information of the biological object to be measured, wherein the initial object model is used to simulate the geometric contour of the biological object to be measured, and the offset information is used to represent the offset of the initial object model in the texture space; using the offset information, updating the initial object model to a target object model of the biological object to be measured, wherein the texture information amount of the target object model is greater than the texture information amount of the initial object model; measuring at least one part model in the target object model to obtain the size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the biological object to be measured; and determining the size data of the part model as the predicted size data of the corresponding part.
[0008] According to another aspect of the embodiment of the present application, a method for recommending information is provided, which can be applied to an e-commerce platform. The method may include: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measuring at least one part model in the target human body model to obtain the size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determining the size data of the part model as the predicted size data of the corresponding part; recommending product attribute information matching the predicted size data, wherein the clothing product that meets the product attribute information is to be worn by the human body to be measured, and the clothing product comes from a virtual clothing store deployed on the e-commerce platform.
[0009] According to another aspect of the embodiment of the present application, a method for recommending information is provided, which can be applied to a client, and the client can be used to deploy a virtual clothing store on an e-commerce platform. The method may include: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measuring at least one part model in the target human body model to obtain the size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; determining the size data of the part model as the predicted size data of the corresponding part; recommending product attribute information matching the predicted size data to the e-commerce platform, wherein the clothing product that meets the product attribute information is to be worn by the human body to be measured, and the clothing product comes from the virtual clothing store.
[0010] According to another aspect of the embodiment of the present application, a method for measuring the size of a human body is provided. The method may include: in response to an image input operation on an operation interface, displaying at least one image to be processed on the operation interface, wherein the image content of the image to be processed includes the human body to be measured; in response to a reconstruction operation on the operation interface, displaying an initial human body model and offset information of the human body to be measured on the operation interface, wherein the initial human body model and the offset information are obtained by reconstructing the image to be processed, the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; in response to an update operation on the operation interface, displaying a target human body model corresponding to the initial human body model on the operation interface, wherein the target human body model is obtained by updating the initial human body model using the offset information, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; in response to a size measurement operation on the operation interface, displaying predicted size data of at least one part of the human body to be measured on the operation interface, wherein the predicted size data of the part is determined based on the size data of the corresponding part model in the target human body model, and the part model is used to simulate the geometric contour of the corresponding part.
[0011] According to another aspect of an embodiment of the present application, a method for measuring the size of a human body is provided. The method may include: displaying at least one image to be processed on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the image content of the image to be processed includes the human body to be measured; driving the VR device or the AR device to reconstruct the human body to be measured in the processed image, obtaining an initial human body model and offset information of the human body to be measured, and using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, the offset information is used to represent the offset of the initial human body model in the texture space, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; driving the VR device or the AR device to measure at least one part model in the target human body model, obtaining the size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determining the size data of the part model as the predicted size data of the corresponding part, and displaying the predicted size data of the part on the presentation screen of the VR device or the AR device.
[0012] According to another aspect of the embodiment of the present application, a human body size measurement system is provided. The system may include: a client, for uploading at least one image to be processed, wherein the image content of the image to be processed includes the human body to be measured; a server, for reconstructing the human body to be measured in the image to be processed, and obtaining an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measuring at least one part model in the target human body model, and obtaining the size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determining the size data of the part model as the predicted size data of the corresponding part; and sending the predicted size data of the part to the client.
[0013] According to another aspect of an embodiment of the present application, an electronic device is further provided. The electronic device may include a memory and a processor: the memory stores an executable program; the processor is used to run the executable program, and when the executable program is run by the processor, any one of the above methods is implemented.
[0014] According to another aspect of an embodiment of the present application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in each embodiment of the present application.
[0015] According to another aspect of the embodiments of the present application, a computer program product is also provided, including computer instructions, which implement the methods in various embodiments of the present application when executed by a processor.
[0016] According to another aspect of an embodiment of the present application, a computer program product is also provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present application is implemented.
[0017] According to another aspect of the embodiments of the present application, a computer program is also provided, and when the computer program is executed by a processor, the methods in the various embodiments of the present application are implemented.
[0018] In the embodiment of the present application, when measuring the size data of a human body, at least one image to be processed can be identified. The human body to be measured in the identified image to be processed is reconstructed to obtain the initial human body model and offset information of the human body to be measured. The initial human body model is updated to the target human body model of the human body to be measured by using the offset information obtained, and at least one part model in the target human body model is measured to obtain the size data of the part model. The size data of the part model obtained can be determined as the predicted size data of the corresponding part. Since in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, thereby solving the technical problem of low efficiency of measuring the size information of the human body.
[0019] It is easy to notice that the above general description and the following detailed description are only for the purpose of exemplifying and explaining the present application, and do not constitute a limitation of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0021] Figure 1 is a schematic diagram of an application scenario of a method for measuring human body size according to an embodiment of the present application;
[0022] Figure 2is a flow chart of a method for measuring human body size according to an embodiment of the present application;
[0023] Figure 3 is a flow chart of a method for measuring the size of a biological object according to an embodiment of the present application;
[0024] Figure 4 is a flow chart of a method for recommending information according to an embodiment of the present application;
[0025] Figure 5 is a flow chart of another information recommendation method according to an embodiment of the present application;
[0026] Figure 6 is a flow chart of another method for measuring human body size according to an embodiment of the present application;
[0027] Figure 7 is a flow chart of another method for measuring the size of a human body according to an embodiment of the present application;
[0028] Figure 8 is a schematic diagram of a human body size measurement system according to an embodiment of the present application;
[0029] FIG9( a ) is a schematic diagram of a human body size measurement system suitable for free posture according to an embodiment of the present application;
[0030] FIG9( b ) is a schematic diagram of a human body size measurement assistant suitable for free posture according to an embodiment of the present application;
[0031] Fig.10 It is a hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for measuring human body size according to an embodiment of the present application;
[0032] Fig.11 is a structural block diagram of a computing environment of a method for measuring human body size according to an embodiment of the present application;
[0033] Fig.12 is a structural block diagram of a service grid of a method for measuring human body size according to an embodiment of the present application;
[0034] Fig.13 is a schematic diagram of a human body size measuring device according to an embodiment of the present application;
[0035] Fig.14 is a schematic diagram of a biological object size measurement device according to an embodiment of the present application;
[0036] Fig.15 is a schematic diagram of an information recommendation device according to an embodiment of the present application;
[0037] Fig.16 is a schematic diagram of another information recommendation device according to an embodiment of the present application;
[0038] Fig.17 is a schematic diagram of another human body size measuring device according to an embodiment of the present application;
[0039] Fig.18 is a schematic diagram of another human body size measuring device according to an embodiment of the present application;
[0040] Fig.19 is a block diagram of an electronic device for a method for measuring the size of a human body according to an embodiment of the present application;
[0041] Fig. 20 It is a structural block diagram of a computer terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0045] Dimensional fitting is a data fitting technology. It can fit the circumference of the body according to the front picture of the width of the corresponding part of the body measured and the side picture of the thickness of the corresponding part of the body measured, for example, to fit at least one of the following dimensions: chest circumference, waist circumference, hip circumference and leg circumference.
[0046] A differentiable measurer is a distance measuring device. It can be used to measure the length of a straight line, geodesic distance, or cross-section perimeter between two points on a mesh. It can be integrated into model training to allow gradient backpropagation.
[0047] Key point detection is a framework detection technology. It can use a detection model to detect the key point positions of human skeletons in the image (for example, detecting the pixel coordinates of human skeletons in the image) with a person image as input. The detection model can be a model identified based on feature positioning technology, which is only used as an example here and is not specifically limited.
[0048] According to an embodiment of the present application, a method for measuring the size of a human body is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0049] Considering the huge number of model parameters of the large model and the limited computing resources of the mobile terminal, the human body size measurement method provided in the embodiment of the present application can be applied to Figure 1 The application scenarios shown are not limited to these. Figure 1 In the application scenario shown, the human body size measurement method is deployed in a server 10, which may be a cloud. The server 10 may be connected to one or more client devices 20 via a local area network connection, a wide area network connection, an Internet connection, or other types of data networks. The client devices 20 herein may include but are not limited to: smart phones, tablet computers, laptop computers, PDAs, personal computers, smart home devices, vehicle-mounted devices, etc. The client devices 20 together constitute a client relative to the server 10. On the graphical user interface of the client device 20, an operation interface for displaying a target image may be deployed, and the operation interface may be an operation interface of an e-commerce platform. The client device 20 may interact with the user via a graphical user interface to implement the call of the human body size measurement method, thereby implementing the human body size measurement method provided in the embodiment of the present application.
[0050] In the embodiment of the present application, the system composed of the client device and the server can perform the following steps: when processing an image, the user can use a client device such as a mobile phone, a desktop computer, a laptop computer, etc. to communicate data with the server through a network. After receiving the processing instruction sent by the user through the client device, the server can perform step S102 to identify at least one image to be processed, and can also perform step S104 to reconstruct the human body to be measured in the image to be processed to obtain the initial human body model and offset information of the human body to be measured, and can also perform step S106 to update the initial human body model to the target human body model of the human body to be measured using the offset information, and can perform step S108 to measure at least one part model in the target human body model to obtain the size data of the part model, and can also perform step S110 to determine the size data of the part model as the predicted size data of the corresponding part. It should be noted that, if the operating resources of the client device can meet the deployment and operating conditions of the human body size measurement method, the embodiment of the present application can be performed in the client device.
[0051] Under the above operating environment, this application provides Figure 2 The measurements of the human body shown are as follows. Figure 2 is a flow chart of a method for measuring the size of a human body according to an embodiment of the present application, such as Figure 2 As shown, the method may include the following steps:
[0052] Step S202: identifying at least one image to be processed.
[0053] In the technical solution provided in the above step S202 of the present application, the image content of the above image to be processed may include a human body to be measured. For example, the above image to be processed may be a picture of any camera perspective and / or any human posture, and the human body to be measured may be the body of any human, which is only an example and is not specifically limited.
[0054] This embodiment identifies at least one image to be processed. Optionally, at least one local image is selected from the user's photo album, and the selected local image is identified to identify at least one image to be processed. For example, by performing character recognition on the selected local static image, at least one image of any camera perspective and / or any character posture can be identified. This is only for illustration and is not specifically limited.
[0055] It should be noted that the format of the above-mentioned image to be processed may include at least one of the following types: lossy compression format (JPEG), lossless compression format (PNG), animation-supporting format (GIF) and raw image format (RAW), etc. This is only for example and no specific limitation is made.
[0056] Step S204, reconstructing the human body to be measured in the processed image to obtain an initial human body model and offset information of the human body to be measured.
[0057] In the technical solution provided in the above step S204 of the present application, after identifying at least one image to be processed, the human body to be measured in the image to be processed is reconstructed to obtain the initial human body model and offset information of the human body to be measured.
[0058] In this embodiment, the initial human body model can be used to simulate the geometric contour of the human body to be measured, and the offset information can be used to represent the offset of the initial human body model in the texture space. For example, the initial human body model can be a coarse human body geometric mesh of the human body to be measured, the offset information can be the offset of the coarse human body geometric mesh in the texture space (also referred to as human body geometric offset), and the texture space can be a two-dimensional space represented by texture coordinates (UV).
[0059] This embodiment reconstructs the human body to be measured in the processed image to obtain an initial human body model of the human body to be measured. Optionally, based on the identification of the image to be processed, the identified image to be processed is reconstructed in three dimensions (3D) to obtain the initial human body model of the human body to be measured. For example, the identified image to be processed is encoded to obtain the initial image features of the human body to be measured. The initial image features of the human body to be measured are concatenated to obtain the target image features of the human body to be measured, and the initial human body model of the human body to be measured can be determined based on the obtained target image features of the human body to be measured.
[0060] This embodiment reconstructs the human body to be measured in the processed image to obtain the offset information of the human body to be measured. Optionally, based on the identification of the image to be processed, the identified image to be processed is 3D reconstructed to obtain the offset information of the human body to be measured. For example, the target image features of the human body to be measured are convoluted to obtain a feature map. The obtained feature map is decoded, and the decoded information is sampled to obtain the offset information of the human body to be measured.
[0061] It should be noted that the above method of reconstructing the human body to be measured in the processed image to obtain the initial object model and offset information of the human body to be measured is only an example, and no specific limitation is made here. As long as the process and method can obtain the initial human body model and offset information of the human body to be measured from the image to be processed, they are all within the protection scope of the embodiments of the present application, and no examples are given here one by one.
[0062] Step S206: using the offset information, the initial human body model is updated to a target human body model of the human body to be measured.
[0063] In the technical solution provided in the above step S206 of the present application, after the human body to be measured in the processed image is reconstructed to obtain the initial human body model and offset information of the human body to be measured, the initial human body model can be updated to the target human body model of the human body to be measured using the offset information.
[0064] In this embodiment, the texture information amount of the target human body model may be greater than the texture information amount of the initial human body model. The texture information amount may be used to represent the fineness of the human body model, and the fineness of the human body model may be described by at least one of the following parameters: the detail level of the human body model, the resolution of the human body model, the visual quality of the human body model, and the rendering time of the human body model. The detail level of the target human body model may be higher than the detail level of the initial human body model, the resolution of the target human body model may be higher than the resolution of the initial human body model, the visual quality of the target human body model may be higher than the visual quality of the initial human body model, the rendering time of the target human body model may be longer than the rendering time of the initial human body model, etc. This is only for illustration and is not specifically limited.
[0065] This embodiment uses the offset information to update the initial human body model to the target human body model of the human body to be measured. Optionally, based on the initial human body model and the offset information of the human body to be measured, the vertices of the geometric contour corresponding to the initial human body model can be offset using the offset information. According to the offset vertices, the target human body model of the human body to be measured can be determined.
[0066] In this embodiment, the target human body model of the human body to be measured can be determined according to the offset vertices. For example, the geometric contour of the initial human body model is updated according to the offset vertices, and the updated initial human body model can be determined as the target human body model of the human body to be measured.
[0067] It should be noted that the above-mentioned target human body model and the above-mentioned initial human body model are for the same human body to be measured. Based on this, the number of the above-mentioned target human body models and the number of the above-mentioned initial human body models are one-to-one corresponding, that is, if the number of initial human body models is 1, the number of target human body models is also 1, if the number of initial human body models is n, the number of target human body models is also n, where n can be any positive integer.
[0068] Step S208, measuring at least one part model of the target human body model to obtain size data of the part model.
[0069] In the technical solution provided in the above step S208 of the present application, after the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, at least one part model of the target human body model is measured to obtain the size data of the human body to be measured.
[0070] In this embodiment, the above-mentioned part model can be used to simulate the geometric contour of the corresponding part of the human body to be measured, and the size data of the above-mentioned part model can be used to simulate the size of the geometric contour of the part of the human body to be measured, wherein the part is the actual part of the human body that needs the size data to be measured. For example, the above-mentioned sub-object model can be used to simulate the geometric contour of at least one corresponding part of the human body to be measured, and the size data of the above-mentioned part model can be used to simulate the size value of any part of the human body to be measured. The above-mentioned part model can be at least one of the following models: waist model, leg model, head model and chest model, etc., which are only used for example and are not specifically limited.
[0071] This embodiment measures at least one part model in the target human body model to obtain the size data of the part model. Optionally, based on the target human body model of the human body to be measured, at least one surface of the part model in the target human body model can be determined. The circumference of at least one surface of the determined part model can be measured to obtain the size data of the part model.
[0072] Optionally, on the basis of obtaining the target person model of the person to be detected, at least one surface of the part model in the target person model can be determined. By measuring the circumference of at least one surface of the determined part model, the size data of the part model can be obtained, thereby obtaining the size value of any part of the simulated person to be detected, which is only for example and not specifically limited.
[0073] Step S210, determining the physical sign data of the part model as the predicted size data of the corresponding part.
[0074] In the technical solution provided in the above step S210 of the present application, after measuring at least one part model of the target human body model and obtaining the size data of the part model, the size data of the part model can be determined as the predicted size data of the corresponding part.
[0075] In this embodiment, the predicted size data can be used to represent the predicted result of the size of the geometrical contour of the part. For example, the part can be at least one of the following parts: waist, leg, head and chest, etc., and the predicted size data can be at least one of the following data: the predicted result of the circumference data of the waist, the predicted result of the circumference data of the leg, the predicted result of the circumference data of the head and the predicted result of the circumference data of the chest, etc., which is only for illustration and not for specific limitation.
[0076] In this embodiment, the size data of the part model is determined as the predicted size data of the corresponding part. Optionally, the size data of the size used to simulate the geometric contour of the part can be determined as the predicted size data of the part, that is, it can be determined as the predicted result of the size of the geometric contour of the part. For example, the circumference data of the waist model used to simulate the geometric contour of the waist can be determined as the predicted result of the circumference data of the corresponding waist, which is only for illustration and not specific limitation.
[0077] Optionally, if the part model is a shoulder model in the target human body model, the shoulder width of the shoulder model can be determined as the predicted shoulder width of the actual human shoulder, or the shoulder length of the shoulder model can be determined as the predicted shoulder length of the actual human shoulder. If the part model is a leg model in the target human body model, the leg circumference of the leg model can be determined as the predicted leg circumference of the actual leg, or the leg length of the leg model can be determined as the predicted leg length of the actual leg. If the part model is a waist model in the target human body model, the waist circumference of the waist model can be determined as the predicted waist circumference of the actual human waist. This is for illustration only and is not a specific limitation.
[0078] Through the above steps S202 to S210 of the present application, when measuring the size data of a human body, at least one image to be processed can be identified. The human body to be measured in the identified image to be processed is reconstructed to obtain an initial human body model and offset information of the human body to be measured. Using the obtained offset information, the initial human body model is updated to a target human body model of the human body to be measured, and at least one part model in the target human body model is measured to obtain the size data of the part model. The size data of the part model obtained can be determined as the predicted size data of the corresponding part. Since, in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency of measuring the size information of the human body.
[0079] The above method of this embodiment is further introduced below.
[0080] As an optional implementation, step S204, reconstructing the human body to be measured in the processed image to obtain the initial human body model and offset information of the human body to be measured, includes: calling the reconstruction model to reconstruct the human body to be measured in the processed image to obtain the initial human body model and offset information of the human body to be measured.
[0081] In this embodiment, the above-mentioned reconstruction model can be obtained by training human body model samples of different postures and / or different perspectives based on different human body samples, and the data volume of human body model samples of different postures and / or different perspectives of different human body samples can be greater than the data volume threshold. For example, the above-mentioned reconstruction model can be a model constructed at least based on a 3D body (Body) reconstructor (Reconstructor), the above-mentioned posture can be the posture of a person, the above-mentioned perspective can be the perspective of a camera, and the above-mentioned human body model sample can be a super-large-scale human body model sample data set storing multiple human body model samples, which is only for illustration and is not specifically limited.
[0082] In this embodiment, after identifying at least one image to be processed, the reconstruction model is called to reconstruct the human body to be measured in the image to be processed, and the initial human body model of the human body to be measured can be obtained. Optionally, based on the identification of the image to be processed, the reconstruction model is called to perform three-dimensional (3D) reconstruction of the human body to be measured in the identified image to be processed, and the initial human body model of the human body to be measured can be obtained. For example, the reconstruction model is called to encode the human body to be measured in the identified image to be processed, and the initial image features of the human body to be measured can be obtained. The reconstruction model is called to connect (concat) the initial image features of the human body to be measured, and the target image features of the human body to be measured (for example, a depth feature map) can be obtained, and according to the obtained target image features of the human body to be measured, the initial human body model of the human body to be measured can be determined.
[0083] In this embodiment, after identifying at least one image to be processed, the reconstruction model is called to reconstruct the human body to be measured in the image to be processed, and the offset information of the human body to be measured can be obtained. Optionally, based on the identification of the image to be processed, the reconstruction model is called to perform three-dimensional (3D) reconstruction of the human body to be measured in the identified image to be processed, and the offset information of the human body to be measured can be obtained. For example, a lightweight full convolution module (UV2offset) composed of four convolutional layers connected to the reconstruction model is called to perform convolution processing on the target image features of the above-mentioned human body to be measured, and a feature map (UVoffset map) can be obtained. The UV2offset module is called, the obtained feature map is decoded, and the decoded information is sampled, so as to obtain the offset information of the human body to be measured.
[0084] It should be noted that the above-mentioned method of calling the reconstruction model to reconstruct the human body to be measured in the processed image to obtain the initial human body model and offset information of the human body to be measured is only an example, and no specific limitation is made here. As long as the process and method can obtain the initial object model and offset information of the human body to be measured from the image to be processed, they are all within the protection scope of the embodiments of the present application, and no examples are given here one by one.
[0085] As an optional implementation, a reconstruction model is called to reconstruct the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, including: calling a first reconstruction module in the reconstruction model to create a target image feature of the human body to be measured in the image to be processed as an initial human body model; calling a second reconstruction module in the reconstruction model to create a target image feature of the human body to be measured in the image to be processed as offset information.
[0086] In this embodiment, the first reconstruction module may be a module constructed based on a regression (regressor) model and a feasible variable parameterization model of the human body (SMPL), the second reconstruction module may be a module constructed based on a lightweight full convolution module (UVhead) composed of three convolutional layers and a lightweight full convolution module (UV2offset) composed of four convolutional layers, and the target image feature may be a depth feature map of the human body to be measured. This is only for illustration and no specific limitation is made.
[0087] In this embodiment, after identifying at least one image to be processed, the first reconstruction module in the reconstruction model is called to create the target image features of the human body to be measured in the image to be processed as an initial human body model. Optionally, the encoding (enconder) model in the reconstruction model is called to encode the identified image to be processed, and the initial image features of the human body to be measured can be obtained. The concat model in the reconstruction model is called to connect the initial image features of the human body to be measured, and the target image features of the human body to be measured can be obtained. The above-mentioned first reconstruction module is called to perform regression processing on the target image features of the human body to be measured, and the above-mentioned first reconstruction module is called to process the geometric parameters of the human body to be measured obtained by the regression processing, and the initial human body model of the human body to be measured can be obtained.
[0088] In this embodiment, the second reconstruction module in the reconstruction model is called to create the target image features of the human body to be measured in the processed image as offset information. Optionally, the second reconstruction module is called to encode the target image features of the human body to be measured, and a feature map of the human body shape can be obtained. The second reconstruction module is called to decode the feature map of the human body shape, and the decoded information is sampled to obtain the offset information of the human body to be measured.
[0089] As an optional implementation, the first reconstruction module in the reconstruction model is called to create an initial human body model using the target image features of the human body to be measured in the image to be processed, including: using the regression processing module in the first reconstruction module to perform regression processing on the target image features in the image to be processed to obtain geometric parameters of the human body to be measured; using the decoding module in the first reconstruction module to decode the geometric parameters to obtain the initial human body model.
[0090] In this embodiment, the regression processing module may be implemented based on a regressor model, the geometric parameters may be multi-dimensional SMPL shape params, and the decoding module may be implemented based on an SMPL model.
[0091] In this embodiment, after identifying at least one image to be processed, the regression processing module in the first reconstruction module is used to perform regression processing on the target image features in the image to be processed to obtain the geometric parameters of the human body to be measured. Optionally, the enconder model in the reconstruction model is called to encode the identified image to be processed to obtain the initial image features of the human body to be measured. The concat model in the reconstruction model is called to connect the initial image features of the human body to be measured to obtain the target image features of the human body to be measured. The regression processing module in the first reconstruction module is called to perform regression processing on the target image features of the human body to be measured to obtain the geometric parameters of the human body to be measured.
[0092] In this embodiment, the decoding module in the first reconstruction module is used to decode the geometric parameters to obtain an initial human body model. Optionally, the SMPL module in the first reconstruction module is called to decode the SMPL body shape coefficients obtained by regression processing to obtain a rough human body geometry mesh of the human body to be measured.
[0093] As an optional implementation, a decoding module in the first reconstruction module is used to decode geometric parameters to obtain an initial human body model, including: using the decoding module in the first reconstruction module to determine multiple vertices of the geometric contour of the human body to be measured based on the geometric parameters; using the decoding module in the first reconstruction module to create the vertices of the geometric contour into a three-dimensional geometric mesh.
[0094] In this embodiment, the initial human body model may include a three-dimensional geometric mesh. For example, the vertices may be vertices of a mesh, and the three-dimensional geometric mesh may be a coarse geometric mesh.
[0095] In this embodiment, after the regression processing module in the first reconstruction module is used to perform regression processing on the target image features in the processed image to obtain the geometric parameters of the human body to be measured, the decoding module in the first reconstruction module is used to determine multiple vertices of the geometric contour of the human body to be measured based on the geometric parameters. Optionally, the SMPL module in the first reconstruction module is called to determine multiple vertices of the geometric contour of the human body to be measured based on the body shape base, the geometric parameters and the human body template. The above-mentioned determination of multiple vertices of the geometric contour of the human body to be measured can be achieved by the following formula:
[0096] vertices=template+basis*coefficients (1)
[0097] Among them, vertices can be used to represent multiple vertices of the geometric contour of the human body to be measured, template can be used to represent the human body template obtained by counting human body information, basis can be used to represent the body shape basis obtained by counting body shape data, and coefficients can be used to represent the geometric parameters of the human body to be measured.
[0098] In this embodiment, the vertices of the geometric contour are created as a three-dimensional geometric mesh using the decoding module in the first reconstruction module. Optionally, the SMPL module in the first reconstruction module is called to determine the range formed by the vertices of the geometric contour as a three-dimensional geometric mesh. For example, the SMPL model is called to determine the range formed by the vertices of the geometric contour of the human body to be measured as a rough geometric mesh, which is only an example and is not specifically limited.
[0099] As an optional implementation, the second reconstruction module in the reconstruction model is called to create the target image features of the human body to be measured in the image to be processed as offset information, including: using the convolution processing module in the second reconstruction module to perform convolution processing on the target image features in the image to be processed to obtain a feature map; using the decoding module in the second reconstruction module to decode the feature map in the texture space to obtain offset information.
[0100] In this embodiment, the feature map can be used to represent the shape of the human body to be measured. For example, the feature map can be used to represent the body shape of the person to be detected, the feature map can be a human body shape feature map (for example, a body shape feature map represented by a human-shaped color block), the convolution processing module can be implemented based on the UVhead model, and the decoding module can be implemented based on the UV2offset model. This is only for illustration and is not specifically limited.
[0101] In this embodiment, after calling the first reconstruction module in the reconstruction model to create the target image features of the human body to be measured in the image to be processed as the initial human body model, the convolution processing module in the second reconstruction module is used to perform convolution processing on the target image features in the image to be processed to obtain a feature map. Optionally, calling the convolution processing module in the second reconstruction module to perform convolution processing on the target image features of the human body to be measured can obtain a feature map of the human body shape.
[0102] In this embodiment, the feature map is decoded in the texture space by using the decoding module in the second reconstruction module to obtain the offset information. Optionally, the decoding module in the second reconstruction module is called to decode the obtained feature map in the UV space, and the decoded information is sampled to obtain the offset information of the human body to be measured. For example, the UV2offset module is called to decode the obtained human body shape feature map in the UV space, and the decoded information is sampled to obtain the human body geometry offset of the human body to be measured. This is only for example and is not specifically limited.
[0103] As an optional implementation, a decoding module in the second reconstruction module is used to decode the feature map in the texture space to obtain offset information, including: using the decoding module in the second reconstruction module to decode the feature map in the texture space to obtain texture offset information; using the decoding module in the second reconstruction module to sample vertex offset information from the texture offset information.
[0104] In this embodiment, the texture offset information can be used to represent the offset of the texture coordinates of the initial human body model in the texture space, and the offset information can include vertex offset information. The vertex offset information can be used to represent the offset of the vertices of the geometric contour corresponding to the initial human body model in the texture space. For example, the texture offset information can be a human body geometric offset (UV offset map), and the vertex offset information can be a vertex offset vector (vertex offset), which is only used as an example and is not specifically limited.
[0105] In this embodiment, after the convolution processing module in the second reconstruction module is used to perform convolution processing on the target image features in the processed image to obtain the feature map, the decoding module in the second reconstruction module is used to decode the feature map in the texture space to obtain texture offset information. Optionally, the obtained feature map is input into the decoding module in the second reconstruction module, and the decoding module in the second reconstruction module is called to decode the feature map input therein in the texture space, so that texture offset information can be obtained, for example, the human body geometry offset can be obtained. This is only for example description and is not specifically limited.
[0106] In this embodiment, the decoding module in the second reconstruction module is used to sample the vertex offset information from the texture offset information. Optionally, the UV2offset module in the second reconstruction module is called to sample the vertex offset vector from the human body geometry offset, which is only an example and is not specifically limited.
[0107] As an optional implementation, the initial human body model is updated to a target human body model of the human body to be measured using the offset information, including: using the vertex offset information to offset the vertices of the geometric contour corresponding to the initial human body model; and creating the target human body model with the offset vertices.
[0108] In this embodiment, the target human body model may be a fine human body geometric mesh (Finemesh) of the human body to be measured.
[0109] In this embodiment, after reconstructing the processed image and obtaining the initial human body model and offset information of the human body to be measured, the vertex offset information is used to offset the vertices of the geometric contour corresponding to the initial human body model; the offset vertices are created as the target human body model. Optionally, the vertex offset vector obtained is used to offset the vertices of the geometric contour corresponding to the Coarse mesh, and the range formed by the offset vertices is created as the Finemesh of the human body to be measured. The above process of creating the target human body model can be implemented by the following formula:
[0110] vertices=template+basis*coefficients+offset (2)
[0111] Among them, offset can be used to represent the vertex offset vector.
[0112] As an optional implementation, the method also includes: using a feature extraction module in the reconstruction model to extract initial image features of the human body to be measured from the image to be processed; using a feature connection module in the reconstruction model to connect multiple initial image features corresponding to multiple images to be processed to obtain target image features.
[0113] In this embodiment, the feature extraction module can be implemented based on the Encoder model, the feature connection module can be implemented based on the concat model, the initial image features can be represented by (feat1, ..., featn), and the target image features can be represented by feats. This is only for illustration and no specific limitation is made.
[0114] In this embodiment, the feature extraction module in the reconstruction model is used to extract the initial image features of the human body to be measured from the image to be processed. Optionally, the feature extraction module in the reconstruction model is called to extract features from the identified image to be processed, and the initial image features of the human body to be measured can be obtained. For example, the Encoder model is called to extract features from the identified image to be processed, and the initial image features of the human body to be measured can be obtained. This is only an example and is not specifically limited.
[0115] In this embodiment, a feature connection module in the reconstruction model is used to connect multiple initial image features corresponding to multiple images to be processed to obtain target image features. Optionally, the concat model is called to connect multiple initial image features corresponding to multiple images to be processed to obtain target image features of the human body to be measured, for example, a depth feature map of the human body to be measured can be obtained. This is only for example and is not specifically limited.
[0116] As an optional implementation, measuring at least one part model in the target human body model to obtain size data of the part model includes: determining at least one geometric element of the part model in the target human body model; calling a size measurement model to measure the geometric element of the part model to obtain the size data of the part model.
[0117] In this embodiment, the geometric elements can be used to form the surface of the part model, and the size measurement model can be obtained by training based on the vital sign data samples of human body samples in different postures and / or different perspectives. For example, the geometric elements can be used to form two points and / or cross-sections of the part model, the size measurement model can be implemented based on a differentiable measurer, the vital sign data samples can be a super-large-scale human size data set storing multiple vital sign data samples, and the data volume of the vital sign data samples can be greater than the data volume threshold.
[0118] In this embodiment, after the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, at least one geometric element of the part model in the target human body model is determined, and the dimension measurement model is called to measure the geometric element of the part model, so as to obtain the size data of the part model. Optionally, the surface constituting the part model in the target human body model is determined, and the dimension measurement model is called to measure the surface constituting the part model, so as to obtain the size data of the part model. For example, the surface constituting the part model in the target human body model is determined, and DifferentiableMeasurer is called to measure the surface constituting the part model, so as to obtain the size data of the part model, thereby obtaining the size value of any part of the human body to be measured. This is only for illustration and is not specifically limited.
[0119] As an optional implementation, calling the size measurement model to measure the geometric elements of the part model to obtain the physical sign data of the part model includes: calling the forward propagation network in the size measurement model to measure the geometric elements of the human body model to obtain the size data of the part model.
[0120] In this embodiment, the forward propagation network in the size measurement model is called to measure the geometric elements of the human body model to obtain the size data of the part model. Optionally, the forward propagation network in the size measurement model is called to measure the surface constituting the part model to obtain the size data of the part model. For example, the forward propagation network in Differentiable Measurer is called to measure the surface constituting the part model to obtain the size data of the part model, thereby obtaining the size value of any part of the simulated human body to be measured. This is only for example and is not specifically limited.
[0121] The present application also provides a method for measuring the size of a biological object. Figure 3 is a flow chart of a method for measuring the size of a biological object according to an embodiment of the present application, such as Figure 3 As shown, the method may include the following steps:
[0122] Step S302: identifying at least one image to be processed.
[0123] In the technical solution provided in the above step S302 of the present application, the image content of the above image to be processed may include the biological object to be measured. For example, the above image to be processed may be a picture of any camera perspective and / or any human posture, and the biological object to be measured may be any human. This is only an example and is not specifically limited.
[0124] This embodiment identifies at least one image to be processed. Optionally, at least one local image is selected from the user's photo album, and the selected local image is identified to identify at least one image to be processed. For example, by performing character recognition on the selected local static image, at least one image of any camera perspective and / or any character posture can be identified. This is only for illustration and is not specifically limited.
[0125] It should be noted that the format of the above-mentioned image to be processed may include at least one of the following types: lossy compression format (JPEG), lossless compression format (PNG), animation-supporting format (GIF) and raw image format (RAW), etc. This is only for example and no specific limitation is made.
[0126] Step S304: reconstruct the biological object to be measured in the processed image to obtain an initial object model and offset information of the biological object to be detected.
[0127] In the technical solution provided in the above step S304 of the present application, after identifying at least one image to be processed, the biological object to be measured in the image to be processed is reconstructed to obtain the initial object model and offset information of the biological object to be measured.
[0128] In this embodiment, the biological object to be measured may be at least one of the following objects whose size needs to be measured: a person, a pet, a plant, etc. The initial object model may be used to simulate the geometric outline of the biological object to be measured, and the offset information may be used to represent the offset of the initial object model in the texture space. For example, the initial object model may be a coarse human body geometric mesh of the person to be detected, the offset information may be the offset of the coarse human body geometric mesh in the texture space (also referred to as human body geometric offset), and the texture space may be a two-dimensional space represented by texture coordinates (UV).
[0129] This embodiment reconstructs the biological object to be measured in the image to be processed to obtain an initial object model of the biological object to be measured. Optionally, based on the identification of the image to be processed, the biological object to be measured in the identified image to be processed is 3D reconstructed to obtain the initial object model of the biological object to be measured. For example, the biological object to be measured in the identified image to be processed is encoded to obtain the initial image features of the biological object to be measured. The initial image features of the biological object to be measured are concat to obtain the target image features of the biological object to be measured, and the initial object model of the biological object to be measured can be determined based on the obtained target image features of the biological object to be measured.
[0130] This embodiment reconstructs the biological object to be measured in the image to be processed to obtain the offset information of the biological object to be measured. Optionally, based on the identification of the image to be processed, the biological object to be measured in the identified image to be processed is 3D reconstructed to obtain the offset information of the biological object to be measured. For example, the target image features of the biological object to be measured are convoluted to obtain a feature map. The obtained feature map is decoded, and the decoded information is sampled to obtain the offset information of the biological object to be measured.
[0131] It should be noted that the above method of reconstructing the biological object to be measured in the processed image to obtain the initial object model and offset information of the biological object to be measured is only an example, and no specific limitation is made here. As long as the process and method can obtain the initial object model and offset information of the biological object to be measured from the processed image, they are within the protection scope of the embodiments of the present application, and no examples are given here one by one.
[0132] Step S306: using the offset information, the initial object model is updated to a target object model of the biological object to be measured.
[0133] In the technical solution provided in the above step S306 of the present application, after reconstructing the image to be processed and obtaining the initial object model and offset information of the biological object to be measured, the initial object model can be updated to the target object model of the biological object to be measured using the offset information.
[0134] In this embodiment, the amount of texture information of the target object model may be greater than the amount of texture information of the initial object model.
[0135] This embodiment uses the offset information to update the initial object model to the target object model of the biological object to be measured. Optionally, based on the initial object model and the offset information of the biological object to be measured, the vertices of the geometric contour corresponding to the initial object model can be offset using the offset information. The target object model of the biological object to be measured can be determined based on the offset vertices.
[0136] In this embodiment, the target object model of the biological object to be measured can be determined according to the offset vertices. For example, the geometric outline of the initial object model is updated according to the offset vertices, and the updated initial object model can be determined as the target object model of the biological object to be measured.
[0137] Step S308, measuring at least one part model in the target object model to obtain size data of the part model.
[0138] In the technical solution provided in the above step S308 of the present application, after the initial object model is updated to the target object model of the biological object to be measured using the offset information, at least one part model in the target object model is measured to obtain the size data of the part model.
[0139] In this embodiment, the above-mentioned part model can be used to simulate the geometric contour of the corresponding part of the biological object to be measured, and the size data of the above-mentioned part model can be used to simulate the size of the geometric contour of the part. For example, the above-mentioned part model can be used to simulate the geometric contour of at least one corresponding part of the person to be detected, and the physical sign data of the above-mentioned part model can be used to simulate the size value of any part of the person to be detected, which is only for example and not specifically limited.
[0140] This embodiment detects at least one part model in the target object model to obtain the size data of the part model. Optionally, based on obtaining the target object model of the biological object to be measured, at least one surface of the part model in the target object model can be determined. The circumference of at least one surface of the determined part model can be measured to obtain the size data of the part model.
[0141] Optionally, on the basis of obtaining the target person model of the person to be detected, at least one surface of the part model in the target person model can be determined. By measuring the circumference of at least one surface of the determined part model, the size data of the part model can be obtained, thereby obtaining the size value of any part of the simulated person to be detected, which is only for example and not specifically limited.
[0142] Step S310, determining the physical sign data of the part model as the predicted physical sign data of the corresponding part.
[0143] In the technical solution provided in the above step S310 of the present application, after measuring at least one part model in the target object model to obtain the size data of the part model, the size data of the part model is determined as the predicted size data of the corresponding part.
[0144] In this embodiment, the above-mentioned predicted size data can be used to represent the predicted result of the size of the geometric contour of the part. For example, the above-mentioned predicted size data can be at least one of the following data: the predicted result of the circumference data of the waist, the predicted result of the circumference data of the legs, the predicted result of the circumference data of the head, and the predicted result of the circumference data of the chest, etc., which is only for illustration and not for specific limitation.
[0145] This embodiment determines the size data of the part model as the predicted size data of the corresponding part. Optionally, the size data of the size used to simulate the geometric contour of the part can be determined as the predicted size data of the part, that is, it can be determined as the predicted result of the size data of the geometric contour of the part.
[0146] Optionally, the size data of the size of the geometric contour of the simulated part can be determined as the predicted size data of the corresponding part, that is, it can be determined as the predicted result of the size of the geometric contour of the corresponding part. For example, the circumference data of the waist model used to simulate the geometric contour of the waist can be determined as the predicted result of the circumference data of the corresponding waist, which is only for illustration and not specific limitation.
[0147] Through the above steps S302 to S310 of the present application, when measuring the vital sign data of a biological object, at least one image to be processed can be identified. The biological object to be measured in the identified image to be processed is reconstructed to obtain the initial object model and offset information of the biological object to be measured. Using the obtained offset information, the initial object model is updated to the target object model of the biological object to be measured, and at least one part model in the target object model is measured to obtain the size data of the part model. The size data of the obtained part model can be determined as the predicted size data of the corresponding part. Since, in the embodiment of the present application, the initial object model is updated to the target object model of the biological object to be measured by using the offset information, and the size data of the part model detected from the target object model is also determined as the predicted size data of the corresponding part, the present application can complete the detection of the size data of the biological object according to any image to be processed, avoiding excessive reliance on human experience or excessive reliance on the accuracy of the equipment when measuring the size data of the biological object, thereby achieving the purpose of quickly completing the detection of the size data of the biological object, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency in measuring the size information of the human body.
[0148] The present application also provides a method for recommending information. Figure 4 is a flow chart of a method for recommending product information according to an embodiment of the present application. Figure 4 As shown, the method can be applied to an e-commerce platform, and the method may include the following steps:
[0149] Step S402: identifying at least one image to be processed.
[0150] In the technical solution provided in the above step S402 of the present application, the image content of the above image to be processed may include a human body to be measured. For example, the above image to be processed may be a picture of any camera perspective and / or any human posture, and the human body to be measured may be the body of any human, which is only an example and is not specifically limited.
[0151] In this embodiment, at least one image to be processed is identified. Optionally, at least one local image is selected from the user's photo album, and the selected local image is identified to identify at least one image to be processed. For example, by performing character recognition on the selected local static image, at least one image of any camera perspective and / or any character posture can be identified. This is only an example and is not specifically limited.
[0152] Step S404: reconstruct the human body to be measured in the processed image to obtain an initial human body model and offset information of the human body to be measured.
[0153] In the technical solution provided in the above step S404 of the present application, after identifying at least one image to be processed, the human body to be measured in the image to be processed is reconstructed to obtain the initial human body model and offset information of the human body to be measured.
[0154] This embodiment reconstructs the human body to be measured in the image to be processed to obtain an initial human body model of the human body to be measured. Optionally, based on the identification of the image to be processed, the human body to be measured in the identified image to be processed is 3D reconstructed to obtain the initial human body model of the human body to be measured. For example, the human body to be measured in the identified image to be processed is encoded to obtain the initial image features of the human body to be measured. The initial image features of the human body to be measured are concatenated to obtain the target image features of the human body to be measured, and the initial human body model of the human body to be measured can be determined based on the obtained target image features of the human body to be measured.
[0155] This embodiment reconstructs the human body to be measured in the image to be processed to obtain the offset information of the human body to be measured. Optionally, based on the identification of the image to be processed, the human body to be measured in the identified image to be processed is 3D reconstructed to obtain the offset information of the human body to be measured. For example, a feature map can be obtained by performing convolution processing on the target image features of the human body to be measured. The obtained feature map is decoded, and the decoded information is sampled to obtain the offset information of the human body to be measured.
[0156] Step S406: using the offset information, the initial human body model is updated to a target human body model of the human body to be measured.
[0157] In the technical solution provided in the above step S406 of the present application, after the human body to be measured in the processed image is reconstructed to obtain the initial human body model and offset information of the human body to be measured, the initial human body model can be updated to the target human body model of the human body to be measured using the offset information.
[0158] In this embodiment, the texture information amount of the target human body model may be greater than the texture information amount of the initial human body model.
[0159] This embodiment uses the offset information to update the initial human body model to the target human body model of the human body to be measured. Optionally, based on the initial human body model and the offset information of the human body to be measured, the vertices of the geometric contour corresponding to the initial human body model can be offset using the offset information. According to the offset vertices, the target human body model of the human body to be measured can be determined.
[0160] In this embodiment, the target human body model of the human body to be measured can be determined according to the offset vertices. For example, the geometric contour of the initial human body model is updated according to the offset vertices, and the updated initial human body model can be determined as the target human body model of the human body to be measured.
[0161] Step S408, measuring at least one part model of the target human body model to obtain size data of the part model.
[0162] In the technical solution provided in the above step S408 of the present application, after the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, at least one part model of the target human body model is measured to obtain the size data of the part model.
[0163] This embodiment measures at least one part model in the target human body model to obtain the size data of the part model. Optionally, based on the target human body model of the human body to be measured, at least one surface of the part model in the target human body model can be determined. The circumference of at least one surface of the determined part model can be measured to obtain the size data of the part model.
[0164] Optionally, on the basis of obtaining the target person model of the person to be detected, at least one surface of the part model in the target person model can be determined. By measuring the circumference of at least one surface of the determined part model, the size data of the part model can be obtained, thereby obtaining the size value of any part of the simulated person to be detected, which is only for example and not specifically limited.
[0165] Step S410, determining the size data of the part model as the predicted size data of the corresponding part.
[0166] In the technical solution provided in the above step S410 of the present application, after measuring at least one part model of the target human body model and obtaining the size data of the part model, the size data of the part model can be determined as the predicted size data of the corresponding part.
[0167] In this embodiment, the size data of the part model is determined as the predicted size data of the corresponding part. Optionally, the size data of the size used to simulate the geometric contour of the part can be determined as the predicted size data of the part, that is, it can be determined as the predicted result of the size of the geometric contour of the part. For example, the circumference data of the waist model used to simulate the geometric contour of the waist can be determined as the predicted result of the circumference data of the corresponding waist, which is only for illustration and not specific limitation.
[0168] Step S412: recommending product attribute information that matches the predicted size data.
[0169] In the technical solution provided in the above step S412 of the present application, after the size data of the part model is determined as the predicted size data of the corresponding part, product attribute information matching the predicted size data is recommended.
[0170] In this embodiment, the clothing products satisfying the product attribute information can be worn by the human body to be measured. The clothing products can come from a virtual clothing store deployed on an e-commerce platform. For example, the clothing products can include at least one of the following products: tops, pants, scarves, hats, and jewelry, etc. The virtual clothing store can include at least one of the following types of stores: virtual sportswear stores, virtual wedding clothing stores, virtual casual clothing stores, virtual performance clothing stores, and virtual jewelry stores, etc. This is only for illustration and is not a specific limitation.
[0171] This embodiment recommends product attribute information that matches the predicted size data. Optionally, based on the predicted size data of the determined part, the determined predicted size data is matched with the product attribute information to obtain product attribute information that matches the predicted size data, and the product attribute information that matches the predicted size data is recommended on the e-commerce platform.
[0172] Through the above steps S402 to S412 of the present application, at least one image to be processed can be identified when recommending product information. The human body to be measured in the identified image to be processed is reconstructed to obtain the initial human body model and offset information of the human body to be measured. Using the obtained offset information, the initial human body model is updated to the target human body model of the human body to be measured, and at least one part model in the target human body model is measured to obtain the size data of the part model. The size data of the obtained part model can be determined as the predicted size data of the corresponding part, and the product attribute information matching the predicted size data can be recommended. Since, in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency of measuring the size information of the human body.
[0173] The present application also provides a method for recommending information. Figure 5 is a flow chart of a method for recommending information according to an embodiment of the present application, such as Figure 5 As shown, the method can be applied to a client, and the client can be used to deploy a virtual clothing store on an e-commerce platform. The method can include the following steps:
[0174] Step S502: identifying at least one image to be processed.
[0175] In the technical solution provided in the above step S502 of the present application, the image content of the above image to be processed may include a human body to be measured. For example, the above image to be processed may be a picture of any camera perspective and / or any human posture, and the human body to be measured may be the body of any human, which is only an example and is not specifically limited.
[0176] In this embodiment, at least one image to be processed is identified. Optionally, at least one local image is selected from the photo album, and the selected local image is identified to identify at least one image to be processed. For example, by performing character recognition on the selected local static image, at least one image of any camera perspective and / or any character posture can be identified. This is only for illustration and is not specifically limited.
[0177] Step S504: reconstruct the human body to be measured in the processed image to obtain an initial human body model and offset information of the human body to be measured.
[0178] In the technical solution provided in the above step S504 of the present application, after identifying at least one image to be processed, the human body to be measured in the image to be processed is reconstructed to obtain the initial human body model and offset information of the human body to be measured.
[0179] This embodiment reconstructs the human body to be measured in the image to be processed to obtain an initial human body model of the human body to be measured. Optionally, based on the identification of the image to be processed, the human body to be measured in the identified image to be processed is 3D reconstructed to obtain the initial human body model of the human body to be measured. For example, the human body to be measured in the identified image to be processed is encoded to obtain the initial image features of the human body to be measured. The initial image features of the human body to be measured are concat-ed to obtain the target image features of the human body to be measured, and the initial human body model of the human body to be measured can be determined based on the obtained target image features of the human body to be measured.
[0180] This embodiment reconstructs the human body to be measured in the image to be processed to obtain the offset information of the human body to be measured. Optionally, based on the identification of the image to be processed, the human body to be measured in the identified image to be processed is 3D reconstructed to obtain the offset information of the human body to be measured. For example, a feature map can be obtained by performing convolution processing on the target image features of the human body to be measured. The obtained feature map is decoded, and the decoded information is sampled to obtain the offset information of the human body to be measured.
[0181] Step S506: using the offset information, the initial human body model is updated to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0182] In the technical solution provided in the above step S506 of the present application, after the human body to be measured in the processed image is reconstructed to obtain the initial human body model and offset information of the human body to be measured, the initial human body model can be updated to the target human body model of the human body to be measured using the offset information.
[0183] In this embodiment, the texture information amount of the target human body model may be greater than the texture information amount of the initial human body model.
[0184] This embodiment uses the offset information to update the initial human body model to the target human body model of the human body to be measured. Optionally, based on the initial human body model and the offset information of the human body to be measured, the vertices of the geometric contour corresponding to the initial human body model can be offset using the offset information. According to the offset vertices, the target human body model of the human body to be measured can be determined.
[0185] In this embodiment, the target human body model of the human body to be measured can be determined according to the offset vertices. For example, the geometric contour of the initial human body model is updated according to the offset vertices, and the updated initial human body model can be determined as the target human body model of the human body to be measured.
[0186] Step S508, measuring at least one part model of the target human body model to obtain size data of the part model.
[0187] In the technical solution provided in the above step S508 of the present application, after the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, at least one part model of the target human body model is measured to obtain the size data of the part model.
[0188] This embodiment measures at least one part model in the target human body model to obtain the size data of the part model. Optionally, based on the target human body model of the human body to be measured, at least one surface of the part model in the target human body model can be determined. The circumference of at least one surface of the determined part model can be measured to obtain the size data of the part model.
[0189] Optionally, on the basis of obtaining the target person model of the person to be detected, at least one surface of the part model in the target person model can be determined. By measuring the circumference of at least one surface of the determined part model, the size data of the part model can be obtained, thereby obtaining the size value of any part of the simulated person to be detected, which is only for example and not specifically limited.
[0190] Step S510, determining the size data of the part model as the predicted size data of the corresponding part.
[0191] In the technical solution provided in the above step S510 of the present application, after measuring at least one part model of the target human body model and obtaining the size data of the part model, the size data of the part model can be determined as the predicted size data of the corresponding part.
[0192] In this embodiment, the size data of the part model is determined as the predicted size data of the corresponding part. Optionally, the size data of the size used to simulate the geometric contour of the part can be determined as the predicted size data of the part, that is, it can be determined as the predicted result of the size of the geometric contour of the part. For example, the circumference data of the waist model used to simulate the geometric contour of the waist can be determined as the predicted result of the circumference data of the corresponding waist, which is only for illustration and not specific limitation.
[0193] Step S512: recommending product attribute information matching the predicted size data to the e-commerce platform.
[0194] In the technical solution provided in the above step S512 of the present application, after the physical sign data of the part model is determined as the predicted size data of the corresponding part, the product attribute information matching the predicted part data is recommended to the e-commerce platform.
[0195] This embodiment recommends product attribute information matching the predicted size data to the e-commerce platform. Optionally, based on the predicted size data of the determined part, the determined predicted size data is matched with the product attribute information to obtain product attribute information matching the predicted size data, and the product attribute information matching the predicted size data is recommended to the e-commerce platform.
[0196] Through the above steps S502 to S512 of the present application, at least one image to be processed can be identified when recommending product information. The human body to be measured in the identified image to be processed is reconstructed to obtain the initial human body model and offset information of the human body to be measured. Using the obtained offset information, the initial human body model is updated to the target human body model of the human body to be measured, and at least one part model in the target human body model is measured to obtain the size data of the part model. The size data of the obtained part model can be determined as the predicted size data of the corresponding part, and the product attribute information matching the predicted size data can be recommended to the e-commerce platform. Since, in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the vital signs data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency in measuring the size information of the human body.
[0197] The present application also provides a method for measuring the size of a human body. Figure 6 is a flow chart of another method for measuring the size of a human body according to an embodiment of the present application, such as Figure 6 As shown, the method may include the following steps:
[0198] Step S602, in response to an image input operation on the operation interface, at least one image to be processed is displayed on the operation interface, wherein the image content of the image to be processed includes a human body to be measured.
[0199] In the technical solution provided in the above step S602 of the present application, in response to the image input operation on the operation interface, at least one image to be processed is displayed on the operation interface. Optionally, if the user initiates the image input operation on the operation interface, at least one image to be processed is displayed on the operation interface in response to the image input operation initiated by the user.
[0200] Step S604, in response to the reconstruction operation performed on the operation interface, an initial human body model and offset information of the human body to be measured are displayed on the operation interface, wherein the initial human body model and the offset information are obtained by reconstructing the image to be processed, the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space.
[0201] In the technical solution provided in the above step S604 of the present application, in response to the image input operation on the operation interface, after at least one image to be processed is displayed on the operation interface, in response to the reconstruction operation on the operation interface, the initial human body model and offset information of the human body to be measured are displayed on the operation interface.
[0202] This embodiment responds to a reconstruction operation on the operation interface, and displays an initial human body model of the human body to be measured on the operation interface. Optionally, if the user initiates a reconstruction operation on the operation interface, the human body to be measured in the identified image to be processed is encoded in response to the reconstruction operation initiated by the user, and the initial image features of the human body to be measured can be obtained. The initial image features of the human body to be measured are connected to obtain the target image features of the human body to be measured, and the initial human body model of the human body to be measured can be determined based on the obtained target image features of the human body to be measured, and the initial human body model of the human body to be measured is displayed on the operation interface.
[0203] This embodiment responds to the reconstruction operation on the operation interface and displays the offset information of the human body to be measured on the operation interface. Optionally, if the user initiates the reconstruction operation on the operation interface, in response to the reconstruction operation initiated by the user, the target image features of the human body to be measured are convolved to obtain a feature map. The obtained feature map is decoded and the decoded information is sampled to obtain the offset information of the human body to be measured, and the offset information of the human body to be measured is displayed on the operation interface.
[0204] Step S606, in response to the update operation on the operation interface, a target human body model corresponding to the initial human body model is displayed on the operation interface, wherein the target human body model is obtained by updating the initial human body model using the offset information, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0205] In the technical solution provided in the above step S606 of the present application, in response to a reconstruction operation performed on the operation interface, after the initial human body model and offset information of the human body to be measured are displayed on the operation interface, in response to an update operation performed on the operation interface, the target human body model corresponding to the initial human body model is displayed on the operation interface.
[0206] In this embodiment, in response to an update operation on the operation interface, a target human body model corresponding to the initial human body model is displayed on the operation interface. Optionally, if a user initiates an update operation on the operation interface, in response to the update operation initiated by the user, the vertices of the geometric contour corresponding to the initial human body model can be offset using the offset information obtained. Based on the offset vertices, the target human body model of the human body to be measured can be determined, and the target human body model of the human body to be measured can be displayed on the operation interface.
[0207] Step S608, in response to the size measurement operation performed on the operation interface, the predicted size data of at least one part of the human body to be measured is displayed on the operation interface, wherein the predicted size data of the part is determined based on the size data of the corresponding part model in the human body model, and the part model is used to simulate the geometric contour of the corresponding part.
[0208] In the technical solution provided in the above step S608 of the present application, after the target human body model corresponding to the initial human body model is displayed on the operation interface in response to the update operation on the operation interface, the predicted size data of at least one part of the human body to be measured is displayed on the operation interface in response to the size measurement operation on the operation interface.
[0209] In this embodiment, in response to a size measurement operation performed on the operation interface, predicted size data of at least one part of the human body to be measured are displayed on the operation interface. Optionally, if the user initiates a size measurement operation on the operation interface, in response to the size measurement operation initiated by the user, a circumference strategy is performed on at least one surface of the determined part model to obtain size data of the part model, and the obtained size data of the part model is determined as the predicted size data of the part, and the predicted size data of the part is also displayed on the operation interface.
[0210] Through the above steps S602 to S608 of the present application, when processing an image, if the user initiates an image input operation on the operation interface, then in response to the image input operation initiated by the user, at least one image to be processed is displayed on the operation interface. If the user initiates a reconstruction operation on the operation interface, then in response to the reconstruction operation initiated by the user, the initial human body model and offset information of the human body to be measured are displayed on the operation interface. If the user initiates an update operation on the operation interface, then in response to the update operation initiated by the user, the target human body model corresponding to the initial human body model is displayed on the operation interface. If the user initiates a size measurement operation on the operation interface, then in response to the size measurement operation initiated by the user, the predicted size data of at least one part of the human body to be measured is displayed on the operation interface. Since, in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency of measuring the size information of the human body.
[0211] The present application also provides a method for measuring the size of a human body. Figure 7 is a flow chart of another method for measuring the size of a human body according to an embodiment of the present application, such as Figure 7 As shown, the method may include the following steps:
[0212] Step S702: displaying at least one image to be processed on a presentation screen of a virtual reality (VR) device or an augmented reality (AR) device, wherein the image content of the image to be processed includes a human body to be measured.
[0213] In the technical solution provided in the above step S702 of the present application, the above VR device may be a virtual reality (VirtualReality) device, and the above AR device may be an augmented reality (AugmentedReality) device.
[0214] In this embodiment, at least one image to be processed is displayed on the presentation screen of a virtual reality VR device or an augmented reality AR device. Optionally, based on the identification of at least one image to be processed, the identified at least one image to be processed can be displayed on the presentation screen of the VR device. Alternatively, the identified at least one image to be processed can be displayed on the presentation screen of the AR device.
[0215] Step S704, driving the VR device or AR device to reconstruct the human body to be measured in the processed image, obtaining an initial human body model and offset information of the human body to be measured, and using the offset information to update the initial human body model to a target human body model of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0216] In the technical solution provided in the above step S704 of the present application, after displaying at least one image to be processed on the presentation screen of the virtual reality VR device or the augmented reality AR device, the VR device or the AR device is driven to reconstruct the human body to be measured in the processed image, and the initial human body model and offset information of the human body to be measured can be obtained, and the initial human body model can be updated to the target human body model of the human body to be measured by using the offset information.
[0217] This embodiment drives the VR device or AR device to reconstruct the image to be processed, obtains the initial human body model and offset information of the human body to be measured, and uses the offset information to update the initial human body model to the target human body model of the human body to be measured. Optionally, the VR device or AR device is driven to perform 3D reconstruction on the human body to be measured in the identified image to be processed, and the initial human body model of the human body to be measured can be obtained. For example, the VR device or AR device is driven to encode the human body to be measured in the identified image to be processed, and the initial image features of the human body to be measured can be obtained. The VR device or AR device is driven to concat the initial image features of the human body to be measured, and the target image features of the human body to be measured can be obtained, and the initial human body model of the human body to be measured can be determined based on the obtained target image features of the human body to be measured. The VR device or AR device is driven to offset the vertices of the geometric contour corresponding to the initial human body model using the obtained offset information. According to the offset vertices, the target human body model of the human body to be measured can be determined.
[0218] Step S706, driving the VR device or AR device to measure at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured.
[0219] In the technical solution provided in the above step S706 of the present application, after driving the VR device or AR device to reconstruct the human body to be measured in the processed image to obtain the initial human body model and offset information of the human body to be measured, and using the offset information to update the initial human body model to the target human body model of the human body to be measured, the VR device or AR device is driven to measure at least one part model of the target human body model, and the size data of the part model can be obtained.
[0220] This embodiment drives the VR device or AR device to measure at least one part model in the target human body model to obtain the size data of the part model. Optionally, the VR device or AR device is driven to determine at least one surface of the part model in the target human body model. The circumference of at least one surface of the determined part model is measured to obtain the size data of the part model.
[0221] In step S708, the size data of the part model is determined as the predicted size data of the corresponding part, and the predicted size data of the part is displayed on the presentation screen of the VR device or the AR device.
[0222] In the technical solution provided in the above step S708 of the present application, after driving the VR device or AR device to measure at least one part model of the target human body model and obtaining the size data of the part model, the size data of the part model can be determined as the predicted size data of the corresponding part, and the predicted size data of the part can be displayed on the presentation screen of the VR device or AR device.
[0223] This embodiment determines the size data of the part model as the predicted size data of the corresponding part, and displays the predicted size data of the part on the presentation screen of the VR device or AR device. Optionally, the size data of the size of the geometric contour used to simulate the part can be determined as the predicted size data of the part, that is, it can be determined as the predicted result of the size of the geometric contour of the part. The predicted size data of the part can be displayed on the presentation screen of the VR device or AR device.
[0224] Through the above steps S702 to S708 of the present application, when processing an image, at least one image to be processed is displayed on the presentation screen of a virtual reality VR device or an augmented reality AR device. By driving the VR device or AR device to reconstruct the human body to be measured in the image to be processed, an initial human body model and offset information of the human body to be measured can be obtained, and the initial human body model can be updated to a target human body model of the human body to be measured using the offset information. By driving the VR device or AR device to measure at least one part model in the target human body model, size data of the part model can be obtained. The predicted size data of the part can be displayed on the presentation screen of the VR device or AR device. Since, in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency of measuring the size information of the human body.
[0225] The embodiment of the present application further provides a human body size measurement system. It should be noted that the human body size measurement system of this embodiment can be used to execute the above-mentioned human body size measurement method. Figure 8 is a schematic diagram of a human body size measurement system according to an embodiment of the present application, such as Figure 8 As shown, the system may include: a client 802 and a server 804 .
[0226] The client 802 is used to upload at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured.
[0227] The server 804 is used to reconstruct the human body to be measured in the processed image, obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; update the initial human body model to a target human body model of the human body to be measured by using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determine the size data of the part model as the predicted size data of the corresponding part; and send the predicted size data of the part to the client.
[0228] In the technical solution provided by the image processing system of the present application, the client 802 can be devices such as smart phones and laptops, and the server 804 can be a physical server and a cloud server, etc. This is only used as an example and is not specifically limited.
[0229] In this embodiment, at least one image to be processed can be uploaded through the client in the human body size measurement system. The human body to be measured in the image to be processed can be reconstructed through the server in the human body size measurement system to obtain the initial human body model and offset information of the human body to be measured. The initial human body model can also be updated to the target human body model of the human body to be measured by using the offset information through the server in the human body size measurement system. At least one part model in the target human body model can also be measured through the server in the human body size measurement system to obtain the size data of the part model. The size data of the part model can also be determined as the predicted size data of the corresponding part through the server in the human body size measurement system. The predicted size data of the part can also be sent to the client through the server in the human body size measurement system.
[0230] By using the human body size measurement system of the present application, when measuring the size data of a human body, at least one image to be processed can be uploaded through the client. The human body to be measured in the image to be processed can be reconstructed through the server to obtain the initial human body model and offset information of the human body to be measured, and the initial human body model can be updated to the target human body model of the human body to be measured by using the offset information obtained, and at least one part model in the updated target human body model is measured to obtain the size data of the part model, and the size data of the part model is determined as the predicted size data of the corresponding part, and the predicted size data of the part is sent to the client. Since, in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency of measuring the size information of the human body.
[0231] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application, for example, the data for verification, are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0232] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0233] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the human body size measurement method of each embodiment of the present application.
[0234] At present, in existing application platforms, in order to obtain the vital sign data of an object, it is often necessary to rely on professionals to measure each object on site, or to use professional scanning equipment to measure each object.
[0235] However, the above measurement method relying on professionals needs to rely on human experience and consumes a lot of manpower costs. The above measurement method relying on professional scanning equipment needs to rely on the accuracy of the equipment and consumes a lot of hardware costs, thus resulting in low efficiency in measuring the size information of the human body.
[0236] The present application provides a method for measuring the size of a human body, which solves the technical problem of low efficiency in measuring the size information of a human body. The method is different from the traditional solution that relies on human experience and consumes a lot of manpower costs, or relies on the accuracy of equipment and consumes a lot of hardware costs, and solves the technical problem of low efficiency in measuring the size information of a human body.
[0237] In an embodiment of the present application, when measuring the size data of a human body, at least one image to be processed can be identified. The human body to be measured in the identified image to be processed is reconstructed to obtain an initial human body model and offset information of the human body to be measured. Using the obtained offset information, the initial human body model is updated to a target human body model of the human body to be measured, and at least one part model in the target human body model is measured to obtain the size data of the part model. The size data of the obtained part model can be determined as the predicted size data of the corresponding part, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and then solving the technical problem of low efficiency of measuring the size information of the human body.
[0238] The above method of this embodiment is further introduced below.
[0239] In this embodiment, in order to solve the technical problem of low efficiency in measuring human body size information, a human body size measurement system suitable for free posture can be proposed. FIG9(a) is a schematic diagram of a human body size measurement system suitable for free posture according to an embodiment of the present application. As shown in FIG9, the system may include: a human body 3D reconstruction module 901, an SMPL module 902, a UV2offset module 903 and a differentiable measurer 904.
[0240] In this embodiment, the human body 3D reconstruction module 901 may include: an enconder module, a concat module, a regressor module and a UVhead module. The enconder module may be used to extract features from each image to be processed to obtain features (feat1, ..., featn), the concat module may be used to cascade the features (feat1, ..., featn) into feats along the channel direction, the regressor module may be used to perform regression processing on the cascaded features to obtain 100-dimensional SMPL body shape coefficients (shape params), and the UVhead module may be used to encode the cascaded features to obtain and output a feature map representing the body shape (for example, a body shape feature map represented by a human-shaped color block).
[0241] Optionally, the UVhead module is a lightweight fully convolutional module (convnet), which can be composed of three convolutional layers. The UVhead module can further encode a feature map representing the human body shape from the deep feature map output by the encoder. The extraction of the human body feature map by the UVhead module is obtained through indirect training and learning, because the human body feature map output by the UVhead module will be decoded into a UV deformation map (i.e., UV offset map) by the UV2offset module to be explicitly supervised by the human body shape information.
[0242] Optionally, the regressor module is a fully connected net, which may be composed of three fully connected layers. The regressor module may further encode a set of feature vectors (ie, SMPL coefficients) representing the human body shape from the deep feature map output by the encoder.
[0243] It should be noted that the above regressor module and the above UVhead module have similar functions and can both be used to encode body shape features. In terms of division of labor, the regressor module can be used to encode the rough body shape, which is decoded by the SMPL module to obtain the coarse mesh; the UVhead module can be used to encode the fine-grained body shape, which is decoded by the UV2offset module to obtain vertex offsets. The information of the coarse mesh and vertex offsets obtained by the above decoding is combined to obtain a fine geometric mesh of the human body.
[0244] In this embodiment, the SMPL module 902 can be used to obtain a coarse mesh according to the body shape base, geometric parameters and human body template. The process of obtaining a coarse mesh can be implemented by the above formula (1).
[0245] In this embodiment, the UV2offset module 903 is a lightweight full convolution module constructed by four convolution layers. The UV2offset module 903 can be used to take the human body feature map as input, output a UV offset map representing the human body geometry offset, and after expanding and sampling the obtained UV offset map according to UV, a vertex offset vector (vertex offset) can be obtained.
[0246] In this embodiment, the above-mentioned vertex offsets and the above-mentioned coarse mesh are combined to form a human body fine geometric mesh. The above-mentioned differential measuring device 904 can be used to receive the human body fine geometric mesh, and measure the geometric elements of the part model in the received human body fine geometric mesh to obtain the straight-line distance between two points in the mesh or the perimeter of a certain cross section. Among them, the straight-line distance between two points in the mesh can be used to represent the arm length, leg length or height of a human body, and the perimeter of a certain cross section can be used to represent the chest circumference, waist circumference, hip circumference or arm circumference of a human body.
[0247] Alternatively, if the straight-line distance between two points in the grid is the arm length, the straight-line distance L from the shoulder point (x1, y1, z1) to the wrist point (x2, y2, z2) can be measured, where L = sqrt((x1-x2)^2+(y1-y2)^2+(z1-z2)^2).
[0248] Optionally, if the circumference of a cross-section in the grid is the waistline, then the circumference D of the cross-section is measured along the waist cross-section formed by a series of points {(x1, y1, z1), …, (xn, yn, zn)}, where D = L1 + … + Ln-1, Ln-1 = sqrt((xn-1-xn)^2+(yn-1-yn)^2+(zn-1-zn)^2), and n can be a natural number greater than 1.
[0249] It should be noted that the above-mentioned human body size dataset may include specially collected and constructed size measurement sample values consisting of 2,000 people. On the basis of obtaining the above-mentioned human body size dataset, by integrating open source datasets in related fields, a super-large-scale open source human body shape and size dataset can be obtained. For example, through methods such as data format conversion, parameter fitting, rendering generation, etc., the above-mentioned super-large-scale open source human body shape and size dataset can be integrated. Among them, the above-mentioned super-large-scale open source human body shape and size dataset may include 6 types and 19 datasets, the number of model body shapes stored therein exceeds 10,000, and the number of human body postures stored therein exceeds one million. All images in the dataset are preprocessed into SMPL parameter form to facilitate supervised training.
[0250] Furthermore, the above six types may include: 2D Keypoints-based Fits, 3D Poses-based Fits, surreal, bedlam, mvp and nomo. The preprocessing pipeline of the above ultra-large-scale open source human body shape and size dataset may include: rigid registration, non-rigid registration, parameter optimization, rendering and other processes.
[0251] In this embodiment, a human body size measurement method can be implemented by a human body size measurement assistant suitable for free posture. For example, FIG9(b) is a schematic diagram of a human body size measurement assistant suitable for free posture according to an embodiment of the present application. As shown in FIG9(b), in the operation page of the mobile device 910, at least one image to be processed is uploaded from the user's photo album, and at least one image to be processed can be identified through the server 911 that communicates with the mobile device 910. Through the server 911, the identified image to be processed is reconstructed to obtain an initial human body model and offset information for measuring the human body. Through the server 911, the initial human body model can be updated to a target human body model of the human body to be measured using the offset information. Through the server 911, at least one part model in the target human body model is detected to obtain the size data of the part model, and the size data of the obtained part model is determined as the predicted size data of the corresponding part. The predicted size data of the determined part is returned to the mobile device 910 through the server 911, and the predicted size data of the part returned thereto is displayed in the mobile device 910. For example, the predicted size data of the chest circumference is returned to the mobile device 910, and the predicted size data of the chest circumference returned thereto is displayed in the mobile device 910, and the predicted size data of the arm length is returned to the mobile device 910, and the predicted size data of the arm length returned thereto is displayed in the mobile device 910. This is only an example for illustration and is not specifically limited.
[0252] In the embodiment of the present application, a 3D human body measurement solution suitable for free posture is adopted, and one or more pictures of arbitrary camera perspectives and arbitrary human postures can be input. According to the input pictures, the human body is first reconstructed, and then the size measurement is performed on the reconstructed mesh, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and further solving the technical problem of low efficiency in measuring the size information of the human body.
[0253] The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Fig.10FIG. 1 shows a hardware structure block diagram of a computer terminal (or mobile device) for implementing a method for measuring the size of a human body. Fig.10 As shown, the computer terminal 100 (or mobile device) may include one or more (1002a, 1002b, ..., 1002n are used to illustrate) processors 1002 (the processor 1002 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1004 for storing data, and a transmission module 1006 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Fig.10 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.10 More or fewer components as shown, or with Fig.10 Different configurations shown.
[0254] It should be noted that the one or more processors 1002 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 100 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0255] The memory 1004 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the methods in the embodiments of the present application. The processor 1002 executes various functional applications and data processing by running the software programs and modules stored in the memory 1004, that is, the routing information processing method in the virtual network in the above-mentioned embodiment is realized. The memory 1004 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1004 may further include a memory remotely arranged relative to the processor 1002, and these remote memories may be connected to the computer terminal 100 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0256] The transmission device 1006 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 100. In one example, the transmission device 1006 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 1006 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0257] The display may be, for example, a touch screen liquid crystal display (LCD), which enables a user to interact with a user interface of the computer terminal 100 (or mobile device).
[0258] Fig.10 The hardware structure block diagram shown can be used not only as an exemplary block diagram of the above-mentioned computer terminal 100 (or mobile device), but also as an exemplary block diagram of the above-mentioned server. In an optional embodiment, Fig.10 The block diagram shows the use of the above Fig.10 The computer terminal 100 (or mobile device) is shown as an embodiment of a computing node in the computing environment 1101 . Fig.11 A structural block diagram of a computing environment is shown, such as Fig.11 As shown, computing environment 1101 includes multiple computing nodes (such as servers) running on a distributed network (shown as 1110-1, 1110-2, ..., in the figure). The computing nodes all contain local processing and memory resources, and end users 1102 can remotely run applications or store data in computing environment 1101. Applications can be provided as multiple services 1120-1, 1120-2, 1120-3 and 1120-4 in computing environment 1101, representing services "A", "D", "E" and "H" respectively.
[0259] The end user 1102 can provide and access services through a web browser or other software application on the client, and in some embodiments, the end user 1102's provision and / or request can be provided to the entry gateway 1130. The entry gateway 1130 can include a corresponding agent to handle the provision and / or request for the service (one or more services provided in the computing environment 1101).
[0260] Services are provided or deployed based on various virtualization technologies supported by the computing environment 1101. In some embodiments, services can be provided based on virtual machine (VM)-based virtualization, container-based virtualization, and / or similar methods. Virtual machine-based virtualization can be to simulate a real computer by initializing a virtual machine, and execute programs and applications without directly contacting any actual hardware resources. While the virtual machine virtualizes the machine, according to container-based virtualization, a container can be started to virtualize the entire operating system (Operating System, referred to as OS) so that multiple workloads can run on a single operating system instance.
[0261] In an embodiment based on container virtualization, several containers of a service can be assembled into a Pod (e.g., a Kubernetes Pod). Fig.11 As shown, service 1120-2 can be equipped with one or more Pods 1140-1, 1140-2, ..., 1140-N (collectively referred to as Pods). Pods can include a proxy 1145 and one or more containers 1142-1, 1142-2, ..., 1142-M (collectively referred to as containers). One or more containers in the Pod process requests related to one or more corresponding functions of the service, and the proxy 1145 generally controls network functions related to the service, such as routing, load balancing, etc. Other services can also be equipped with similar Pods.
[0262] During operation, executing a user request from the end user 1102 may require invoking one or more services in the computing environment 1101, and executing one or more functions of a service may require invoking one or more functions of another service. Fig.11 As shown, service "A" 1120-1 receives a user request from end user 1102 from ingress gateway 1130, service "A" 1120-1 may call service "D" 1120-2, and service "D" 1120-2 may request service "E" 1120-3 to perform one or more functions.
[0263] The computing environment described above can be a cloud computing environment, where the allocation of resources is managed by the cloud service provider, allowing the development of functions without considering the implementation, adjustment or expansion of servers. The computing environment allows developers to execute code in response to events without building or maintaining complex infrastructure. Services can be divided into a set of functions that can be automatically and independently scaled, rather than expanding a single hardware device to handle potential loads.
[0264] In another optional embodiment, Fig.12 The block diagram shows the use of the above Fig.10The computer terminal 100 (or mobile device) is shown as an embodiment of a service grid. Fig.12 A structural diagram of a service grid is shown, Fig.12 As shown, the service grid 1200 is mainly used to facilitate secure and reliable communication between multiple microservices. Microservices refer to decomposing an application into multiple smaller services or instances, and distributing them on different clusters / machines to run.
[0265] like Fig.12 As shown, the microservice may include an application service instance 1203A and an application service instance 1205B, which form a functional application layer of the service grid 1200. In one embodiment, the application service instance 1203A runs in a machine / workload container group 1214 (Pod) in the form of a container / process 1208, and the application service instance 1205B runs in a machine / workload container group 1216 (Pod) in the form of a container / process 1210.
[0266] In one implementation, the application service instance 1203A may be a product query service, and the application service instance B may be a product ordering service.
[0267] like Fig.12 As shown, the application service instance 1203A and the grid proxy (sidecar) 1203 coexist in the machine workload container group 1214, and the application service instance 1205B and the grid proxy 1205 coexist in the machine workload container 1216. The grid proxy 1203 and the grid proxy 1205 form the data plane layer (dataplane) of the service grid 1200. Among them, the grid proxy 1203 and the grid proxy 1205 run in the form of container / process 1204 and container / process 1206 respectively, and can receive request 1212 for commodity query service, and the grid proxy 1203 and the application service instance 1203A can communicate bidirectionally, and the grid proxy 1205 and the application service instance 1205B can communicate bidirectionally. In addition, the grid proxy 1203 and the grid proxy 1205 can also communicate bidirectionally.
[0268] In one embodiment, the traffic of application service instance 1203A is routed to a suitable destination through grid proxy 1203, and the network traffic of application service instance 1205B is routed to a suitable destination through grid proxy 1205. It should be noted that the network traffic mentioned here includes but is not limited to Hyper Text Transfer Protocol (HTTP), Representational State Transfer (REST), high-performance, general open source framework (google Remote Procedure Call, gRPC), open source in-memory data structure storage system (Redis), etc.
[0269] In one embodiment, the function of extending the data plane layer can be implemented by writing a custom filter for the proxy (Envoy) in the service grid 1200. The service grid proxy configuration can be to enable the service grid to correctly proxy service traffic and achieve service intercommunication and service governance. The grid proxy 1203 and the grid proxy 1205 can be configured to perform at least one of the following functions: service discovery, health checking, routing, load balancing, authentication and authorization, and observability.
[0270] like Fig.12 As shown, the service grid 1200 also includes a control plane layer. The control plane layer can be a group of services running in a dedicated namespace, and these services are hosted by a hosting control plane component 1201 in a machine / workload container group (machine / Pod) 1202. Fig.12 As shown, the managed control plane component 1201 performs bidirectional communication with the grid agent 1203 and the grid agent 1205. The managed control plane component 1201 is configured to perform some control management functions. For example, the managed control plane component 1201 receives telemetry data transmitted by the grid agent 1203 and the grid agent 1205, and can further aggregate the telemetry data. For these services, the managed control plane component 1201 can also provide a user-oriented application programming interface (Application Programming Interface, API) to more easily manipulate network behavior and provide configuration data to the grid agent 1203 and the grid agent 1205.
[0271] According to an embodiment of the present application, there is also provided a method for implementing the above Figure 2 The human body size measuring method shown is a human body size measuring device.
[0272] Fig.13 is a schematic diagram of a human body size measuring device according to an embodiment of the present application, such as Fig.13 As shown, the human body size measurement device 1300 may include: a first recognition unit 1302 , a first reconstruction unit 1304 , a first updating unit 1306 , a first measurement unit 1308 and a first determination unit 1310 .
[0273] The first recognition unit 1302 is configured to recognize at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured.
[0274] The first reconstruction unit 1304 is used to reconstruct the human body to be measured in the processed image to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space.
[0275] The first updating unit 1306 is configured to update the initial human body model to a target human body model of the human body to be measured by using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0276] The first measuring unit 1308 is used to measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured.
[0277] The first determining unit 1310 is used to determine the size data of the part model as the predicted size data of the corresponding part.
[0278] It should be noted that the first identification unit 1302, the first reconstruction unit 1304, the first updating unit 1306, the first measurement unit 1308 and the first determination unit 1310 correspond to steps S202 to S210 in Embodiment 2, and the five units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in Embodiment 2. It should be noted that the above units may be hardware components or software components stored in a memory (e.g., memory 1004) and processed by one or more processors (e.g., processors 1002a, 1002b..., 1002n), and the above units may also be part of the device and run in the computer terminal 100 provided in Embodiment 2.
[0279] According to an embodiment of the present application, there is also provided a method for implementing the above Figure 3 The biological object size measuring method and the biological object size measuring device are shown.
[0280] Fig.14 is a schematic diagram of a biological object size measurement device according to an embodiment of the present application, such as Fig.14 As shown, the biological object dimension measurement device 1400 may include: a second recognition unit 1402 , a second reconstruction unit 1404 , a second updating unit 1406 , a second measurement unit 1408 and a second determination unit 1410 .
[0281] The second recognition unit 1402 is used to recognize at least one image to be processed, wherein the image content of the image to be processed includes a biological object to be detected.
[0282] The second reconstruction unit 1404 is used to reconstruct the biological object to be measured in the processed image to obtain an initial object model and offset information of the biological object to be measured, wherein the initial object model is used to simulate the geometric contour of the biological object to be measured, and the offset information is used to represent the offset of the initial object model in the texture space.
[0283] The second updating unit 1406 is used to update the initial object model to a target object model of the biological object to be measured by using the offset information, wherein the texture information amount of the target object model is greater than the texture information amount of the initial object model.
[0284] The second measuring unit 1408 is used to measure at least one part model in the target object model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the biological object to be measured.
[0285] The second determining unit 1410 is used to determine the size data of the part model as the predicted size data of the corresponding part.
[0286] It should be noted that the second identification unit 1402, the second reconstruction unit 1404, the second updating unit 1406, the second measurement unit 1408 and the second determination unit 1410 correspond to steps S302 to S310 in Embodiment 2, and the five units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in Embodiment 2. It should be noted that the above units may be hardware components or software components stored in a memory (e.g., memory 1004) and processed by one or more processors (e.g., processors 1002a, 1002b..., 1002n), and the above units may also be part of the device and run in the computer terminal 100 provided in Embodiment 2.
[0287] Fig.15is a schematic diagram of an information recommendation device according to an embodiment of the present application, such as Fig.15 As shown, the information recommendation device 1500 may include: a third identification unit 1502 , a third reconstruction unit 1504 , a third updating unit 1506 , a third measurement unit 1508 , a third determination unit 1510 and a first recommendation unit 1512 .
[0288] The third recognition unit 1502 is used to recognize at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured.
[0289] The third reconstruction unit 1504 is used to reconstruct the human body to be measured in the processed image to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space.
[0290] The third updating unit 1506 is used to update the initial human body model to a target human body model of the human body to be measured by using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0291] The third measuring unit 1508 is used to measure at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured.
[0292] The third determining unit 1510 is used to determine the size data of the part model as the predicted size data of the corresponding part.
[0293] The first recommendation unit 1512 is used to recommend product attribute information matching the predicted size data, wherein the clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products are from a virtual clothing store deployed on the e-commerce platform.
[0294] It should be noted that the third identification unit 1502, the third reconstruction unit 1504, the third update unit 1506, the third measurement unit 1508, the third determination unit 1510 and the recommendation unit 1512 correspond to steps S402 to S412 in Embodiment 2, and the six units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in Embodiment 2. It should be noted that the above units may be hardware components or software components stored in a memory (e.g., memory 1004) and processed by one or more processors (e.g., processors 1002a, 1002b..., 1002n), and the above units may also be part of the device and run in the computer terminal 100 provided in Embodiment 2.
[0295] Fig.16 is a schematic diagram of another information recommendation device according to an embodiment of the present application, such as Fig.16 As shown, the information recommendation device 1600 may include: a fourth identification unit 1602 , a fourth reconstruction unit 1604 , a fourth updating unit 1606 , a fourth measurement unit 1608 , a fourth determination unit 1610 and a second recommendation unit 1612 .
[0296] The fourth recognition unit 1602 is configured to recognize at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured.
[0297] The fourth reconstruction unit 1604 is used to reconstruct the human body to be measured in the processed image to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space.
[0298] The fourth updating unit 1606 is used to update the initial human body model to a target human body model of the human body to be measured by using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0299] The fourth measuring unit 1608 is used to measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured.
[0300] The fourth determining unit 1610 is used to determine the size data of the part model as the predicted size data of the corresponding part.
[0301] The second recommendation unit 1612 is used to recommend product attribute information matching the predicted size data to the e-commerce platform, wherein the clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products are from a virtual clothing store.
[0302] It should be noted that the fourth identification unit 1602, the fourth reconstruction unit 1604, the fourth update unit 1606, the fourth measurement unit 1608, the fourth determination unit 1610 and the second recommendation unit 1612 correspond to steps S502 to S512 in Embodiment 2, and the six units are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above Embodiment 2. It should be noted that the above units can be hardware components or software components stored in a memory (e.g., memory 1004) and processed by one or more processors (e.g., processors 1002a, 1002b..., 1002n), and the above units can also be run in the computer terminal 100 provided in Embodiment 2 as part of the device.
[0303] Fig.17 is a schematic diagram of another human body size measuring device according to an embodiment of the present application, such as Fig.17 As shown, the human body size measurement device 1700 may include: a first response unit 1702 , a second response unit 1704 , a third response unit 1706 and a fourth response unit 1708 .
[0304] The first responding unit 1702 is used to respond to the image input operation on the operation interface and display at least one image to be processed on the operation interface, wherein the image content of the image to be processed includes a human body to be measured.
[0305] The second response unit 1704 is used to respond to the reconstruction operation on the operation interface, and display the initial human body model and offset information of the human body to be measured on the operation interface, wherein the initial human body model and the offset information are obtained by reconstructing the human body to be measured in the processed image, the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space.
[0306] The third response unit 1706 is used to respond to the update operation on the operation interface, and display the target human body model corresponding to the initial human body model on the operation interface, wherein the target human body model is obtained by updating the initial human body model using the offset information, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0307] The fourth response unit 1708 is used to respond to the size measurement operation performed on the operation interface, and display the predicted size data of at least one part of the human body to be measured on the operation interface, wherein the predicted size data of the part is determined based on the size data of the corresponding part model in the human body model, and the part model is used to simulate the geometric contour of the corresponding part.
[0308] It should be noted that the first response unit 1702, the second response unit 1704, the third response unit 1706 and the fourth response unit 1708 correspond to steps S602 to S608 in Example 2, and the four units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Example 2. It should be noted that the above-mentioned units can be hardware components or software components stored in a memory (e.g., memory 1004) and processed by one or more processors (e.g., processors 1002a, 1002b..., 1002n), and the above-mentioned units can also be run in the computer terminal 100 provided in Example 2 as part of the device.
[0309] Fig.18 is a schematic diagram of another human body size measuring device according to an embodiment of the present application, such as Fig.18 As shown, the human body dimension measuring device 1800 may include: a display unit 1802 , a fifth reconstruction unit 1804 , a fifth measurement unit 1806 and a fifth determination unit 1808 .
[0310] The display unit 1802 is used to display at least one image to be processed on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the image content of the image to be processed includes a human body to be measured.
[0311] The fifth reconstruction unit 1804 is used to drive the VR device or the AR device to reconstruct the human body to be measured in the processed image, obtain the initial human body model and offset information of the human body to be measured, and use the offset information to update the initial human body model to the target human body model of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model.
[0312] The fifth measuring unit 1806 is used to drive the VR device or the AR device to measure at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured.
[0313] The fifth determining unit 1808 is used to determine the size data of the part model as the predicted size data of the corresponding part, and display the predicted size data of the part on the presentation screen of the VR device or the AR device.
[0314] It should be noted that the above-mentioned display unit 1802, the fifth reconstruction unit 1804, the fifth measurement unit 1806 and the fifth determination unit 1808 correspond to steps S702 to S708 in Embodiment 2, and the four units and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned Embodiment 2. It should be noted that the above-mentioned units may be hardware components or software components stored in a memory (e.g., memory 1004) and processed by one or more processors (e.g., processors 1002a, 1002b..., 1002n), and the above-mentioned units may also be part of the device and may be run in the computer terminal 100 provided in Embodiment 2.
[0315] In the embodiment of the present application, when measuring the size data of a human body, at least one image to be processed can be identified. The human body to be measured in the identified image to be processed is reconstructed to obtain the initial human body model and offset information of the human body to be measured. The initial human body model is updated to the target human body model of the human body to be measured by using the offset information obtained, and at least one part model in the target human body model is measured to obtain the size data of the part model. The size data of the part model obtained can be determined as the predicted size data of the corresponding part. Since in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, thereby solving the technical problem of low efficiency of measuring the size information of the human body.
[0316] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.
[0317] The embodiment of the present application may provide an electronic device, which may be any electronic device in a group of electronic devices. Optionally, in this embodiment, the electronic device may also be replaced by a terminal device such as a mobile terminal.
[0318] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0319] In this embodiment, the computer terminal can execute the program code in the method.
[0320] Optionally, Fig.19 is a block diagram of an electronic device for a method for measuring human body size according to an embodiment of the present application. Fig.19 As shown, the electronic device 1900 may include: one or more (only one is shown in the figure) processors 1902, a memory 1904, a storage controller, and a peripheral interface, wherein the peripheral interface is connected to a radio frequency module, an audio module, and a display.
[0321] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the methods in the above embodiments. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 1900 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0322] The processor can call the information and application program stored in the memory to perform the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measuring at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; and determining the size data of the part model as the predicted size data of the corresponding part.
[0323] Optionally, the processor may also execute the program code of the following steps: calling the reconstruction model to reconstruct the human body to be measured in the processed image, and obtaining the initial human body model and offset information of the human body to be measured, wherein the reconstruction model is obtained by training human body model samples with different postures and / or different perspectives based on at least different human body samples, and the amount of data of human body model samples with different postures and / or different perspectives of different human body samples is greater than a data amount threshold.
[0324] Optionally, the processor may also execute the program code of the following steps: calling the first reconstruction module in the reconstruction model to create the target image features of the human body to be measured in the image to be processed as the initial object model; calling the second reconstruction module in the reconstruction model to create the target image features of the human body to be measured in the image to be processed as the offset information.
[0325] Optionally, the processor may also execute the program code of the following steps: using the regression processing module in the first reconstruction module to perform regression processing on the target image features in the processed image to obtain the geometric parameters of the human body to be measured; using the decoding module in the first reconstruction module to decode the geometric parameters to obtain an initial human body model.
[0326] Optionally, the processor may also execute the program code of the following steps: using the decoding module in the first reconstruction module to determine multiple vertices of the geometric contour of the human body to be measured based on geometric parameters; using the decoding module in the first reconstruction module to create the vertices of the geometric contour into a three-dimensional geometric mesh, wherein the initial human body model includes a three-dimensional geometric mesh.
[0327] Optionally, the processor may also execute the program code of the following steps: using the convolution processing module in the second reconstruction module to perform convolution processing on the target image features in the processed image to obtain a feature map, wherein the feature map is used to represent the shape of the human body to be measured; using the decoding module in the second reconstruction module to decode the feature map in the texture space to obtain offset information.
[0328] Optionally, the processor may also execute the following program code steps: using a decoding module in a second reconstruction module to decode a feature map in a texture space to obtain texture offset information, wherein the texture offset information is used to represent the offset of the texture coordinates of the initial human body model in the texture space; using a decoding module in the second reconstruction module to sample vertex offset information from the texture offset information, wherein the offset information includes vertex offset information, and the vertex offset information is used to represent the offset of the vertices of the geometric contour corresponding to the initial human body model in the texture space.
[0329] Optionally, the processor may also execute program codes of the following steps: using the vertex offset information to offset the vertices of the geometric outline corresponding to the initial human body model; and creating the target human body model using the offset vertices.
[0330] Optionally, the processor may also execute the program code of the following steps: using the feature extraction module in the reconstruction model to extract the initial image features of the human body to be measured from the image to be processed; using the feature connection module in the reconstruction model to connect multiple initial image features corresponding to multiple images to be processed to obtain target image features.
[0331] Optionally, the processor may also execute program codes of the following steps: determining at least one geometric element of a part model in a target human body model, wherein the geometric element is used to constitute a surface of the part model; calling a size measurement model to measure the geometric element of the part model to obtain size data of the part model, wherein the size measurement model is trained based on size data samples of human body samples in different postures and / or different viewing angles, and the data volume of the size data samples is greater than a data volume threshold.
[0332] Optionally, the processor may also execute the program code of the following steps: calling the forward propagation network in the size measurement model, measuring the geometric elements of the human body model, and obtaining the size data of the part model.
[0333] Optionally, the processor may also execute program codes of the following steps: determining a degree of loss of the predicted size data compared to the actual size data of the part; determining a gradient based on the loss and the geometric element, wherein the gradient is used to represent the degree of influence of the geometric element on the loss; propagating the gradient using a back propagation network in the size measurement model; and performing supervised training on the reconstruction model using the propagated gradient to obtain a trained reconstruction model.
[0334] Optionally, the processor may call the information and application program stored in the memory to perform the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes the biological object to be measured; reconstructing the biological object to be measured in the image to be processed to obtain an initial object model and offset information of the biological object to be measured, wherein the initial object model is used to simulate the geometric contour of the biological object to be measured, and the offset information is used to represent the offset of the initial object model in the texture space; using the offset information, updating the initial object model to a target object model of the biological object to be measured, wherein the texture information amount of the target object model is greater than the texture information amount of the initial object model; measuring at least one part model in the target object model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the biological object to be measured; and determining the size data of the part model as the predicted size data of the corresponding part.
[0335] Optionally, the processor may call information and application programs stored in the memory to perform the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the amount of texture information of the target human body model is greater than the amount of texture information of the initial human body model; measuring at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; determining the size data of the part model as predicted size data of the corresponding part; and recommending product attribute information matching the predicted size data, wherein the clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products come from a virtual clothing store deployed on an e-commerce platform.
[0336] Optionally, the processor can call the information and application stored in the memory to perform the following steps: identify at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstruct the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; update the initial human body model to a target human body model of the human body to be measured using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; determine the size data of the part model as the predicted size data of the corresponding part; recommend product attribute information matching the predicted size data to an e-commerce platform, wherein the clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products come from a virtual clothing store.
[0337] Optionally, the processor may call the information and application stored in the memory to perform the following steps: in response to an image input operation on the operation interface, displaying at least one image to be processed on the operation interface, wherein the image content of the image to be processed includes a human body to be measured; in response to a reconstruction operation on the operation interface, displaying an initial human body model and offset information of the human body to be measured on the operation interface, wherein the initial human body model and the offset information are obtained by reconstructing the human body to be measured in the image to be processed, the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; in response to an update operation on the operation interface, displaying a target human body model corresponding to the initial human body model on the operation interface, wherein the target human body model is obtained by updating the initial human body model using the offset information, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; in response to a size measurement operation on the operation interface, displaying predicted size data of at least one part of the human body to be measured on the operation interface, wherein the predicted size data of the part is determined based on the size data of the corresponding part model in the human body model, and the part model is used to simulate the geometric contour of the corresponding part.
[0338] Optionally, the processor may call the information and application stored in the memory to perform the following steps: display at least one image to be processed on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the image content of the image to be processed includes a human body to be measured; drive the VR device or the AR device to reconstruct the image to be processed to obtain an initial human body model and offset information of the human body to be measured, and use the offset information to update the initial human body model to a target human body model of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, the offset information is used to represent the offset of the initial human body model in the texture space, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; drive the VR device or the AR device to measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determine the size data of the part model as predicted size data of the corresponding part, and display the predicted size data of the part on the presentation screen of the VR device or the AR device.
[0339] According to an embodiment of the present application, a method for measuring the size of a human body is provided. When measuring the size data of a human body, at least one image to be processed can be identified. The human body to be measured in the identified image to be processed is reconstructed to obtain an initial human body model and offset information of the human body to be measured. Using the obtained offset information, the initial human body model is updated to a target human body model of the human body to be measured, and at least one part model in the target human body model is measured to obtain the size data of the part model. The size data of the part model obtained can be determined as the predicted size data of the corresponding part. Since, in the embodiment of the present application, the initial human body model is updated to the target human body model of the human body to be measured by using the offset information, and the size data of the part model measured from the target human body model is also determined as the predicted size data of the corresponding part, the present application can complete the measurement of the size data of the human body according to any image to be processed, avoiding over-reliance on human experience or over-reliance on the accuracy of the equipment when measuring the size data of the human body, thereby achieving the purpose of quickly completing the measurement of the size data of the human body, thereby achieving the technical effect of improving the efficiency of measuring the size information of the human body, and thus solving the technical problem of low efficiency of measuring the size information of the human body.
[0340] It can be understood by those skilled in the art that Fig.10 The structure shown is for illustration only, and the computer terminal 100 may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID for short), a PAD, or other terminal devices. Fig.10 The structure of the computer terminal 100 is not limited. For example, the computer terminal 100 may also include Fig.10 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig.10 Different configurations are shown.
[0341] Optionally, Fig. 20 is a structural block diagram of a computer terminal according to an embodiment of the present application, such as Fig. 20 As shown, the computer terminal 2000 may include: one or more (only one is shown in the figure) processors 2002, a memory 2004, a coupler 2006, a display 2008, a user interface, and a network interface (for example, an IEEE2002.11 network interface, an IEEE2002.16 network interface, and a 3GPP network interface).
[0342] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the routing information processing method and device in the virtual network in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the routing information processing method in the above-mentioned virtual network. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal 2000 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0343] The processor can call the information and application program stored in the memory through the transmission device to perform the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measuring at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; and determining the size data of the part model as the predicted size data of the corresponding part.
[0344] Optionally, the processor may also execute the program code of the following steps: calling the reconstruction model to reconstruct the human body to be measured in the processed image, and obtaining the initial human body model and offset information of the human body to be measured, wherein the reconstruction model is obtained by training human body model samples with different postures and / or different perspectives based on at least different human body samples, and the amount of data of human body model samples with different postures and / or different perspectives of different human body samples is greater than a data amount threshold.
[0345] Optionally, the processor may also execute the program code of the following steps: calling the first reconstruction module in the reconstruction model to create the target image features of the human body to be measured in the image to be processed as the initial object model; calling the second reconstruction module in the reconstruction model to create the target image features of the human body to be measured in the image to be processed as the offset information.
[0346] Optionally, the processor may also execute the program code of the following steps: using the regression processing module in the first reconstruction module to perform regression processing on the target image features in the processed image to obtain the geometric parameters of the human body to be measured; using the decoding module in the first reconstruction module to decode the geometric parameters to obtain an initial human body model.
[0347] Optionally, the processor may also execute the program code of the following steps: using the decoding module in the first reconstruction module to determine multiple vertices of the geometric contour of the human body to be measured based on geometric parameters; using the decoding module in the first reconstruction module to create the vertices of the geometric contour into a three-dimensional geometric mesh, wherein the initial human body model includes a three-dimensional geometric mesh.
[0348] Optionally, the processor may also execute the program code of the following steps: using the convolution processing module in the second reconstruction module to perform convolution processing on the target image features in the processed image to obtain a feature map, wherein the feature map is used to represent the shape of the human body to be measured; using the decoding module in the second reconstruction module to decode the feature map in the texture space to obtain offset information.
[0349] Optionally, the processor may also execute the following program code steps: using a decoding module in a second reconstruction module to decode a feature map in a texture space to obtain texture offset information, wherein the texture offset information is used to represent the offset of the texture coordinates of the initial human body model in the texture space; using a decoding module in the second reconstruction module to sample vertex offset information from the texture offset information, wherein the offset information includes vertex offset information, and the vertex offset information is used to represent the offset of the vertices of the geometric contour corresponding to the initial human body model in the texture space.
[0350] Optionally, the processor may also execute program codes of the following steps: using the vertex offset information to offset the vertices of the geometric outline corresponding to the initial human body model; and creating the target human body model using the offset vertices.
[0351] Optionally, the processor may also execute the program code of the following steps: using the feature extraction module in the reconstruction model to extract the initial image features of the human body to be measured from the image to be processed; using the feature connection module in the reconstruction model to connect multiple initial image features corresponding to multiple images to be processed to obtain target image features.
[0352] Optionally, the processor may also execute program codes of the following steps: determining at least one geometric element of a part model in a target human body model, wherein the geometric element is used to constitute a surface of the part model; calling a size measurement model to measure the geometric element of the part model to obtain size data of the part model, wherein the size measurement model is trained based on size data samples of human body samples in different postures and / or different viewing angles, and the data volume of the size data samples is greater than a data volume threshold.
[0353] Optionally, the processor may also execute the program code of the following steps: calling the forward propagation network in the size measurement model, measuring the geometric elements of the human body model, and obtaining the size data of the part model.
[0354] Optionally, the processor may also execute program codes of the following steps: determining a degree of loss of the predicted size data compared to the actual size data of the part; determining a gradient based on the loss and the geometric element, wherein the gradient is used to represent the degree of influence of the geometric element on the loss; propagating the gradient using a back propagation network in the size measurement model; and performing supervised training on the reconstruction model using the propagated gradient to obtain a trained reconstruction model.
[0355] Optionally, the processor may call the information and application program stored in the memory through the transmission device to perform the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes the biological object to be measured; reconstructing the biological object to be measured in the image to be processed to obtain an initial object model and offset information of the biological object to be measured, wherein the initial object model is used to simulate the geometric contour of the biological object to be measured, and the offset information is used to represent the offset of the initial object model in the texture space; using the offset information, updating the initial object model to a target object model of the biological object to be measured, wherein the texture information amount of the target object model is greater than the texture information amount of the initial object model; measuring at least one part model in the target object model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the biological object to be measured; and determining the size data of the part model as the predicted size data of the corresponding part.
[0356] Optionally, the processor can call the information and application stored in the memory through the transmission device to perform the following steps: identify at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstruct the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; update the initial human body model to a target human body model of the human body to be measured using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; determine the size data of the part model as the predicted size data of the corresponding part; recommend product attribute information matching the predicted size data, wherein the clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products come from a virtual clothing store deployed on an e-commerce platform.
[0357] Optionally, the processor can call the information and application stored in the memory through the transmission device to perform the following steps: identify at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstruct the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; update the initial human body model to a target human body model of the human body to be measured using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; determine the size data of the part model as the predicted size data of the corresponding part; recommend product attribute information matching the predicted size data to the e-commerce platform, wherein the clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products come from a virtual clothing store.
[0358] Optionally, the processor may call the information and application program stored in the memory through the transmission device to perform the following steps: in response to an image input operation on the operation interface, display at least one image to be processed on the operation interface, wherein the image content of the image to be processed includes a human body to be measured; in response to a reconstruction operation on the operation interface, display an initial human body model and offset information of the human body to be measured on the operation interface, wherein the initial human body model and the offset information are obtained by reconstructing the human body to be measured in the image to be processed, the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; in response to an update operation on the operation interface, display a target human body model corresponding to the initial human body model on the operation interface, wherein the target human body model is obtained by updating the initial human body model using the offset information, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; in response to a size measurement operation on the operation interface, display predicted size data of at least one part of the human body to be measured on the operation interface, wherein the predicted size data of the part is determined based on the size data of the corresponding part model in the human body model, and the part model is used to simulate the geometric contour of the corresponding part.
[0359] Optionally, the processor may call the information and application program stored in the memory through the transmission device to perform the following steps: display at least one image to be processed on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the image content of the image to be processed includes a human body to be measured; drive the VR device or the AR device to reconstruct the image to be processed to obtain an initial human body model and offset information of the human body to be measured, and use the offset information to update the initial human body model to a target human body model of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, the offset information is used to represent the offset of the initial human body model in the texture space, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; drive the VR device or the AR device to measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determine the size data of the part model as predicted size data of the corresponding part, and display the predicted size data of the part on the presentation screen of the VR device or the AR device.
[0360] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0361] The embodiment of the present application further provides a computer-readable storage medium. Optionally, in this embodiment, the computer-readable storage medium can be used to store the program code executed by the method provided in the above embodiment.
[0362] Optionally, in this embodiment, the above storage medium may be located in any electronic device in a group of electronic devices in a computer network, or in any mobile terminal in a group of mobile terminals.
[0363] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; measuring at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; and determining the size data of the part model as the predicted size data of the corresponding part.
[0364] Optionally, the computer-readable storage medium may also execute program code of the following steps: calling a reconstruction model to reconstruct the human body to be measured in the processed image, and obtaining an initial human body model and offset information of the human body to be measured, wherein the reconstruction model is obtained by training human body model samples based at least on different postures and / or different perspectives of different human body samples, and the amount of data of human body model samples with different postures and / or different perspectives of different human body samples is greater than a data amount threshold.
[0365] Optionally, the computer-readable storage medium may also execute program code for the following steps: calling a first reconstruction module in a reconstruction model to create target image features of a human body to be measured in an image to be processed as an initial object model; calling a second reconstruction module in the reconstruction model to create target image features of a human body to be measured in an image to be processed as offset information.
[0366] Optionally, the computer-readable storage medium can also execute the program code of the following steps: using the regression processing module in the first reconstruction module to perform regression processing on the target image features in the processed image to obtain the geometric parameters of the human body to be measured; using the decoding module in the first reconstruction module to decode the geometric parameters to obtain the initial human body model.
[0367] Optionally, the above-mentioned computer-readable storage medium can also execute the program code of the following steps: using the decoding module in the first reconstruction module to determine multiple vertices of the geometric contour of the human body to be measured based on geometric parameters; using the decoding module in the first reconstruction module to create the vertices of the geometric contour into a three-dimensional geometric mesh, wherein the initial human body model includes a three-dimensional geometric mesh.
[0368] Optionally, the computer-readable storage medium can also execute the following steps of program code: using the convolution processing module in the second reconstruction module to perform convolution processing on the target image features in the processed image to obtain a feature map, wherein the feature map is used to represent the shape of the human body to be measured; using the decoding module in the second reconstruction module to decode the feature map in the texture space to obtain offset information.
[0369] Optionally, the computer-readable storage medium can also execute the program code of the following steps: using the decoding module in the second reconstruction module to decode the feature map in the texture space to obtain texture offset information, wherein the texture offset information is used to represent the offset of the texture coordinates of the initial human body model in the texture space; using the decoding module in the second reconstruction module to sample vertex offset information from the texture offset information, wherein the offset information includes vertex offset information, and the vertex offset information is used to represent the offset of the vertices of the geometric contour corresponding to the initial human body model in the texture space.
[0370] Optionally, the computer-readable storage medium may also execute program code for the following steps: using vertex offset information to offset vertices of a geometric outline corresponding to the initial human body model; and creating a target human body model using the offset vertices.
[0371] Optionally, the computer-readable storage medium can also execute the program code of the following steps: using the feature extraction module in the reconstruction model to extract the initial image features of the human body to be measured from the image to be processed; using the feature connection module in the reconstruction model to connect multiple initial image features corresponding to multiple images to be processed to obtain target image features.
[0372] Optionally, the computer-readable storage medium may also execute program code for the following steps: determining at least one geometric element of a part model in a target human body model, wherein the geometric element is used to constitute a surface of the part model; calling a size measurement model to measure the geometric element of the part model to obtain size data of the part model, wherein the size measurement model is trained based on size data samples of human body samples in different postures and / or different viewing angles, and the data volume of the size data samples is greater than a data volume threshold.
[0373] Optionally, the computer-readable storage medium may also execute program code of the following steps: calling a forward propagation network in a size measurement model, measuring geometric elements of the human body model, and obtaining size data of the part model.
[0374] Optionally, the computer-readable storage medium may also execute program code for the following steps: determining a degree of loss of the predicted size data compared to the actual size data of the part; determining a gradient based on the loss and the geometric element, wherein the gradient is used to represent the degree of influence of the geometric element on the loss; propagating the gradient using a back propagation network in the size measurement model; and performing supervised training on the reconstruction model using the propagated gradient to obtain a trained reconstruction model.
[0375] As an optional example, a computer-readable storage medium is configured to store program codes for executing the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes a biological object to be measured; reconstructing the biological object to be measured in the image to be processed to obtain an initial object model and offset information of the biological object to be measured, wherein the initial object model is used to simulate a geometric contour of the biological object to be measured, and the offset information is used to represent an offset of the initial object model in a texture space; using the offset information, updating the initial object model to a target object model of the biological object to be measured, wherein the amount of texture information of the target object model is greater than the amount of texture information of the initial object model; measuring at least one part model in the target object model to obtain size data of the part model, wherein the part model is used to simulate a geometric contour of a corresponding part in the biological object to be measured; and determining the size data of the part model as predicted size data of the corresponding part.
[0376] As an optional example, a computer-readable storage medium is configured to store program codes for executing the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the amount of texture information of the target human body model is greater than the amount of texture information of the initial human body model; measuring at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determining the size data of the part model as predicted size data of the corresponding part; and recommending product attribute information matching the predicted size data, wherein clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products come from a virtual clothing store deployed on an e-commerce platform.
[0377] As an optional example, a computer-readable storage medium is configured to store program codes for executing the following steps: identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; reconstructing the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the amount of texture information of the target human body model is greater than the amount of texture information of the initial human body model; measuring at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determining the size data of the part model as predicted size data of the corresponding part; and recommending product attribute information matching the predicted size data to an e-commerce platform, wherein clothing products meeting the product attribute information are to be worn by the human body to be measured, and the clothing products come from a virtual clothing store.
[0378] As an optional example, the computer-readable storage medium is configured to store program codes for executing the following steps: in response to an image input operation on an operation interface, displaying at least one image to be processed on the operation interface, wherein the image content of the image to be processed includes a human body to be measured; in response to a reconstruction operation on the operation interface, displaying an initial human body model and offset information of the human body to be measured on the operation interface, wherein the initial human body model and the offset information are obtained by reconstructing the human body to be measured in the image to be processed, the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; in response to an update operation on the operation interface, displaying a target human body model corresponding to the initial human body model on the operation interface, wherein the target human body model is obtained by updating the initial human body model using the offset information, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; in response to a size measurement operation on the operation interface, displaying predicted size data of at least one part of the human body to be measured on the operation interface, wherein the predicted size data of the part is determined based on the size data of the corresponding part model in the human body model, and the part model is used to simulate the geometric contour of the corresponding part.
[0379] As an optional example, a computer-readable storage medium is configured to store program codes for executing the following steps: displaying at least one image to be processed on a presentation screen of a virtual reality VR device or an augmented reality AR device, wherein the image content of the image to be processed includes a human body to be measured; driving the VR device or the AR device to reconstruct the image to be processed to obtain an initial human body model and offset information of the human body to be measured, and using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, the offset information is used to represent the offset of the initial human body model in the texture space, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; driving the VR device or the AR device to measure at least one part model in the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part in the human body to be measured; determining the size data of the part model as predicted size data of the corresponding part, and displaying the predicted size data of the part on the presentation screen of the VR device or the AR device.
[0380] The embodiment of the present application further provides a computer program product. Optionally, in this embodiment, the computer program product may include computer instructions, and when the computer instructions are executed by a processor, the method provided by the embodiment is implemented.
[0381] The embodiment of the present application also provides a computer program product. Optionally, the computer program product may include a non-volatile computer-readable storage medium, which may be used to store a computer program, and when the computer program is executed by a processor, the method provided in the embodiment is implemented.
[0382] The embodiment of the present application further provides a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, the method provided in the embodiment is implemented.
[0383] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0384] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0385] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0386] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0387] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0388] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0389] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for measuring the size of a human body, characterized in that: include: Identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; Reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; Using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the amount of texture information of the target human body model is greater than the amount of texture information of the initial human body model; Measuring at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; The size data of the part model is determined as the corresponding predicted size data of the part.
2. The method according to claim 1, characterized in that Reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, including: The reconstruction model is called to reconstruct the human body to be measured in the image to be processed to obtain the initial human body model and the offset information of the human body to be measured, wherein the reconstruction model is trained based on at least human body model samples with different postures and / or different perspectives of different human body samples, and the data amount of human body model samples with different postures and / or different perspectives of different human body samples is greater than a data amount threshold.
3. The method according to claim 2, characterized in that Calling the reconstruction model to reconstruct the human body to be measured in the image to be processed to obtain the initial human body model and the offset information of the human body to be measured, including: Calling a first reconstruction module in the reconstruction model to create the initial human body model using the target image features of the human body to be measured in the image to be processed; The second reconstruction module in the reconstruction model is called to create the target image feature of the human body to be measured in the image to be processed as the offset information.
4. The method according to claim 3, characterized in that Calling the first reconstruction module in the reconstruction model to create the initial human body model from the target image features of the human body to be measured in the image to be processed, comprising: Using the regression processing module in the first reconstruction module, the target image features in the image to be processed are subjected to regression processing to obtain the geometric parameters of the human body to be measured; The geometric parameters are decoded using a decoding module in the first reconstruction module to obtain the initial human body model.
5. The method according to claim 4, characterized in that Decoding the geometric parameters using a decoding module in the first reconstruction module to obtain the initial human body model, including: Determine, by means of a decoding module in the first reconstruction module, a plurality of vertices of a geometric contour of the human body to be measured based on the geometric parameters; The vertices of the geometric contour are created into a three-dimensional geometric mesh by using a decoding module in the first reconstruction module, wherein the initial human body model includes the three-dimensional geometric mesh.
6. The method according to claim 3, characterized in that Calling a second reconstruction module in the reconstruction model to create the target image feature of the human body to be measured in the image to be processed as the offset information includes: Using the convolution processing module in the second reconstruction module, convolution processing is performed on the target image features in the image to be processed to obtain a feature map, wherein the feature map is used to represent the shape of the human body to be measured; The feature map is decoded in the texture space using a decoding module in the second reconstruction module to obtain the offset information.
7. The method according to claim 6, characterized in that Using the decoding module in the second reconstruction module, Decoding the feature map in the texture space to obtain the offset information includes: Using a decoding module in the second reconstruction module, the feature map is decoded in the texture space to obtain texture offset information, wherein the texture offset information is used to represent an offset of the texture coordinates of the initial human body model in the texture space; Using the decoding module in the second reconstruction module, vertex offset information is sampled from the texture offset information, wherein the offset information includes the vertex offset information, and the vertex offset information is used to represent the offset of the vertices of the geometric contour corresponding to the initial human body model in the texture space.
8. The method according to claim 7, characterized in that Using the offset information, updating the initial human body model to a target human body model of the human body to be measured includes: Using the vertex offset information, offsetting the vertices of the geometric contour corresponding to the initial human body model; The offset vertices are created as the target human body model.
9. The method according to claim 3, characterized in that: The method further comprises: Using the feature extraction module in the reconstruction model, extracting the initial image features of the human body to be measured from the image to be processed; The feature connection module in the reconstruction model is used to connect the multiple initial image features corresponding to the multiple images to be processed to obtain the target image features.
10. The method according to claim 2, characterized in that Measuring at least one part model of the target human body model to obtain size data of the part model includes: Determine at least one geometric element of the part model in the target human body model, wherein the geometric element is used to constitute a surface of the part model; A size measurement model is called to measure the geometric elements of the part model to obtain size data of the part model, wherein the size measurement model is trained based on size data samples of the human body samples in different postures and / or different viewing angles, and the data volume of the size data samples is greater than the data volume threshold.
11. The method according to claim 10, characterized in that Calling a size measurement model to measure the geometric elements of the part model to obtain size data of the part model includes: The forward propagation network in the size measurement model is called to measure the geometric elements of the human body model to obtain the size data of the part model.
12. The method according to claim 10, characterized in that The method further comprises: Determining a degree of loss of the predicted size data compared to actual size data of the part; Determining a gradient based on the loss degree and the geometric element, wherein the gradient is used to represent the degree of influence of the geometric element on the loss degree; Propagating the gradient using a back propagation network in the sizing model; The propagated gradient is used to perform supervised training on the reconstruction model to obtain the trained reconstruction model.
13. A method for recommending information, characterized in that: Applied to e-commerce platforms, including: Identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; Reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; Using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the amount of texture information of the target human body model is greater than the amount of texture information of the initial human body model; Measuring at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; Determining the size data of the part model as the corresponding predicted size data of the part; Product attribute information matching the predicted size data is recommended, wherein the clothing product satisfying the product attribute information is to be worn by the person to be measured, and the clothing product comes from a virtual clothing store deployed on the e-commerce platform.
14. A method for recommending information, characterized in that: Applied to a client, the client is used to deploy a virtual clothing store on an e-commerce platform, and the method includes: Identifying at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; Reconstructing the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; Using the offset information, updating the initial human body model to a target human body model of the human body to be measured, wherein the amount of texture information of the target human body model is greater than the amount of texture information of the initial human body model; Measuring at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; Determining the size data of the part model as the corresponding predicted size data of the part; Product attribute information matching the predicted size data is recommended to the e-commerce platform, wherein the clothing product satisfying the product attribute information is to be worn by the body to be measured, and the clothing product comes from the virtual clothing store.
15. A method for measuring the size of a human body, characterized in that: include: In response to an image input operation on the operation interface, at least one image to be processed is displayed on the operation interface, wherein the image content of the image to be processed includes a human body to be measured; In response to a reconstruction operation performed on the operation interface, an initial human body model and offset information of the human body to be measured are displayed on the operation interface, wherein the initial human body model and the offset information are obtained by reconstructing the image to be processed, the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; In response to an update operation on the operation interface, a target human body model corresponding to the initial human body model is displayed on the operation interface, wherein the target human body model is obtained by updating the initial human body model using the offset information, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; In response to a size measurement operation performed on the operation interface, predicted size data of at least one part of the human body to be measured is displayed on the operation interface, wherein the predicted size data of the part is determined based on size data of a corresponding part model in the target human body model, and the part model is used to simulate a geometric contour of the corresponding part.
16. A method for measuring the size of a human body, characterized in that: include: Displaying at least one image to be processed on a presentation screen of a virtual reality (VR) device or an augmented reality (AR) device, wherein the image content of the image to be processed includes a human body to be measured; The VR device or the AR device is driven to reconstruct the human body to be measured in the image to be processed, to obtain an initial human body model and offset information of the human body to be measured, and the initial human body model is updated to a target human body model of the human body to be measured by using the offset information, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, the offset information is used to represent the offset of the initial human body model in the texture space, and the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; Driving the VR device or the AR device to measure at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; The size data of the part model is determined as the corresponding predicted size data of the part, and the predicted size data of the part is displayed on a presentation screen of the VR device or the AR device.
17. A human body size measuring device, characterized in that: include: A first recognition unit is used to recognize at least one image to be processed, wherein the image content of the image to be processed includes a human body to be measured; A first reconstruction unit is used to reconstruct the human body to be measured in the image to be processed to obtain an initial human body model and offset information of the human body to be measured, wherein the initial human body model is used to simulate the geometric contour of the human body to be measured, and the offset information is used to represent the offset of the initial human body model in the texture space; A first updating unit, configured to update the initial human body model to a target human body model of the human body to be measured by using the offset information, wherein the texture information amount of the target human body model is greater than the texture information amount of the initial human body model; A first measuring unit is used to measure at least one part model of the target human body model to obtain size data of the part model, wherein the part model is used to simulate the geometric contour of the corresponding part of the human body to be measured; The first determining unit is used to determine the size data of the part model as the corresponding predicted size data of the part.
Citation Information
Patent Citations
Non-contact infant height measuring method, device and equipment and storage medium
CN117179744A
Methods and systems for automatic generation of massive training data sets from 3D models for training deep learning networks
US10489683B1
