A computer-implemented image detection method, comprising: obtaining a to-be-detected image; determining a light source region of the to-be-detected image and a foreground region of the to-be-detected image; and determining a blurring degree of the to-be-detected image based on the light source region and the foreground region, wherein the determining a blurring degree of the to-be-detected image based on the light source region and the foreground region comprises: determining the blurring degree of the to-be-detected image based on a quantity of all pixels in the light source region and a quantity of all pixels in the foreground region, wherein the determining the blurring degree of the to-be-detected image based on a quantity of all pixels in the light source region and a quantity of all pixels in the foreground region comprises: determining whether a function value of an increasing function of a ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than a predetermined threshold; and if the function value of the increasing function of the ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than the predetermined threshold, determining that the to-be-detected image is a blurred image. obtaining a to-be-detected image; determining a light source region of the to-be-detected image and a foreground region of the to-be-detected image; and determining a blurring degree of the to-be-detected image based on the light source region and the foreground region, wherein the determining a blurring degree of the to-be-detected image based on the light source region and the foreground region comprises: determining the blurring degree of the to-be-detected image based on a quantity of all pixels in the light source region and a quantity of all pixels in the foreground region, wherein the determining the blurring degree of the to-be-detected image based on a quantity of all pixels in the light source region and a quantity of all pixels in the foreground region comprises: determining whether a function value of an increasing function of a ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than a predetermined threshold; and if the function value of the increasing function of the ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than the predetermined threshold, determining that the to-be-detected image is a blurred image. determining the blurring degree of the to-be-detected image based on a quantity of all pixels in the light source region and a quantity of all pixels in the foreground region, wherein the determining the blurring degree of the to-be-detected image based on a quantity of all pixels in the light source region and a quantity of all pixels in the foreground region comprises: determining whether a function value of an increasing function of a ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than a predetermined threshold; and if the function value of the increasing function of the ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than the predetermined threshold, determining that the to-be-detected image is a blurred image. determining whether a function value of an increasing function of a ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than a predetermined threshold; and if the function value of the increasing function of the ratio of the quantity of all pixels in the light source region to the quantity of all pixels in the foreground region is greater than the predetermined threshold, determining that the to-be-detected image is a blurred image.