The invention discloses a high-place operation
hanging basket people number detection method based on an improved YOLOv9 model, and belongs to the technical field of target detection, and the method comprises the following steps: 1, constructing a
hanging basket construction people number
data set, carrying out the preprocessing and data enhancement of the
data set, carrying out the manual marking, and dividing a
training set and a
test set; 2, an improved YOLOv9 model framework is built, a C2fSE module is built, and RepNCSPELAN4 modules of a third layer, a fifth layer and a seventh layer in a YOLOv9
backbone network are replaced; replacing ADown down-sampling modules of the sixth layer and the eighth layer of the
backbone network with HWDADown; an SE attention mechanism is introduced into a RepNCSPELAN4 module on the seventeenth layer of the Head part, and a CBAM attention mechanism is introduced into a RepNCSPELAN4 module on the twenty-first layer of the Head part; finally, a DIOU
loss function is added; step 3, training the improved YOLOv9 model by using the
training set, and detecting the data picture of the number of constructors on the
hanging basket to be detected; and 4, performing performance evaluation on the detection result in the step 3 by taking the accuracy rate, the precision rate, the average precision and the
recall rate as evaluation indexes.