1. A method for determining a class associated with an image, the method comprising: generating at least one image segment based on a segmentation of the image; determining a segmentation score for an image segment included in the at least one image segment based on a comparison of the image segment and a region of the image, the region of the image associated with the image segment; determining a confidence score for the image segment based on the segmentation score and a classification score, the classification score indicative of a similarity between the image segment and at least one class; determining a class associated with the image based on the confidence score; and outputting the class associated with the image.
10. The method of claim 1 , wherein the determining the class associated with the image further comprising determining the class associated with the image based on the confidence score by comparing the confidence score to a threshold value.