This invention relates to the fields of
artificial intelligence and fintech, and discloses an
image enhancement method, apparatus, device, and storage medium. The method includes: acquiring a preset low-light image; segmenting the preset low-light image to obtain a first segmentation result; selecting a component image from the first segmentation result as a preset component image; combining the preset component image and its corresponding normal-light image into sample data; training a
generative adversarial network (GAN) based on the sample data; when the total loss value meets a preset condition, saving the trained GAN; acquiring a current low-light image; segmenting the current low-light image to obtain a second segmentation result; selecting a component image from the second segmentation result as the current component image; and generating an enhanced current component image using the generator in the trained GAN. This invention is beneficial for improving the enhancement efficiency of the current component image.