Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

twisted smpl occuring #204

Open
skcskc7 opened this issue Sep 23, 2022 · 4 comments
Open

twisted smpl occuring #204

skcskc7 opened this issue Sep 23, 2022 · 4 comments

Comments

@skcskc7
Copy link

skcskc7 commented Sep 23, 2022

hi

I have 30 cameras as input datasets and face twited smpl results in some frames.

Actually, I am using easymocap 0.1 version, and in your last issue, I confirmed that it was solved in 0.2 version.

Can you point me to the part of the code where the twisted smpl problem is resolved?

out.mp4
@chingswy
Copy link
Member

Hello, have you tried the latest version? We keep the same data structure. You can just pull and run it with the same dataset.

@qzane
Copy link

qzane commented Apr 10, 2023

Hello, have you tried the latest version? We keep the same data structure. You can just pull and run it with the same dataset.

I have the same issue with the newest code (apps/demo/mv1p.py, 4/10/2023, commit: 26d07c2), any update on this?

I guess this issue comes from that: when you take numerical average between two rotations (177 and -179 degree), you will get -1, while the correct answer should be 179. Here is a solution to this kind of problem: https://stackoverflow.com/a/30129248

Here is a fix. I'm testing the code and will submit a pull request if it solves the issue. Hopefully this will also fix issue #109 #110
Seems that only modifying the interp function doesn't fix the issue.

@chingswy
Copy link
Member

Run newest code as this.
We don't use interp now.

@qzane
Copy link

qzane commented Apr 11, 2023

Run newest code as this. We don't use interp now.

It's not working, this is what I got:
000038
Here is how I run the code, let me know if there is anything wrong I did:

  1. copy-paste the images folder, intri.yml and extri.yml from my old dataset
  2. run openpose: python3 apps/preprocess/extract_keypoints.py ${data} --mode openpose --openpose ${openpose} --hand --face
  3. run python3 apps/demo/mocap.py ${data} --work lightstage-dense-smpl --subs_vis 0 1 2 --ranges 0 800 1

I can share my dataset if that helps

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants