-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Enhance] Improve control of 3D visualisation of pose lifter #1481
Conversation
Thanks for your contribution! |
I had thought |
Codecov Report
@@ Coverage Diff @@
## master #1481 +/- ##
=======================================
Coverage 84.47% 84.47%
=======================================
Files 236 236
Lines 20036 20036
Branches 3602 3602
=======================================
Hits 16925 16925
Misses 2231 2231
Partials 880 880
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Thanks for your contribution. I made minor modifications to the default value of the parameters. |
Okay, so if I understand your commit correctly, the default internal value of |
Yes,
Yes, that's correct. Although in our demos we always invoke the top-level visualization interfaces like BTW, sorry for the hasty merge of this PR. If you have any concerns, we can open a new PR to further polish it. |
No, I'm happy with the current merge, now that I have understood it. |
* Add some missing parameter documentation * Expose vis_height / axis_azimuth * Fix interhand axis_azimuth * keep original default behavior Co-authored-by: ly015 <liyining0712@gmail.com>
…lab#1481) * Add some missing parameter documentation * Expose vis_height / axis_azimuth * Fix interhand axis_azimuth * keep original default behavior Co-authored-by: ly015 <liyining0712@gmail.com>
…lab#1481) * Add some missing parameter documentation * Expose vis_height / axis_azimuth * Fix interhand axis_azimuth * keep original default behavior Co-authored-by: ly015 <liyining0712@gmail.com>
…lab#1481) * Add some missing parameter documentation * Expose vis_height / axis_azimuth * Fix interhand axis_azimuth * keep original default behavior Co-authored-by: ly015 <liyining0712@gmail.com>
Motivation
When visualising the 3D output poses coming from a pose lifter, it is currently not possible to control the visualisation height (pixels) and viewpoint angle, even though both are already implemented just under the hood, and would only need to be patched through. The former can be important for instance if a higher resolution output is desired, or as in my case, if you require it to have the exact same pixel height as the input image sequence (for post-processing reasons). I have also noticed that the default viewpoint of the 3D visualisation is quite frontal, so in many cases the output looks correct, but if you look at it from a significantly different azimuth you can quickly tell it's not actually correct at all. In order to be able to properly evaluate and understand the outputs of various pose lifter models it is crucial to be able to visualise it from different viewing angles (I always use two views and plot them side by side for optimal understanding). Hence, why exposing
axis_azimuth
is quite important.Modification
I added arguments to allow
vis_height
andaxis_azimuth
to be set when callingvis_3d_pose_result()
.I also added some missing parameter documentation that I noticed was missing.
BC-breaking
Nothing.
Use cases
See motivation.
Checklist
Before PR:
After PR: