mirror of https://github.com/vladmandic/human
update docs
parent
70b1aadc1b
commit
89996eaa37
|
@ -10,6 +10,9 @@ Repository: **<git+https://github.com/vladmandic/human.git>**
|
||||||
|
|
||||||
## Changelog
|
## 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
|
### **0.9.18** 2020/12/16 mandic00@live.com
|
||||||
- add z axis scaling
|
- add z axis scaling
|
||||||
- major work on body module
|
- major work on body module
|
||||||
|
|
|
@ -122,6 +122,7 @@ config = {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
modelPath: '../models/facemesh.json',
|
modelPath: '../models/facemesh.json',
|
||||||
inputSize: 192, // fixed value
|
inputSize: 192, // fixed value
|
||||||
|
returnRawData: false, // in addition to standard mesh and box values, return raw normalized values as well
|
||||||
},
|
},
|
||||||
|
|
||||||
iris: {
|
iris: {
|
||||||
|
|
|
@ -10,7 +10,9 @@ result = {
|
||||||
{
|
{
|
||||||
confidence, // <number>
|
confidence, // <number>
|
||||||
box, // <array [x, y, width, height]>
|
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
|
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
|
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
|
iris, // <number> relative distance of iris to camera, multiple by focal lenght to get actual distance
|
||||||
age, // <number> estimated age
|
age, // <number> estimated age
|
||||||
|
|
Loading…
Reference in New Issue