Mast is the entire model, It has sub meshes as can been seen from the figure, like eyes, clothes, but belonging to the same human model. I need to get the mesh of all of that together, so as to draw a 2d bounding box around the object on rendered image (like in this link 2d-bounding box on images)
My object is a human model with armature , imported. I am trying to get 2D bounding box using the code here . In this only object meshes can be passed? How can I pass the complete model to this?
when I pass armature object, this gives error : Object does not have geometry data in the line
me = me_ob.to_mesh(scene, True, 'PREVIEW')
Is there any other way to do it? Could some one please help?