Augmented reality eyeglasses having a structured light detecting function and including a laser projector, an eyeglass lens, at least one first diffractive optical element (DOE) film, an invisible light camera and a second DOE film are provided. The laser projector is configured to emit at least one invisible beam and an image beam. The at least one first DOE film is disposed on the eyeglass lens. The first DOE film is configured to diffract the invisible beam into a structured beam. The structured beam is transmitted to an object to be detected, so as to form a light pattern on the object to be detected. The invisible light camera is configured to photograph the light pattern on the object to be detected. The second DOE film is disposed on the eyeglass lens, and is configured to make the image beam travel to an eye.