I have a vehicle model, the 3D bounding box of the vehicle model contains the 3D coordinates of each vertex. My question is would it possible to get the 3D bounding box coordinates, which is a 8 vertex vector [8,2] directly from python. With this bounding box coordinates, I want to do two things, firstly calculate the pose of the object, secondly find a way to calculate the image pixel coordinate corresponding to each 3D vertex.
I have found some related work, this Save the 2D bounding box of an object in rendered image to a text file shows how to get 2D bounding box coordinates around the image, however it is 2D bounding box. Furthermore, Display bounding box around objects can show us how to display the 3D bounding box around the object, it doesn't tell me how to get vertex in python.