1. A computer-implemented method for processing an image, the method comprising: creating a first bounding box around a first region of interest in an image; creating a second bounding box around a second region of interest in the image; creating a third bounding box around the first region of interest in the image; determining that the first bounding box and the third bounding box meet a variance threshold; determining that the second bounding box does not meet the variance threshold; determining the first bounding box and the third bounding box overlap; based on the determination that the first bounding box and the third bounding box overlap, merging the first bounding box and the third bounding box into a single fourth bounding box; extracting a sub-image corresponding to the fourth bounding box; querying a remote image-to-image search engine using the sub-image to find a plurality of matched images for the sub-image, the plurality of matched images comprising a first matched image, the first matched image comprising a second object that corresponds to a first object, the second object having a first identifier that provides a category for the second object; determining a first matching value based on matching the sub-image with the first matched image; determining that the first matching value is greater than a matching value threshold; based on determining that the first matching value is greater than the matching value threshold, labeling the sub-image with a sub-image tag that corresponds to an identity of the second object; and outputting the image with the labeled sub-image.