Recognizing partially visible objects