A virtual try-on computer program product having a non-transitory computer readable medium including instructions stored thereon, and operating with a photographing unit configured to photograph a try-on person image, wherein the instructions, when executed by a computer, cause the computer to perform:
- acquiring, by a first acquisition unit of the computer, the try-on person image photographed by the photographing unit;
- acquiring, by a second acquisition unit of the computer configured to perform further photographing, three-dimensional data of a try-on person by the further photographing;
- learning, by machine learning using three-dimensional data of a try-on person, a learning model using the try-on person image acquired by the first acquisition unit as input data of a teacher try-on person image, and using a body shape parameter indicating a body shape of the try-on person represented by the teacher try-on person image and compositing position information indicating a compositing position of a clothing image in the teacher try-on person image as output data;
- deriving the output data including the compositing position information and the body shape parameter corresponding to the try-on person represented by the try-on person image using the try-on person image and the learning model;
- and
- generating a virtual try-on image by compositing the try-on person image and the clothing image using the derived output data, wherein
- the photographing unit and the second acquisition unit are controlled to perform photographing in synchronization with each other to acquire the try-on person image by the first acquisition unit and acquire the three-dimensional data by the second acquisition unit.