A mechanism is provided in a data processing system for image anonymization. The mechanism identifies a plurality of items in an image and extracts properties of the plurality of items into one or more data structures. The mechanism queries an analytics tool about whether a combination of properties of the plurality of items identifies a person in the image. Responsive to determining a given combination of properties of the plurality of items identifies a person in the image, the mechanism modifies the plurality of items in the image to form an anonymized image and outputs the anonymized image.