Image processing apparatus, and control method, and storage medium thereof
An image processing apparatus comprises a determination unit configured to determine that image data stored in a storage device is image data that is to be used for learning a situation in which an image capturing device is to perform automatic image capturing, if an instruction to delete the image data stored in the storage device is given by a user, and the image data satisfies a predetermined condition.
1. An image processing apparatus comprising
at least one processor or circuit configured to function as
a determination unit configured to determine that image data stored in a storage device is image data that is to be used for learning a situation in which an image capturing device is to perform automatic image capturing, if an instruction to delete the image data stored in the storage device is given by a user, and the image data satisfies a predetermined condition.
2. The image processing apparatus according to claim 1 ,
wherein the determination unit determines whether or not the image data satisfies the predetermined condition, based on at least one of the image data and information associated with the image data.
3. The image processing apparatus according to claim 1 , wherein the at least one processor or circuit is configured to further function as
a similarity determination unit configured to determine a similarity between the image data for which a delete instruction has been given by the user and other image data stored in the storage device,
wherein, if the similarity determination unit determines that the image data stored in the storage device includes image data similar to the image data for which a delete instruction has been given by the user, the determination unit determines that the predetermined condition is not satisfied.
4. The image processing apparatus according to claim 3 ,
wherein the similarity determination unit extracts a first feature point group from the image data for which a delete instruction has been given by the user, through feature point extraction processing, extracts a second feature point group from other image data stored in the storage device, through the feature point extraction processing, performs matching processing on the first feature point group and the second feature point group, and determines a higher similarity the higher the number of pairs of similar feature points is.
5. The image processing apparatus according to claim 3 ,
wherein the similarity determination unit determines a similarity between images by comparing information associated with the other image data stored in the storage device with information associated with the image data for which a delete instruction has been given by the user.
6. The image processing apparatus according to claim 3 ,
wherein the similarity determination unit determines a similarity between images for which at least one of shooting time information and shooting position information associated with the other image data stored in the storage device is different from at least one of those associated with the image data for which a delete instruction has been given by the user by a predetermined threshold or smaller.
7. The image processing apparatus according to claim 1 ,
wherein, if a state of the image data for which a delete instruction has been given by the user is at least one of a state of subject unclearness, a state of subject blur, and a state where exposure of a subject is not appropriate, the determination unit determines that the predetermined condition is not satisfied.
8. The image processing apparatus according to claim 1 ,
wherein, if a difference in information associated with the image data for which a delete instruction has been given by the user, before/after the image data for which a delete instruction has been given by the user was captured is large, the determination unit determines that the predetermined condition is not satisfied.
9. The image processing apparatus according to claim 1 , wherein the at least one processor or circuit is configured to further function as
a learning unit configured to learn a situation in which the automatic image capturing is not to be performed, using at least one of image data determined by the determination unit to be image data that is used for learning a situation in which the automatic image capturing is to be performed and information associated with the image data.
10. The image processing apparatus according to claim 9 , further comprising
the image capturing device configured to perform automatic image capturing based on a result of learning performed by the learning unit.
11. The image processing apparatus according to claim 10 ,
wherein the storage device stores image data generated by the image capturing device.
12. A control method of an image processing apparatus, the method comprising
determining that image data stored in a storage device is image data that is to be used for learning a situation in which an image capturing device is to perform automatic image capturing, if an instruction to delete the image data stored in the storage device is given by a user, and the image data satisfies a predetermined condition.
13. A non-transitory computer-readable storage medium that stores a program for causing a computer to execute the control method of an image processing apparatus, the method comprising
determining that image data stored in a storage device is image data that is to be used for learning a situation in which an image capturing device is to perform automatic image capturing, if an instruction to delete the image data stored in the storage device is given by a user, and the image data satisfies a predetermined condition.