Patent Document ID: 10062007
Application ID: 15171416
Patent Status: 1

Claim One:
1. An apparatus for creating a program by genetic programming, the apparatus comprising: a memory configured to store a plurality of sub programs, which are combinable constituent elements of an image recognizing program to detect a position of a template image on an input image; and a processor coupled to the memory, configured to: create a plurality of programs, the plurality of programs respectively being a combination of at least two of the plurality of sub programs; calculate similarity maps, for at least two programs among the plurality of programs, by calculating similarity values for respective pixels of the input image with respect to the template image using the at least two programs; perform a fitness calculation process to calculate fitnesses, for the at least two programs, based on positional fitnesses and shape fitnesses; select, from among the at least two programs, a program for which the fitness, among the fitnesses for the at least two programs, is equal to or greater than a threshold; and output the selected program as the image recognizing program, wherein a positional fitness, among the positional fitnesses, is calculated based on a difference between a target position of one of the similarity maps and an obtained position of the template image on the input image, and a shape fitness, among the shape fitnesses, is calculated based on a similarity in a shape of a distribution of the similarity values of the one of the similarity maps and a shape of a target distribution.