Comment by netsharc
2 days ago
Use the front-camera and tell the user to meditate for 30 seconds/algorithmically watch them while they do so.
I guess web browsers don't have integrated face recognition APIs yet, although phones could probably do this
iPhones could do it well, using the face ID lidar to measure the user's pupils. (It already does this, taking advantage of the property that they are reflective in IR.) Androids with only a front camera would do it poorly. But either would require pairing with a wearable capable of SpO2, skin galvanometry, HR measurement, etc., in order to credibly analyze physiological stress.
I suppose it needs clarifying that I say this all in jest, not as any kind of serious suggestion. Among other reasons, it would only improve the tone and not the substance.