A program causing a computer to execute: first detection processing of detecting, from one or more captured images generated by a camera for personal identification of a user, a first captured image that satisfies a first predetermined condition; second detection processing of detecting, from the one or more captured images generated by the camera, a second captured image that satisfies a second predetermined condition; and image output processing of outputting, upon detecting the first captured image and the second captured image, at least either one of the first and second captured images, characterized in that: the first predetermined condition includes a condition that a first image region included in the first captured image represents one surface of a target identification card captured at a first predetermined angle and has a first degree of similarity with a first image feature equal to or more than a predetermined threshold value, the first image feature being of the target identification card or of an identification card of the same kind as the target identification card, and being stored in advance, the second predetermined condition includes a condition that a second image region included in the second captured image represents the one surface of the target identification card captured at a second predetermined angle and has a second degree of similarity with a second image feature equal to or more than the predetermined threshold value, the second image feature being of the target identification card or of said identification card of the same kind as the target identification card, and being stored in advance, and the at least one of the first and second captured images outputted in image output processing is used for personal identification of the user. first detection processing of detecting, from one or more captured images generated by a camera for personal identification of a user, a first captured image that satisfies a first predetermined condition; second detection processing of detecting, from the one or more captured images generated by the camera, a second captured image that satisfies a second predetermined condition; and image output processing of outputting, upon detecting the first captured image and the second captured image, at least either one of the first and second captured images, characterized in that: the first predetermined condition includes a condition that a first image region included in the first captured image represents one surface of a target identification card captured at a first predetermined angle and has a first degree of similarity with a first image feature equal to or more than a predetermined threshold value, the first image feature being of the target identification card or of an identification card of the same kind as the target identification card, and being stored in advance, the second predetermined condition includes a condition that a second image region included in the second captured image represents the one surface of the target identification card captured at a second predetermined angle and has a second degree of similarity with a second image feature equal to or more than the predetermined threshold value, the second image feature being of the target identification card or of said identification card of the same kind as the target identification card, and being stored in advance, and the at least one of the first and second captured images outputted in image output processing is used for personal identification of the user. the first predetermined condition includes a condition that a first image region included in the first captured image represents one surface of a target identification card captured at a first predetermined angle and has a first degree of similarity with a first image feature equal to or more than a predetermined threshold value, the first image feature being of the target identification card or of an identification card of the same kind as the target identification card, and being stored in advance, the second predetermined condition includes a condition that a second image region included in the second captured image represents the one surface of the target identification card captured at a second predetermined angle and has a second degree of similarity with a second image feature equal to or more than the predetermined threshold value, the second image feature being of the target identification card or of said identification card of the same kind as the target identification card, and being stored in advance, and the at least one of the first and second captured images outputted in image output processing is used for personal identification of the user.