Recognize shape, contour of object, extract position and orientation