-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not accurate measurements #24
Comments
tried the following also
|
Hi @AndreAhmed , Could you also provide the results for the updated height? Are the measurements now more accurate? Note that the results you get from a single image might not necessarily reflect your actual body shape, especially with methods that are not state-of-the-art, such as "vanilla" Smplify-X. You have correctly identified the problem of scale ambiguity from a single image, hence, the inaccurate body height estimation. The purpose of this repository is that, once you have an SMPL(-X) mesh, you can extract a set of body measurements. The purpose is not to serve as a tool for accurate body measurement estimation. In addition, the problem of single-view human shape estimation is still an active area of research. For better estimation results, try SHAPY: https://shapy.is.tue.mpg.de. |
@kristijanbartol |
All the measurements are extracted exactly as shown in the Figure you attached. You might say their definition is "fixed" w.r.t. SMPL(-X) meshes, yes. If you specify a different height, the mesh is scaled and so are the corresponding body measurements. Maybe I misunderstood your question... |
@kristijanbartol I have tried to export the betas, but they are not reflecting the actual shape parameters. Is what I did wrong? I mean the exported body. So What I did is to export the json, and render the SMPLX in Unity3D, and attach the shape parameters, but the body is not exactly the same as the one you constructed for measurments, in terms of height, body size,..etc.
|
Hi @AndreAhmed
Measurements are defined in Lines 144 to 162 in bde9bb9
Are you using the same SMPL / SMPLX model in all cases? |
@DavidBoja Yes I'm using the same SMPL/SMPLX |
@DavidBoja The triangulated mesh has exact same shape parameters in terms of belly stomach, and other features. but using just the betas alone, they don't define well the exact smplx mesh if they are used alone. |
So you have an SMPL with its shape parameters. |
Well, then I'd presume that you are using different models; they should be equal if you are using the same model. Measurement points for lengths are basically the landmarks which are defined in Lines 158 to 198 in 22324d1
and take the |
Thanks for your contributions,
I have integrated your code, into https://github.com/vchoutas/smplify-x
I fitted an image then I get a 3D SMPLX Model, then I have used your code to calculate the measurments
The pose is little bit correct, however as first insight, my height is not 162.31, it's around 176.
And the following has been integrated into :
` measurer = MeasureBody(model_type)
measurer.from_verts(torch.tensor(vertices))
measurement_names = measurer.all_possible_measurements
measurer.measure(measurement_names)
measurer.label_measurements(STANDARD_LABELS)
in the following line :
https://github.com/vchoutas/smplify-x/blob/master/smplifyx/fit_single_frame.py#L508
The text was updated successfully, but these errors were encountered: