1. A method for detecting a convex polygon image block, wherein the method comprises: acquiring an image collected by an image sensor; acquiring a corner set, wherein the corner set comprises a corner in the image, and the corner is an intersection point at which any two straight line sides that are not parallel to each other in the image intersect; and detecting a convex polygon image block from the image according to the corner set, wherein a shape of the convex polygon image block is a preset shape and a similarity between the convex polygon image block and a preset image block exceeds a preset first threshold.