CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of Japanese Patent Application No. 2019-019862, filed Feb. 6, 2019, which is hereby incorporated by reference herein in its entirety.

BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to an information processing apparatus that analyzes image data, a control method for the information processing apparatus, and a storage medium.

Description of the Related Art

A technology is used in which an information processing apparatus such as a digital camera or a mobile terminal analyzes image data in cooperation with a cloud server or the like. As a related technology, for example, a technology of Patent Literature 1 is proposed. In the technology of Japanese Laid-Open Patent Publication (kokai) No. 2017-54491, a server identifies a subset of objects that are expected to be recognized by each of edge devices. The server generates a reduced object recognition database for each edge device that includes a corresponding subset of a plurality of images. Each edge device monitors a plurality of device events and performs object recognition using the corresponding reduced object recognition database in response to the device events.

In the image analysis processing, there is a method for analyzing image data by learning image data and constructing an inference model based on a learning result. In order to learn image data and to construct an inference model, an information processing apparatus is required to have a high processing capability. In addition, long learning time is required to improve the accuracy of image data analysis, and thus the information processing apparatus is required to have a higher processing capability. In this regard, in the case of an information processing apparatus with limited processing capability such as a digital camera or a mobile terminal, it is difficult to meet the above requirements. Therefore, it is conceivable that image data learning and image data analysis based on an inference model is performed by an external device (such as a cloud server) having a high processing capability, and an information processing apparatus such as a digital camera and a mobile terminal acquires an analysis result from the external device. However, in the above configuration, when a network is disconnected, communication between an information processing apparatus and an external device cannot be performed, and thus the information processing apparatus cannot acquire an analysis result of image data.

SUMMARY OF THE INVENTION

The present invention provides an information processing apparatus that can acquire an analysis result of image data even when communication with an external device is not possible, a control method, and a program for the information processing apparatus.

Accordingly, the present invention provides an information processing apparatus capable of communicating with an external device, the apparatus including an analysis unit configured to analyze image data and to acquire a second analysis result using a second inference model that is less accurate than a first inference model of an external device when communication with the external device is not possible, a transmission unit configured to transmit the image data to the external device when communication with the external device is possible, and an acquisition unit configured to acquire, from the external device, a first analysis result obtained by analyzing, using the first inference model, the image data transmitted to the external device by the transmission unit, wherein the first inference model and the second inference model are generated by performing machine learning.

According to the present invention, an analysis result of image data can be acquired even when communication with an external device is not possible.

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

