Information processing apparatus and control method
In a case where an inspection level to be used in determining quality of an image of an inspected surface of a printed sheet is set based on a comparison between a captured image resulting from imaging the inspected surface and a reference image, a plurality of inspection regions varying in inspection level is set for the reference image. In a case where an overlap region is present in the plurality of inspection regions, an inspection level of the overlap region is identified based on a predetermined priority. Further, the identified inspection level of the overlap region is displayed.
1. An information processing apparatus that sets an inspection criterion to be used in determining quality of an image of an inspected surface of a printed sheet, based on a comparison between a captured image resulting from imaging the inspected surface and a reference image, the information processing apparatus comprising:
one or more memories containing instructions; and
one or more processor configured to execute the instructions to perform operations comprising:
setting a first inspection level corresponding to a first inspection criterion and a second inspection level corresponding to a second inspection criterion, the first inspection level and the second inspection level being selected from multiple inspection level candidates;
setting at least a first inspection region and a second inspection region, the first inspection region being inspected based on the first inspection level, and the second inspection region being inspected based on the second inspection level; and
inspecting an overlap region based on the second inspection level, the overlap region overlapping with the first inspection region and the second inspection region,
wherein the first inspection level set to be selected from one or more of the multiple inspection level candidates, and levels of the one of more of the multiple inspection level candidates are lower than the second inspection level.
2. The information processing apparatus according to claim 1 , wherein the operations further comprise:
acquiring a captured image resulting from imaging an inspected surface of a printed sheet; and
determining quality of the inspected surface of the printed sheet, based on the acquired captured image, the reference image, and the set inspection criterion,
wherein determining the quality comprises determining the quality using the second inspection level corresponding to the second inspection criterion of the overlap region in a case where the overlap region is present in the plurality of inspection regions.
3. The information processing apparatus according to claim 1 , wherein the operations further comprise:
displaying the second inspection criterion of the overlap region on a screen; and
receiving a display switching instruction,
wherein displaying comprises switching display from a screen displaying the second inspection criterion of the overlap region to a screen displaying a frame of each of the plurality of inspection regions, in a case where receiving receives the display switching instruction.
4. The information processing apparatus according to claim 1 , wherein the operations further comprise displaying options selectable as an inspection level on a screen,
wherein, after setting the first inspection level, the displaying operation displays inspection levels which are higher than the first inspection level and selectable as the second inspection level.
5. The information processing apparatus according to claim 4 ,
wherein, after setting the second inspection level, the displaying operation displays inspection levels which are lower than the second inspection level and selectable as the first inspection level.
6. The information processing apparatus according to claim 1 ,
wherein setting comprises setting an inspection exclusion region, and
wherein, if the inspection exclusion region is set in the overlap region, the overlap region is inspected as the inspection exclusion region.
7. A method for controlling an information processing apparatus that sets an inspection level to be used in determining quality of an image of an inspected surface of a printed sheet, based on a comparison between a captured image resulting from imaging the inspected surface and a reference image, the control method comprising:
setting a first inspection level corresponding to a first inspection criterion and a second inspection level corresponding to a second inspection criterion, the first inspection level and the second inspection level being selected from multiple inspection level candidates;
setting at least a first inspection region and a second inspection region, the first inspection region being inspected based on the first inspection level, and the second inspection region being inspected based on the second inspection level; and
inspecting an overlap region based on the second inspection level, the overlap region overlapping with the first inspection region and the second inspection region,
wherein the first inspection level is set to be selected from one or more of the multiple inspection level candidates, and levels of the one of more of the multiple inspection level candidates are lower than the second inspection level.
8. The method according to claim 7 further comprising:
acquiring a captured image resulting from imaging an inspected surface of a printed sheet; and
determining quality of the inspected surface of the printed sheet, based on the acquired captured image, the reference image, and the set inspection criterion,
wherein determining the quality comprises determining the quality using the second inspection level corresponding to the second inspection criterion of the overlap region in a case where the overlap region is present in the plurality of inspection regions.
9. The method according to claim 7 further comprising:
displaying the second inspection criterion of the overlap region on a screen; and
receiving a display switching instruction,
wherein displaying comprises switching display from a screen displaying the second inspection criterion of the overlap region to a screen displaying a frame of each of the plurality of inspection regions, in a case where receiving receives the display switching instruction.
10. The method according to claim 7 further comprising displaying options selectable as an inspection level on a screen,
wherein, after setting the first inspection level, the displaying operation displays inspection levels which are higher than the first inspection level and selectable as the second inspection level.
11. The method according to claim 10 ,
wherein, after setting the second inspection level, the displaying operation displays inspection levels which are lower than the second inspection level and selectable as the first inspection level.
12. The method according to claim 7 ,
wherein setting comprises setting an inspection exclusion region, and
wherein, if the inspection exclusion region is set in the overlap region, the overlap region is inspected as the inspection exclusion region.