CPC G06V 10/776 (2022.01) [G06V 10/28 (2022.01); G06V 10/761 (2022.01); G06V 10/7715 (2022.01); G06V 10/774 (2022.01); G06V 10/82 (2022.01)] | 20 Claims |
1. An image augmentation method applied to an electronic device, the method comprising:
obtaining an image to be augmented and a test image, the test image comprising a gas leakage image;
constructing a variational learner and a discriminator based on a fully convolutional neural network;
obtaining a target image by inputting the gas leakage image into the variational learner;
obtaining a variational autoencoder model by training the variational learner based on a discrimination result of the discriminator on the target image;
calculating a reconstruction accuracy rate of the variational autoencoder model based on the test image;
obtaining an augmented model by adjusting the variational autoencoder model based on the gas leakage image, in response that the reconstruction accuracy rate is less than a preset threshold; and
obtaining an augmented image by inputting the image to be augmented into the augmented model.
|