openxrlab / xrmocap

OpenXRLab Multi-view Motion Capture Toolbox and Benchmark
https://xrmocap.readthedocs.io/
Other
348 stars 42 forks source link

[Feature] Add smpl visualization and mask in smpl data #73

Closed LazyBusyYang closed 1 year ago

LazyBusyYang commented 1 year ago
  1. Fix lint error caused by isort.
  2. Clarify difference between param_dict and dict(smpl_data) by removing src_dict and add from_dict().
  3. Add mask in smpl_data. The person whose mask is zero will not be plotted.
  4. Fix wrong gender type when calling SMPLData.fromfile()
  5. Add smpl visualization and unit test, based on minimal_pytorch_rasterizer. Multi-person and multi-gender are supported.
  6. Update dockerfile and docker image, as well as install.md.
  7. Some designed features have not been enabled. They will not be OK until their requirements in XRPrimer is updated.
codecov-commenter commented 1 year ago

Codecov Report

Merging #73 (794c3cb) into main (faf2c00) will decrease coverage by 0.63%. The diff coverage is 29.62%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
- Coverage   62.04%   61.41%   -0.63%     
==========================================
  Files         178      180       +2     
  Lines       11199    11412     +213     
==========================================
+ Hits         6948     7009      +61     
- Misses       4251     4403     +152     
Flag Coverage Δ
unittests 61.41% <29.62%> (-0.63%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
xrmocap/core/visualization/visualize_smpl.py 13.11% <13.11%> (ø)
xrmocap/core/visualization/render/mpr_renderer.py 24.52% <24.52%> (ø)
xrmocap/data_structure/body_model/smpl_data.py 95.67% <77.77%> (-3.09%) :arrow_down:
xrmocap/data_structure/body_model/smplx_data.py 92.74% <100.00%> (+0.43%) :arrow_up:
xrmocap/data_structure/body_model/smplxd_data.py 90.56% <100.00%> (+1.43%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.