diff --git a/Change-Log.md b/Change-Log.md index ef3eaef..9e6f877 100644 --- a/Change-Log.md +++ b/Change-Log.md @@ -10,6 +10,9 @@ Repository: **** ## 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 diff --git a/Configuration.md b/Configuration.md index d66fe1f..c621f20 100644 --- a/Configuration.md +++ b/Configuration.md @@ -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: { diff --git a/Outputs.md b/Outputs.md index b20acf4..6708d37 100644 --- a/Outputs.md +++ b/Outputs.md @@ -10,7 +10,9 @@ result = { { confidence, // box, // + rawBox, // normalized values for box, only set if returnRawData is set mesh, // 468 base points & 10 iris points + rawMesh, // normalized values for box, only set if returnRawData is set annotations, // 32 base annotated landmarks & 2 iris annotations iris, // relative distance of iris to camera, multiple by focal lenght to get actual distance age, // estimated age