BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an image capturing apparatus, a generating apparatus, a control method, and a storage medium.

Description of the Related Art

In recent years, image capturing apparatuses having AI installed therein are utilized in various fields. In addition, with regard to an image capturing apparatus having AI installed therein, it is proposed to generate supervisory data in the image capturing apparatus and perform training of a training model in the course of a user's usage of the image capturing apparatus. Such an image capturing apparatus allows for obtaining an output of a trained model adapted to the user by iteratively performing training of the training model.

For example, an image capturing apparatus disclosed in Japanese Patent Laid-Open No. 2018-77718 can use a captured image as an input to learn evaluation indices related to aesthetics of the image according to a particular user to facilitate aesthetics determination taking into account the user's determination criteria.

As another use of AI installed in the image capturing apparatus, a function of automatically setting shooting parameters intended by a user in accordance with shooting scenes, for example, is also conceivable. With an image capturing apparatus having such a function, it is conceivable that a captured image captured by a user by pressing the shutter button and shooting parameters corresponding thereto are used to generate supervisory data, and training of the training model is performed. However, a pre-shooting live view image is used as an input when using the trained model subjected to training. Here, even when shooting a same subject, the captured image and the live view image turn out to be different images. Therefore, it becomes more likely to fail in obtaining an output as expected (shooting parameters intended by the user) from the trained model, particularly when the difference between the captured image and the live view image is large.

As a specific example, there may be mentioned a case of shooting a waterfall with a long exposure setting. In this case, although the captured image is a long exposure image, the live view image is an exposure image at a frame rate of the live view, and thus a difference between the captured image and the live view image is large. As another example, there may be mentioned a case of shooting the subject with flashing a strobe. In this case, although the captured image turns out to be a brighter image due to the strobe, the live view image is a dark image, and thus a difference between the captured image and the live view image is large.

SUMMARY OF THE INVENTION

The present invention, which has been made in view of aforementioned circumstances, provides a technique that allows for performing training of a training model that outputs a shooting parameter in accordance with an input image to achieve an improved estimation accuracy of a shooting parameter.

An image capturing apparatus comprising: a live view shooting unit configured to iteratively capture live view images in accordance with a shooting parameter for live view shooting; a main shooting unit configured to perform main shooting in accordance with a shooting parameter for main shooting; and a training unit configured to perform, after the main shooting has been performed, training of a training model that outputs a shooting parameter in accordance with an input image, based on the shooting parameter for the main shooting and a first live view image captured by the live view shooting unit.

A control method executed by an image capturing apparatus, comprising: iteratively capturing live view images in accordance with a shooting parameter for live view shooting; performing main shooting in accordance with a shooting parameter for main shooting; and after the main shooting has been performed, performing training of a training model that outputs a shooting parameter in accordance with an input image, based on the shooting parameter for the main shooting and a first live view image captured during the iterative capturing.

A non-transitory computer-readable storage medium which stores a program for causing a computer to execute a control method comprising: iteratively capturing live view images in accordance with a shooting parameter for live view shooting; performing main shooting in accordance with a shooting parameter for main shooting; and after the main shooting has been performed, performing training of a training model that outputs a shooting parameter in accordance with an input image, based on the shooting parameter for the main shooting and a first live view image captured during the iterative capturing.

An image capturing apparatus comprising: a live view shooting unit configured to iteratively capture live view images in accordance with a shooting parameter for live view shooting; a main shooting unit configured to perform main shooting in accordance with a shooting parameter for main shooting; a determination unit configured to determine a shooting parameter based on live view images iteratively captured by the live view shooting unit, by using a trained model subjected to training with the shooting parameter for the main shooting serving as supervisory data for training and a first live view image serving as input data for training, the first live view image being captured by the live view shooting unit before the main shooting; and a setting unit configured to set the shooting parameter determined by the determination unit as a shooting parameter for the main shooting.

A generating apparatus comprising: a live view acquisition unit configured to acquire live view images sequentially generated by iteratively capturing in accordance with a shooting parameter for live view shooting; a main image acquisition unit configured to acquire a main image by performing main shooting in accordance with a shooting parameter for main shooting; and a generating unit configured to generate a model based on the shooting parameter for main shooting and the live view images acquired by live view acquisition unit before the main shooting.

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

