The invention discloses a method for generating a printable 3D model by a single photo based on a
generative adversarial network, and the method comprises the following steps: S1, obtaining a single input image, and carrying out the preprocessing of the input image; s2, inputting the preprocessed image into an
encoder, extracting multi-scale features, and outputting depth feature representation; s3, the conditional
generative adversarial network generates a 3D model, and the quality of the 3D model is optimized through comparison; s4, carrying out multi-scale refinement on the 3D model through the implicit neural representation network, and converting the 3D model into continuous
function representation; s5, an improved conditional
diffusion inversion module optimizes the 3D model, and multi-scale
discrete wavelet transform and rendering feedback correction are combined; s6, performing end-to-end joint training
system optimization
feature extraction, 3D model generation and refinement
processing; and S7, post-
processing is conducted on the 3D model, and the 3D model meeting the printing requirement is output. According to the method, the
generative adversarial network and the implicit neural representation technology are fused, so that the high-precision 3D model which is rich in details and suitable for 3D printing is quickly generated from a single picture.