摘要 |
<p>An image recognition device includes a processor, and a memory coupled to the processor, wherein the processor executes a process includes detecting a plurality of contour points arranged on a contour line of a given region in an image, detecting a first contour point and a second contour point, in the contour points, the first and second contour points corresponding to respective ends of a first shortcut line formed by connecting portions of the contour line across an external area of the given region, and determining, based on a length of the first shortcut line or a length of a first route that extends along the contour line between the first and second contour points, whether or not a portion surrounded by the first shortcut line and the first route, not contained in the given region, is a depressed portion.</p> |