The invention relates to an unsupervised domain adaptive target detection method based on harmonious learning and sample mixing, and belongs to the technical field of
computer vision and intelligent
perception. The method aims at solving the problem of
detection performance degradation caused by illumination, weather and scene differences among different domains, and is particularly suitable for low-illumination complex environments such as port night safety detection. The method comprises the following steps: S1, proposing an unsupervised
domain adaptation detection task; s11, constructing
a domain adaptation detection network HLMix based on harmonious learning and sample mixing; s12, designing a Harmony Measure (Harmony Measure) module; s13, designing a sample mixing module; s14, a feature enhancement module C3k2-CG is introduced; s15, a joint
loss function is designed, wherein the joint
loss function comprises supervised detection loss, unsupervised consistency loss and harmonious weighting loss; s2, establishing a
data set for model evaluation; the method comprises the following steps: (S21) selecting an mAP (Mean Average Prediction) as an evaluation index; and S22, verifying the effectiveness of the model, and carrying out a contrast experiment on the method and various typical unsupervised domain adaptive detection methods. The method can significantly improve the detection precision and robustness of the model in a non-
label target domain scene, especially has high adaptability in low-illumination complex environments such as night and foggy days, and can be widely applied to cross-domain target detection tasks in automatic driving and industrial scenes.