The invention discloses an HUD
virtual image and real environment polarization matching detection method. The method comprises the following steps: when an HUD projects a
virtual image, collecting a virtual polarization parameter set of a plurality of preset test points in an HUD
virtual image picture; synchronously acquiring a real environment polarization parameter set of real environment light in corresponding directions of the plurality of preset test points; inputting the virtual polarization parameter set and the real environment polarization parameter set into a preset polarization matching degree evaluation model, and calculating a matching degree
score of each preset
test point; when at least one of the matching degree scores of the preset test points is lower than a preset threshold value, it is judged that the test points have polarization conflicts, and polarization conflict types and conflict position information are output. According to the method and the device, the
visibility of the virtual image under the polarized sunglasses and the visual consistency of the virtual image and the real ambient light are ensured, so that the darkening, disappearance, glare and visual fatigue of the image are avoided, and the
driving safety and the user experience are remarkably improved.