facebookresearch / xR-EgoPose

New egocentric synthetic dataset for egocentric 3D human pose estimation
Other
59 stars 12 forks source link

question about pts3d_fisheye #22

Closed vhehduatks closed 2 years ago

vhehduatks commented 2 years ago

i try to recovery 3d pose image by using "pts3d_fisheye" in "female_001_a_a_000001.json" and this is my code

temp_3d_coords=temp_json['pts3d_fisheye']
x=temp_3d_coords[0]
y=temp_3d_coords[1]
z=temp_3d_coords[2]
fig = plt.figure(figsize=(10,10))
ax = fig.add_subplot(111, projection='3d')
ax.scatter(x,y,z,marker='o',s=15)

for i,(x,y,z) in enumerate(zip(x,y,z)):
    ax.text(x,y,z,str(i))

ax.legend()
ax.set_xlabel('x')
ax.set_ylabel('y')
ax.set_zlabel('z')
plt.show()

i wondering why 3d figure not look like that compared to image and this image

DenisTome commented 2 years ago

The scale of the axes on your plot is not the same...

vhehduatks commented 2 years ago

image holy... thank you for answering the stupid question