A non-transitory computer-readable recording medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, cause the processor to perform a method for training a fake fingerprint detection model, the method comprising:
- acquiring a physical fake fingerprint image generated in a physical manner targeting a finger;
- providing generation constraints and a unique identification information to a training fingerprint image generation model;
- generating a training fingerprint image to be used for training the fake fingerprint detection model by using the training fingerprint image generation model;
- and
- training the fake fingerprint detection model using the physical fake fingerprint image and the training fingerprint image in a transfer learning manner or an ensemble learning manner,
- wherein the training fingerprint image generation model is trained to generate different training fingerprint images based on conditions included in the generation constraints.