1. A method for extracting one or more images from a storage medium, the method comprising: determining a semantic class from a query based on a natural language processing technique; checking an availability of a semantically related aesthetic model for the determined semantic class, wherein the semantically related aesthetic model corresponds to an aesthetic model that is configured to compute an aesthetic score for a first image that is associated with a predetermined semantic class, and wherein the semantically related aesthetic model is unable to compute aesthetic score for a second image that is associated with a semantic class other than the predetermined semantic class; selecting a first search model or a second search model based on the availability of the semantically related aesthetic model, wherein the first search model comprises a semantic model and the semantically related aesthetic model, wherein the second search model comprises the semantic model and a generic aesthetic model, wherein the first search model is selected when the semantically related aesthetic model is available for the determined semantic class, and wherein the second search model is selected when the semantically related aesthetic model is unavailable for the determined semantic class; computing a semantic score and an aesthetic score for each of the one or more images based on the selected search model; and ranking the one or more images based on the semantic score and the aesthetic score.