jiahaoLjh / PlaneSweepPose

Code for "Multi-View Multi-Person 3D Pose Estimation with Plane Sweep Stereo"
MIT License
94 stars 7 forks source link

Will you release a demo code that helps in visualizing the 3D human pose estimation? #13

Open IncludeHappy opened 2 years ago

IncludeHappy commented 2 years ago

Hi, How do I get the projection of the estimated 3D pose in each camera view (like in Figure 5). Can you please post the code for this?Hope for your help.

jiahaoLjh commented 2 years ago

Hi, You may refer to the code in the pull request by visonpon here: https://github.com/jiahaoLjh/PlaneSweepPose/pull/6#issue-963166953

IncludeHappy commented 2 years ago

Very grateful for your help!

IncludeHappy commented 2 years ago

你好,我尝试将116行的‘i1 = kps_lines[p][1]’中的‘i1’更改为‘i2’但是后面又出现了‘ValueError: only one element tensors can be converted to Python scalars’的error,请问您最终将错误解决了吗,数据可视化是否成功?

At 2022-04-19 16:19:56, "Shariy" @.***> wrote:

Hi, When validate.py is changed and executed for 3D visualization, the following error occurs.

"validate.py line 117, name 'i2' is not defined

How can this error be resolved?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shariy commented 2 years ago

As a result I couldn't find the cause of the 'i2' is not defined error. I haven't done any visualizations using that code.

It was confirmed that the skeleton data is stored in 'final_pose3d_pool = []' in the lib/dataset/campus.py (line 319) code.

I visualized the skeleton data by modifying the def evaluate() code in this campus.py.

