Patent Document ID: 9798949
Application ID: 14662896
Patent Flag: 1

Claim One:
1. A system, comprising: at least one processor; and memory storing instructions that, when executed by the at least one processor, cause the system to: obtain an image including a representation of an object, the object including an apparel item worn by a person, the image further including a region of a background color; determine a foreground region by locating a boundary around the representation of the object in the image, a portion of the image outside the bounding region having the background color; select a foreground swatch region from within the foreground region; locate, using a first object detection algorithm, a representation of a face in the image; determine a torso swatch region of the image based at least in part upon a location of the representation of the face in the image; determine, using a second object detection algorithm, an upper body region of the image; determine one or more skin regions in the image including pixels with color values corresponding to skin tones; determine an apparel swatch region by locating a subset of the pixels positioned with respect to the one or more skin regions; select at least one of the foreground swatch region, the torso swatch region, the upper body region, and the apparel swatch region; collate data for the selection of the at least one of the foreground swatch region, the torso swatch region, the upper body region, and the apparel swatch region to generate a distribution of probabilities corresponding to pixel locations in the image; determine, based at least in part upon the distribution of probabilities and the selection, a final swatch region corresponding to a subset of contiguous pixels in the image having at least a minimum probability level; and provide a swatch image, corresponding to the final swatch region, to a matching component capable of using the swatch image to perform a matching process against a set of candidate images.