The invention relates to an AR glasses
waveguide ghosting dynamic
correction method based on brightness optimization, and the method comprises the following steps: 1, enabling an optical
machine to project a detection image to a left lens and a
right lens, and enabling cameras disposed on the left lens and the
right lens to
shoot the detection image; step 2, defining a selected area for the edge position of the detection image, detecting the maximum brightness value and the average brightness value of the selected area, if the maximum brightness value of the selected area is greater than a set threshold value and the number of repeated detection times does not reach the maximum set number of times, executing the next step, otherwise, executing step 8; 3, recording the initial angle positions of the left light
machine and the right light
machine and the maximum brightness value of the corresponding selected area, recording the initial angle position of the left light machine as txLinitial, and recording the initial angle position of the right light machine as txRinitial. According to the invention, the projection position of the
ray machine can be accurately adjusted in an automatic and data-driven manner, so that the
ghosting is removed, and misjudgment caused by the
ghosting during subsequent ghosting detection is prevented.