This was a RayBan Glasses virtual try-on app for iOS. In 2014, before Lidar-equipped smartphones were a thing, I worked on an iPad app that used Computer Vision, Structure From Motion, and other tricks to create a fairly accurate 3D model of a persons face from a 180 degree face scan using the front-facing camera. Utilizing a pre-modeled human head created from 200 real human heads to get an average, we were able to displace the vertices of the average model to form fit the new subject.
We unwrapped the UVs and then we had a full 3D model of the person's face. We could then accurately place 3D models of RayBan sunglasses and allow the user to pan their face left and right 180 degrees. MIxed with some cool shader work the end-result was stunning.