You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on applying my generated 3D coordinate human joint key points to the SMPL model.
I am confused about how to: 1. adjust the model's pose
2. apply customized texture to the SMPL model.
The images below depict my generated key points. Currently using the modified demo.py, I am trying to turn 102 dimensions(34 joint key points) into 72 dimensions(24 joint key points). My goal is to generate the SMPL model to match the desired pose shown in Image 1.
I am now able to transform the body key points’ coordinates and apply them to the SMPL model as the result shown in Image 4. But as you can see, its posing looks really different from that shown in Image 1.
Image 1: Generated body key points
Image 2: The difference between SMPL and my original coordinates direction.
The handwritten joint numbers are the original key point numbers, shown in Image 3.
Image 3: the SMPL body joint with corresponding original key points.
Since the coordinates of (x, y, z) of my original key points are different from the SMPL coordinate system, I have to transform the body joint coordinates to the SMPL coordinates first. Below is the code snippet I wrote for the transformation:
Thank you for taking the time to read my question.
I appreciate your assistance and welcome any advice you may have. If there is an alternative approach to achieve this, I would greatly appreciate your insights and suggestions.
The text was updated successfully, but these errors were encountered:
Hi! For adjusting the pose, I would recommend you only choose some of the keypoints from your data format and link them with the SMPL keypoints instead of taking mean value of multiple keypoints.
For the custom texture, I think you may follow the original procedure of SMPL once you get the parameters.
I am currently working on applying my generated 3D coordinate human joint key points to the SMPL model.
I am confused about how to:
1. adjust the model's pose
2. apply customized texture to the SMPL model.
The images below depict my generated key points. Currently using the modified demo.py, I am trying to turn 102 dimensions(34 joint key points) into 72 dimensions(24 joint key points). My goal is to generate the SMPL model to match the desired pose shown in Image 1.
I am now able to transform the body key points’ coordinates and apply them to the SMPL model as the result shown in Image 4. But as you can see, its posing looks really different from that shown in Image 1.
Image 1: Generated body key points
![MOSA_coordainate](https://private-user-images.githubusercontent.com/7868828/280910296-de3e3933-9e76-4b35-abd2-a3d5cdb5481e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTM2MzIsIm5iZiI6MTczOTY5MzMzMiwicGF0aCI6Ii83ODY4ODI4LzI4MDkxMDI5Ni1kZTNlMzkzMy05ZTc2LTRiMzUtYWJkMi1hM2Q1Y2RiNTQ4MWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDgwODUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjBlOWQyZDU3OTFiMTdmYjJhMjZlYmM3YWJlZDljZTI3NmZlNDkxY2FiNjg4YjA5ODQxZjM0YmU2MTc2NmY2MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Sxd0Gi-hAuSkafE52M1fFVUHI7FexVPeIZ4jxa5KQtw)
Image 2: The difference between SMPL and my original coordinates direction.
![photo_2023-11-07_11-26-18](https://private-user-images.githubusercontent.com/7868828/280910584-9f9f5331-bb97-4550-8c7f-896236214872.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTM2MzIsIm5iZiI6MTczOTY5MzMzMiwicGF0aCI6Ii83ODY4ODI4LzI4MDkxMDU4NC05ZjlmNTMzMS1iYjk3LTQ1NTAtOGM3Zi04OTYyMzYyMTQ4NzIuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDgwODUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2M3ODQxMDFlNmJjMGVmYWZjYjI0YjIzODk3MTIxN2E1ZGMyYTEyNTU3MjA5MTEyZGNlNTk4MDg0ZTMzNjYxMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xg9sgSFg9mqp1eTUHP6LGfAMd8x33suA4Rikc5f-C0c)
The handwritten joint numbers are the original key point numbers, shown in Image 3.
Image 3: the SMPL body joint with corresponding original key points.
![對應joint](https://private-user-images.githubusercontent.com/7868828/280910664-bab7627b-cf15-456f-8d08-db3bf2eec301.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTM2MzIsIm5iZiI6MTczOTY5MzMzMiwicGF0aCI6Ii83ODY4ODI4LzI4MDkxMDY2NC1iYWI3NjI3Yi1jZjE1LTQ1NmYtOGQwOC1kYjNiZjJlZWMzMDEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDgwODUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDNjODc2ZDRjNjA2MzJkYmNjMzQzZGUyZTIzNjYzYjYxZWRiZDJkNDZlY2E1Y2QzMDUzNmI0NzFjMDIyMDIxYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.vFC_EHtGhWK5jy20fTQjG72TuAKjjCwtIKMHXo-0h74)
Since the coordinates of (x, y, z) of my original key points are different from the SMPL coordinate system, I have to transform the body joint coordinates to the SMPL coordinates first. Below is the code snippet I wrote for the transformation:
The key points' serial number of the 102-dimensional array comparison is shown in the table below:
Image 4 shows the pose after the transformation to the SMPL coordinates.
Image 4: The result of the transformation to the SMPL coordinates.
![SMPL_平視圖](https://private-user-images.githubusercontent.com/7868828/280911312-efeddd6b-716c-481e-89b8-bd57e15a564a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTM2MzIsIm5iZiI6MTczOTY5MzMzMiwicGF0aCI6Ii83ODY4ODI4LzI4MDkxMTMxMi1lZmVkZGQ2Yi03MTZjLTQ4MWUtODliOC1iZDU3ZTE1YTU2NGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDgwODUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2M2ZTEwMWQ5Y2U4NWUxOWI3N2RjMjE0MGEyODBlN2NmZGZiZGFjYzM5MTU4NDAzNDk2OGE2YzI4ZTliYTUyZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.cHW8pmcABjZMOc00afF6lFovureVkxh_Tk-_sPUzrx0)
![SMPL_上視圖](https://private-user-images.githubusercontent.com/7868828/280911330-0f36d7f1-c0de-4344-a954-21ad35b6b52b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTM2MzIsIm5iZiI6MTczOTY5MzMzMiwicGF0aCI6Ii83ODY4ODI4LzI4MDkxMTMzMC0wZjM2ZDdmMS1jMGRlLTQzNDQtYTk1NC0yMWFkMzViNmI1MmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDgwODUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGJiOGNmMzZiMzEyOTlkODYwNmQ0OWJkMTkxNGNiZDI3YTVjODgxNGQ3M2YxODAxMDk0ODdmYWFkYWQ0NDRhZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.RJXiHYCPsrynj5EBLQ66pTd5zPfe4C1t6mBQVFka1mI)
Here’s the key points' coordinate values for reconstructing this problem:
The original 34 joint key points value:
The pose tensor transforms to SMPL coordinate value:
Thank you for taking the time to read my question.
I appreciate your assistance and welcome any advice you may have. If there is an alternative approach to achieve this, I would greatly appreciate your insights and suggestions.
The text was updated successfully, but these errors were encountered: