主权项 |
1. An image recognition device for executing an image recognition process, comprising:
a processor; and a memory, wherein a program run by the processor executes the image recognition process, the image recognition process includes:
setting regions of interest in an image of one image plane;searching for a region including a recognition-targeted image;defining blocks each composed of pixels; andholding, in the memory, dictionary data including feature quantities respectively calculated from blocks forming a recognition-targeted region corresponding to the recognition-targeted region including the recognition-targeted image and composed of blocks, in the image recognition process, each region of interest is composed of blocks of which the number is the same as the number of blocks forming the recognition-targeted region, the processor calculates feature quantities for each block in the image plane, which make block-of-interest feature quantities, the processor accumulatively adds, for each of regions of interest including a block concerned, a score calculated from feature quantities calculated from a block corresponding to the block concerned in the dictionary data, and the block-of-interest feature quantities into intermediate data of an evaluation value for the region of interest,
temporarily holds the intermediate data in the memory, andmakes determination about whether or not each region of interest includes the recognition-targeted image based on an evaluation value of the region of interest on which the accumulative addition has been finished on all of blocks forming the region of interest. |