Classification and detection in computer vision