-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-06-01 (수) 17:27:45 (GMT+09:00) Subject: Re: [jiahaoLjh/PlaneSweepPose] Will you release a demo code that helps in visualizing the 3D human pose estimation? (Issue #13)

你好,我尝试将116行的‘i1 = kps_lines[p][1]’中的‘i1’更改为‘i2’但是后面又出现了‘ValueError: only one element tensors can be converted to Python scalars’的error,请问您最终将错误解决了吗,数据可视化是否成功?

At 2022-04-19 16:19:56, "Shariy" @.***> wrote:

Hi, When validate.py is changed and executed for 3D visualization, the following error occurs.

"validate.py line 117, name 'i2' is not defined

How can this error be resolved?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

IncludeHappy commented 2 years ago

非常感谢您的回复,如果可以的话,能否参考您修改后的完整代码(campus.py),我刚刚接触计算机视觉和python,想做为参考学习的资料。如果可以的话,不胜感激!

At 2022-06-07 08:28:16, "Shariy" @.***> wrote:

As a result I couldn't find the cause of the 'i2' is not defined error. I haven't done any visualizations using that code.

It was confirmed that the skeleton data is stored in 'final_pose3d_pool = []' in the lib/dataset/campus.py (line 319) code.

I visualized the skeleton data by modifying the def evaluate() code in this campus.py.

-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-06-01 (수) 17:27:45 (GMT+09:00) Subject: Re: [jiahaoLjh/PlaneSweepPose] Will you release a demo code that helps in visualizing the 3D human pose estimation? (Issue #13)

你好,我尝试将116行的‘i1 = kps_lines[p][1]’中的‘i1’更改为‘i2’但是后面又出现了‘ValueError: only one element tensors can be converted to Python scalars’的error,请问您最终将错误解决了吗,数据可视化是否成功?

At 2022-04-19 16:19:56, "Shariy" @.***> wrote:

Hi, When validate.py is changed and executed for 3D visualization, the following error occurs.

"validate.py line 117, name 'i2' is not defined

How can this error be resolved?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shariy commented 2 years ago

A part of the "def evaluate()" function of campus.py was imported into the validate.py code and worked. This code has been modified according to the environment in which I am testing, and it is still in the process of being modified, so I don't think it will be of much help.

If you simply want 3D visualization of the campus dataset, Please try to visualize the 'final_pose3d_pool = []' list data of the campus.py file using open3d.

  1. Import open3d into campus.py file
  2. Visualizing final_pose3d_pool data using open3d library

-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-06-07 (화) 10:10:01 (GMT+09:00) Subject: Re: [jiahaoLjh/PlaneSweepPose] Will you release a demo code that helps in visualizing the 3D human pose estimation? (Issue #13)

非常感谢您的回复,如果可以的话,能否参考您修改后的完整代码(campus.py),我刚刚接触计算机视觉和python,想做为参考学习的资料。如果可以的话,不胜感激!

At 2022-06-07 08:28:16, "Shariy" @.***> wrote:

As a result I couldn't find the cause of the 'i2' is not defined error. I haven't done any visualizations using that code.

It was confirmed that the skeleton data is stored in 'final_pose3d_pool = []' in the lib/dataset/campus.py (line 319) code.

I visualized the skeleton data by modifying the def evaluate() code in this campus.py.

-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-06-01 (수) 17:27:45 (GMT+09:00) Subject: Re: [jiahaoLjh/PlaneSweepPose] Will you release a demo code that helps in visualizing the 3D human pose estimation? (Issue #13)

你好,我尝试将116行的‘i1 = kps_lines[p][1]’中的‘i1’更改为‘i2’但是后面又出现了‘ValueError: only one element tensors can be converted to Python scalars’的error,请问您最终将错误解决了吗,数据可视化是否成功?

At 2022-04-19 16:19:56, "Shariy" @.***> wrote:

Hi, When validate.py is changed and executed for 3D visualization, the following error occurs.

"validate.py line 117, name 'i2' is not defined

How can this error be resolved?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

IncludeHappy commented 2 years ago

感谢您的帮助!

---- Replied Message ---- | From | @.> | | Date | 06/07/2022 10:28 | | To | @.> | | Cc | @.**@.> | | Subject | Re: [jiahaoLjh/PlaneSweepPose] Will you release a demo code that helps in visualizing the 3D human pose estimation? (Issue #13) |

A part of the "def evaluate()" function of campus.py was imported into the validate.py code and worked. This code has been modified according to the environment in which I am testing, and it is still in the process of being modified, so I don't think it will be of much help.

If you simply want 3D visualization of the campus dataset, Please try to visualize the 'final_pose3d_pool = []' list data of the campus.py file using open3d.

  1. Import open3d into campus.py file
  2. Visualizing final_pose3d_pool data using open3d library

-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-06-07 (화) 10:10:01 (GMT+09:00) Subject: Re: [jiahaoLjh/PlaneSweepPose] Will you release a demo code that helps in visualizing the 3D human pose estimation? (Issue #13)

非常感谢您的回复,如果可以的话,能否参考您修改后的完整代码(campus.py),我刚刚接触计算机视觉和python,想做为参考学习的资料。如果可以的话,不胜感激!

At 2022-06-07 08:28:16, "Shariy" @.***> wrote:

As a result I couldn't find the cause of the 'i2' is not defined error. I haven't done any visualizations using that code.

It was confirmed that the skeleton data is stored in 'final_pose3d_pool = []' in the lib/dataset/campus.py (line 319) code.

I visualized the skeleton data by modifying the def evaluate() code in this campus.py.

-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-06-01 (수) 17:27:45 (GMT+09:00) Subject: Re: [jiahaoLjh/PlaneSweepPose] Will you release a demo code that helps in visualizing the 3D human pose estimation? (Issue #13)

你好,我尝试将116行的‘i1 = kps_lines[p][1]’中的‘i1’更改为‘i2’但是后面又出现了‘ValueError: only one element tensors can be converted to Python scalars’的error,请问您最终将错误解决了吗,数据可视化是否成功?

At 2022-04-19 16:19:56, "Shariy" @.***> wrote:

Hi, When validate.py is changed and executed for 3D visualization, the following error occurs.

"validate.py line 117, name 'i2' is not defined

How can this error be resolved?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>