face-api/src/factories
Sophia Glisch 6fd4615124 Fix face angles (yaw, pitch, & roll) accuracy
Previouly derived aforementioned angles correctly seemed inaccurate and somewhat unusable (given their output was in radians). This update uses the a person's mesh positions, and chooses specific points for accurate results. It also adds directionality of the movements (_e.g. pitching head backwards is a negative result, as is rolling head to the left).

The webcam.js file has also been updated to showcase the correct output in degrees (reducing potential user confusion)

Comitter: Sohaib Ahmed <sohaibi.ahmed@icloud.com>
2022-10-17 00:36:06 -04:00
..
WithAge.ts full re-lint and typings generation 2020-12-23 11:26:55 -05:00
WithFaceDescriptor.ts full re-lint and typings generation 2020-12-23 11:26:55 -05:00
WithFaceDetection.ts refactoring 2021-03-19 21:39:45 -04:00
WithFaceExpressions.ts update 2021-04-01 13:39:54 -04:00
WithFaceLandmarks.ts Fix face angles (yaw, pitch, & roll) accuracy 2022-10-17 00:36:06 -04:00
WithGender.ts full re-lint and typings generation 2020-12-23 11:26:55 -05:00
index.ts full re-lint and typings generation 2020-12-23 11:26:55 -05:00