I did a project of object detection in which there was a single object in the whole image. My CNN network was taking an image and was outputting two things one is the class