What are the differences between TOF camera and structured light technologies for face recognition?

In the highly competitive market of face recognition applications, two mainstream solutions, structured light and TOF are used by major manufacturers. What are the differences between these two technologies?
One of the structured light 3D vision technologies used to obtain object plane and depth data. The principle of this technology is to project the laser speckle image on the surface of the object, and then receive the speckle information reflected from the surface of the object by the infrared camera, hand it over to the processing chip, and finally calculate the position and depth information of the object according to the change of the light signal caused by the object.
Another TOF technology principle is to capture the flight time of near-infrared light from emission to reception through the TOF camera, and judge and calculate the distance information of the object. This scheme has the advantages of good real-time performance, simple algorithm, not affected by illumination changes and object textures, and has many advantages such as high resolution and relatively low power consumption, and is more suitable for close-range face recognition. Scenarios such as smartphones and smart door locks have great potential and are ideal solutions for face recognition applications.

What are the differences between TOF camera and structured light technologies for face recognition?