Patent ID: 11907992
Assignee: SHOPIFY INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method, comprising:
identifying, using image analysis, two or more dominant colours of a product based on an image of the product, including:
selecting a portion of the image containing the product,
classifying each pixel within the portion of the image based on its colour values into a respective range within a set of ranges, each range corresponding to a colour, the set of ranges partitioning colour space based on a first resolution parameter, and
determining a count of pixels in each range and identifying the colours corresponding to the ranges with highest counts as the two or more dominant colours of the product;

causing graphical display of the two or more dominant colours on a user interface, and receiving input of a second resolution parameter different from the first resolution parameter;
based on the second resolution parameter, changing the size of the ranges and determining a second count of pixels in each range using the changed size of the ranges to change the identified two or more dominant colours corresponding to the ranges with the highest counts after the change in size;
causing graphical display of the changed two or more dominant colours;
receiving selection of at least one of the changed two or more dominant colours;
responsive to receiving the selection of the at least one of the changed two or more dominant colours, searching for products matching the at least one of the changed two or more dominant colours; and
providing one or more results of the searching, the one or more results including at least one product matching the at least one of the changed two or more dominant colours.