CPC G06V 30/40 (2022.01) [G06T 7/001 (2013.01); G06V 10/98 (2022.01); G06T 2207/20104 (2013.01); G06T 2207/30144 (2013.01)] | 20 Claims |
1. An inspection apparatus comprising:
at least one of (a) one or more processors and a storage medium and (b) circuitry, the at least one of (a) one or more processors and a storage medium and (b) circuitry being configured to act as a plurality of units comprising:
(1) a first obtaining unit configured to obtain a plurality of reference images;
(2) a second obtaining unit configured to obtain an inspection target image;
(3) a setting unit configured to set, for at least one reference image among the plurality of reference images, an inspection region to be inspected; and
(4) an inspection unit configured to inspect the inspection target image based on a result of comparison of the inspection target image and the reference image in which the inspection region is set,
wherein the setting unit comprises: (a) a first setting unit configured to set the inspection region for a first reference image selected from the plurality of reference images; and (b) a second setting unit configured to set, for a second reference image which is selected from the plurality of reference images and which is different from the first reference image, the inspection region in a case where the second reference image is an image satisfying a predetermined condition.
|