I am generating images from blender and also saving obj.location and obj.rotation_euler. After this, I want to plot the mesh of the object on the image generated based on the objects pose that I have saved. something like this
But I am not able to make sense of obj.location and obj.rotation_euler
x,y,z = 2.3005263805389404, 3.887678861618042, 0.505042314529419
3d rotation = -0.012391275726258755, -0.02587204799056053, 1.8222243785858154
which are plotting my object mesh outside the image. I noted down my blender camera position as
bpy.data.objects["Camera"].location = <Vector (11.5000, -10.0000, 8.0000)>
bpy.data.objects["Camera"].rotation_euler = <Euler (x=1.1093, y=0.0108, z=0.8149), order='XYZ'>
I am not sure how to proceed further.
obj.matrix_world @ v.co
$\endgroup$