Patent attributes
A knowledge base (KB) is generated and used to classify images. The knowledge base includes a number subcategories of a specified category. Instead of obtaining images just based on a category name, structured and unstructured data sources are used to identify subcategories of the category. Subcategories that are determined to not be relevant to the category may be removed. The remaining data may be used to generate the KB. After identifying the relevant subcategories, representative images are obtained from one or more image sources based on the subcategories identified by the KB. The obtained images and the KB are then used to train an image classifier, such as a neural network or some other machine learning mechanism. After training, the neural network might, for example, classify an object within an image of a car, as a car, but also as a particular brand and model type.