update docs

master
Vladimir Mandic 2021-03-17 14:34:45 -04:00
parent 99c3d70ec7
commit 91af84e954
2 changed files with 10 additions and 9 deletions

@ -91,8 +91,8 @@ After=network.target network-online.target
[Service]
Type=simple
Environment="NODE_ENV=production"
ExecStart=/home/vlado/.nvm/versions/node/v15.7.0/bin/node server/serve.js
WorkingDirectory=/home/vlado/dev/human
ExecStart=<path-to-node> server/serve.js
WorkingDirectory=<your-project-folder>
StandardOutput=inherit
StandardError=inherit
Restart=always

@ -11,8 +11,8 @@ result = {
confidence, // <number> returns faceConfidence if exists, otherwise boxConfidence
faceConfidence // <number> confidence in detection box after running mesh
boxConfidence // <number> confidence in detection box before running mesh
box, // <array [x, y, width, height]>, normalized to input image size
boxRaw, // <array [x, y, width, height]>, normalized to range of 0..1
box, // <array [x, y, width, height]>, clamped and normalized to input image size
boxRaw, // <array [x, y, width, height]>, unclamped and normalized to range of 0..1
mesh, // <array of 3D points [x, y, z]> 468 base points & 10 iris points, normalized to input impact size
meshRaw, // <array of 3D points [x, y, z]> 468 base points & 10 iris points, normalized to range of 0..1
annotations, // <list of object { landmark: array of points }> 32 base annotated landmarks & 2 iris annotations
@ -52,7 +52,8 @@ result = {
[
{
confidence, // <number>,
box, // <array [x, y, width, height]>,
box, // <array [x, y, width, height]>, clamped and normalized to input image size
boxRaw, // <array [x, y, width, height]>, unclamped and normalized to range of 0..1
landmarks, // <array of 3D points [x, y,z]> 21 points
annotations, // <array of 3D landmarks [ landmark: <array of points> ]> 5 annotated landmakrs
}
@ -63,10 +64,10 @@ result = {
score, // <number>
class, // <number> class id based on coco labels
label, // <string> class label based on coco labels
center, // [<number>, <number>] x,y coordinates of the object center
box, // [<number>, <number>, <number>, <number>] x1, y1, x2, y2 coordinates of the box around the detected object
centerRaw, // same as center but normalized to range 0..1
boxRaw, // same as box, but normalized to range 0..1
center, // <array [x, y]>, clamped and normalized to input image size
centerRaw, // <array [x, y]>, unclamped and normalized to range of 0..1
box, // <array [x, y, width, height]>, clamped and normalized to input image size
boxRaw, // <array [x, y, width, height]>, unclamped and normalized to range of 0..1
}
],
gesture: // <array of objects object>