Detecting and recognizing objects from 3D meshes