Skip to content
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

[jsk_perception] Add human mesh recovery(estimate people 3d pose from 2d image) #2332

Merged
merged 9 commits into from Nov 1, 2018

Conversation

iory
Copy link
Member

@iory iory commented Sep 14, 2018

This PR is implementation of End-to-end Recovery of Human Shape and Pose (https://arxiv.org/abs/1712.06584).

This node estimates the 3d pose of human from 2d image.
Please also see document file here (https://github.com/iory/jsk_recognition/blob/bbf2b3504772b4c1524d1db9dd035fa4fe23c9b0/doc/jsk_perception/nodes/human_mesh_recovery.rst)

Following gif is example of estimated 3d poes and input images.

output

@YutoUchimi
Copy link
Contributor

Works well on my environment!
@iory Could you please refactor code for flake8+hacking or at least pep8?

$ flake8 node_scripts/human_mesh_recovery.py 
node_scripts/human_mesh_recovery.py:16:1: H306  imports not in alphabetical order (tf, cv_bridge)
node_scripts/human_mesh_recovery.py:19:1: H306  imports not in alphabetical order (rospy, jsk_topic_tools.connectionbasedtransport)
node_scripts/human_mesh_recovery.py:20:1: H306  imports not in alphabetical order (jsk_topic_tools.connectionbasedtransport, geometry_msgs.msg.pose)
node_scripts/human_mesh_recovery.py:21:1: H306  imports not in alphabetical order (geometry_msgs.msg.pose, geometry_msgs.msg.point)
node_scripts/human_mesh_recovery.py:28:1: H306  imports not in alphabetical order (hmr.smpl.smpl, hmr.net.encoderfc3dropout)
node_scripts/human_mesh_recovery.py:113:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:114:80: E501 line too long (80 > 79 characters)
node_scripts/human_mesh_recovery.py:115:80: E501 line too long (82 > 79 characters)
node_scripts/human_mesh_recovery.py:116:80: E501 line too long (80 > 79 characters)
node_scripts/human_mesh_recovery.py:117:80: E501 line too long (80 > 79 characters)
node_scripts/human_mesh_recovery.py:118:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:119:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:120:80: E501 line too long (80 > 79 characters)
node_scripts/human_mesh_recovery.py:121:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:122:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:123:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:124:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:125:80: E501 line too long (82 > 79 characters)
node_scripts/human_mesh_recovery.py:126:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:127:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:128:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:129:80: E501 line too long (88 > 79 characters)
node_scripts/human_mesh_recovery.py:146:80: E501 line too long (85 > 79 characters)
node_scripts/human_mesh_recovery.py:170:80: E501 line too long (87 > 79 characters)
node_scripts/human_mesh_recovery.py:250:80: E501 line too long (81 > 79 characters)
node_scripts/human_mesh_recovery.py:256:80: E501 line too long (102 > 79 characters)
node_scripts/human_mesh_recovery.py:264:80: E501 line too long (102 > 79 characters)

@k-okada
Copy link
Member

k-okada commented Oct 30, 2018 via email

@iory
Copy link
Member Author

iory commented Oct 30, 2018

@YutoUchimi
Thanks for your review! I refactored this PR's code.

@YutoUchimi @k-okada
Also I agree with

if you care about style, please add them within cmake/travis

style test on travis.

@k-okada
Copy link
Member

k-okada commented Oct 30, 2018 via email

@YutoUchimi
Copy link
Contributor

Hmm... I wouldn't fix all existing codes, either.

Anyway, @iory thanks for updating!

@iory iory mentioned this pull request Oct 30, 2018
@k-okada k-okada merged commit 02983d3 into jsk-ros-pkg:master Nov 1, 2018
@iory iory deleted the human-mesh-recovery branch April 10, 2022 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants