BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an information processing apparatus and a method of controlling the information processing apparatus and, more particularly, to a technique of modifying correct answer data used for machine learning.

Description of the Related Art

In the field of machine learning, aiming at automating detection of a detection target in an image, many studies to recognize a region in an image as a specific class have been carried out. In machine learning, a model used to recognize the region of a specific class on an image is constituted using, as correct answer data, an enormous amount of data in which the region of each class to be recognized on the image is manually labelled. However, it is difficult to manually input or set exact correct answer data via human visual recognition. This is because when the correct answer data labeling operation is performed for an enormous amount of data, errors readily occur.

Errors of correct answer data include an uninput and an error input. If an uninput portion exists, an image region including a detection target is erroneously learned as a non-detection target region. To the contrary, if an error input portion exists, a non-detection target region is erroneously learned as a detection target region. Since such wrong learning lowers the detection performance of the model, the exactness of correct answer data is important.

On the other hand, there is a method of applying a model halfway through learning to an image and, if detection data and correct answer data do not match, causing a user to confirm correct answer data. However, confirming all mismatching data becomes a burden on the user. Japanese Patent Laid-Open No. 2015-129988 discloses a method of selecting data to be confirmed by a user based on an index called certainty factor in a case in which detection data and correct answer data do not match. Because an image to be shown to the user is selected, the burden on the user is relative small.

However, the technique described in Japanese Patent Laid-Open No. 2015-129988 is an example in a case in which one label is added to one entire detection object. When labeling is done for each part of one detection object, an error of correct answer data cannot be estimated.

The present invention has been made in consideration of the above-described problem, and provides a technique for estimating an error portion of correct answer data for each part of a detection object.

SUMMARY OF THE INVENTION

According to one aspect of the present invention, there is provided an information processing apparatus comprises a storage unit configured to store correct answer data used to detect at least one portion of a detection object from an image and detection data detected as the at least one portion of the detection object from the image; a target determination unit configured to extract mismatching data between the correct answer data and the detection data, which exists within a predetermined range from a region in which the correct answer data and the detection data match, and determine the mismatching data as evaluation target data; an investigation unit configured to investigate property information of the evaluation target data; and an error determination unit configured to determine, based on the property information, whether the evaluation target data is error candidate data of the correct answer data.

Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.

