The application discloses a kind of complex lighting conditions
underwater artificial crack dataset construction method, it is related to image dataset production technical field, including, collection crack picture and extract crack curve generation coordinate information, based on this, construct crack 3D model and prepare concrete
standard test block;The test block is placed in water, and
underwater crack image under conventional, dim and uneven illumination is collected, and is classified after pre-
processing according to illumination condition;Stable
Diffusion model based on LoRA fine-tuning is used, and different illumination condition images are input respectively to
train and optimize, and style expansion image is generated, and pre-
processing image constitutes unlabeled data together;Through
image enhancement algorithm processing the data, after the enhanced image is labeled, the
label is corresponded with the original image, and the
underwater artificial crack dataset under complex lighting conditions is constructed, the application solves the problem that actual underwater crack
disease is difficult to collect, meets the core demand of
engineering practice, and provides richer data support for underwater structure crack detection and segmentation model training.