wg-perception / linemod

An OR pipeline based on LINE-MOD from OpenCV
47 stars 54 forks source link

Update index.rst #24

Open nlyubova opened 8 years ago

nlyubova commented 8 years ago

Add details about a mesh center

vrabaud commented 8 years ago

What does object center mean ? Center of gravity ? center of bounding box ? Couldn't you center your object in your code automatically ? In https://github.com/wg-perception/ork_tutorials/pull/10, the mesh is only centered in 2d with respect to a bounding rectangle. Does that suffice ?

nlyubova commented 8 years ago

In the code, each object is centered to its origin, so the origin is supposed to be near the object's center (however, in any case ICP would align it afterwards). Regarding meshes, all of meshes I use are centered to the centermass and it works quite well to align them during recognition , but you are right that better to center them based on the bounding box (and it is assume to be so when grasping an object)

based on that, no code changes are required, but each mesh should be centered to its bounding box. Do you agree?