1. An image recognition device, comprising: input means for inputting an image; pattern extraction means for extracting a first group of first patterns and a second group of second patterns from said input image, each of said first patterns and said second patterns consisting of a plurality of points; first feature extraction means for extracting, with respect to each point on each second pattern included in said second group, a corresponding first feature indicating the number of points of at least one first pattern included in said first group which are positioned in a specified range of direction, said specified range of direction being one of a plurality of ranges of direction, and wherein said corresponding first features are extracted for each of said plurality of ranges of direction; second feature extraction means, including summing means, for extracting second features, wherein each second feature is obtained by way of said summing means summing up each of said first features extracted in relation to a corresponding one of said plurality of ranges of direction for all points of said second patterns included in the second group; and recognition means for recognizing said input image based on said second features.