Recognition of objects for industrial automation