Detection and evaluation of grasping positions