update docs

master
Vladimir Mandic 2020-12-22 12:34:26 -05:00
parent 70b1aadc1b
commit 89996eaa37
3 changed files with 6 additions and 0 deletions

@ -10,6 +10,9 @@ Repository: **<git+https://github.com/vladmandic/human.git>**
## Changelog
### **HEAD -> main, origin/main, origin/HEAD** 2020/12/22 animethemegadget@gmail.com
- option to return raw data (mesh, box) for facemesh / "preserve aspect ratio" fix from facemesh upstream
### **0.9.18** 2020/12/16 mandic00@live.com
- add z axis scaling
- major work on body module

@ -122,6 +122,7 @@ config = {
enabled: true,
modelPath: '../models/facemesh.json',
inputSize: 192, // fixed value
returnRawData: false, // in addition to standard mesh and box values, return raw normalized values as well
},
iris: {

@ -10,7 +10,9 @@ result = {
{
confidence, // <number>
box, // <array [x, y, width, height]>
rawBox, // normalized values for box, only set if returnRawData is set
mesh, // <array of 3D points [x, y, z]> 468 base points & 10 iris points
rawMesh, // normalized values for box, only set if returnRawData is set
annotations, // <list of object { landmark: array of points }> 32 base annotated landmarks & 2 iris annotations
iris, // <number> relative distance of iris to camera, multiple by focal lenght to get actual distance
age, // <number> estimated age