Patent Document ID: 9176989
Application ID: 14486913
Patent Status: 1

Claim One:
1. A method comprising: determining, using one or more processors, an image quality score associated with an image, including: determining a foreground and a background in the image, comprising: determining an outer frame zone of the image, wherein the outer frame zone is determined using a preset value from edges of the image; clustering pixels in the outer frame zone to obtain a plurality of color zones, wherein each color zone corresponds to a color type; determining seed zones; expanding the seed zones to obtain the background in the image; and determining the foreground; calculating a set of one or more characteristic parameters of the image based on the foreground and the background, wherein the characteristic parameters comprise a foreground-background contrast, and wherein the foreground-background contrast is determined by: determining foreground color zones of the foreground and calculating an area ratio between an area of a foreground color zone and an area of the foreground; determining background color zones and calculating an area ratio between an area of a background color zone and the area of the foreground; calculating a Euclidean color-based distance between the foreground color zone and the background color zone; and determining the foreground-background contrast based at least in part on the Euclidean color-based distance and the area ratios; and calculating the image quality score based at least in part on the set of characteristic parameters, wherein calculating the image quality score comprises using an image quality computation model that has been pre-trained; and in response to a search query, generating a set of search results that includes a set of images, wherein inclusion of the images or ranking of the search results is based at least in part on image quality scores associated with the set of images.