update iris objects

pull/70/head
Vladimir Mandic 2021-01-05 16:33:43 -05:00
parent 62cb09d2e4
commit 06b7922f62
10 changed files with 23 additions and 23 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
{ {
"inputs": { "inputs": {
"dist/human.esm.js": { "dist/human.esm.js": {
"bytes": 1905418, "bytes": 1905314,
"imports": [] "imports": []
}, },
"demo/draw.js": { "demo/draw.js": {
@ -38,14 +38,14 @@
"dist/demo-browser-index.js.map": { "dist/demo-browser-index.js.map": {
"imports": [], "imports": [],
"inputs": {}, "inputs": {},
"bytes": 1919325 "bytes": 1919207
}, },
"dist/demo-browser-index.js": { "dist/demo-browser-index.js": {
"imports": [], "imports": [],
"exports": [], "exports": [],
"inputs": { "inputs": {
"dist/human.esm.js": { "dist/human.esm.js": {
"bytesInOutput": 1898884 "bytesInOutput": 1898780
}, },
"demo/draw.js": { "demo/draw.js": {
"bytesInOutput": 7704 "bytesInOutput": 7704
@ -60,7 +60,7 @@
"bytesInOutput": 19421 "bytesInOutput": 19421
} }
}, },
"bytes": 1951833 "bytes": 1951729
} }
} }
} }

2
dist/human.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/human.esm.json vendored
View File

@ -40,7 +40,7 @@
"imports": [] "imports": []
}, },
"src/face/coords.js": { "src/face/coords.js": {
"bytes": 37909, "bytes": 37915,
"imports": [] "imports": []
}, },
"src/face/facepipeline.js": { "src/face/facepipeline.js": {
@ -419,7 +419,7 @@
"dist/human.esm.js.map": { "dist/human.esm.js.map": {
"imports": [], "imports": [],
"inputs": {}, "inputs": {},
"bytes": 1825683 "bytes": 1825565
}, },
"dist/human.esm.js": { "dist/human.esm.js": {
"imports": [], "imports": [],
@ -437,7 +437,7 @@
"bytesInOutput": 2413 "bytesInOutput": 2413
}, },
"src/face/coords.js": { "src/face/coords.js": {
"bytesInOutput": 30817 "bytesInOutput": 30713
}, },
"src/face/facepipeline.js": { "src/face/facepipeline.js": {
"bytesInOutput": 9381 "bytesInOutput": 9381
@ -542,7 +542,7 @@
"bytesInOutput": 22 "bytesInOutput": 22
} }
}, },
"bytes": 1905418 "bytes": 1905314
} }
} }
} }

2
dist/human.js vendored

File diff suppressed because one or more lines are too long

4
dist/human.js.map vendored

File diff suppressed because one or more lines are too long

8
dist/human.json vendored
View File

@ -40,7 +40,7 @@
"imports": [] "imports": []
}, },
"src/face/coords.js": { "src/face/coords.js": {
"bytes": 37909, "bytes": 37915,
"imports": [] "imports": []
}, },
"src/face/facepipeline.js": { "src/face/facepipeline.js": {
@ -419,7 +419,7 @@
"dist/human.js.map": { "dist/human.js.map": {
"imports": [], "imports": [],
"inputs": {}, "inputs": {},
"bytes": 1825690 "bytes": 1825572
}, },
"dist/human.js": { "dist/human.js": {
"imports": [], "imports": [],
@ -435,7 +435,7 @@
"bytesInOutput": 2413 "bytesInOutput": 2413
}, },
"src/face/coords.js": { "src/face/coords.js": {
"bytesInOutput": 30817 "bytesInOutput": 30713
}, },
"src/face/facepipeline.js": { "src/face/facepipeline.js": {
"bytesInOutput": 9381 "bytesInOutput": 9381
@ -540,7 +540,7 @@
"bytesInOutput": 22 "bytesInOutput": 22
} }
}, },
"bytes": 1905492 "bytes": 1905388
} }
} }
} }

View File

@ -45,8 +45,8 @@ const MESH_TO_IRIS_INDICES_MAP = [ // A mapping from facemesh model keypoints to
{ key: 'EyeLower1', indices: [16, 17, 18, 19, 20, 21, 22, 23, 24] }, { key: 'EyeLower1', indices: [16, 17, 18, 19, 20, 21, 22, 23, 24] },
{ key: 'EyeLower2', indices: [32, 33, 34, 35, 36, 37, 38, 39, 40] }, { key: 'EyeLower2', indices: [32, 33, 34, 35, 36, 37, 38, 39, 40] },
{ key: 'EyeLower3', indices: [54, 55, 56, 57, 58, 59, 60, 61, 62] }, { key: 'EyeLower3', indices: [54, 55, 56, 57, 58, 59, 60, 61, 62] },
{ key: 'EyebrowUpper', indices: [63, 64, 65, 66, 67, 68, 69, 70] }, // { key: 'EyebrowUpper', indices: [63, 64, 65, 66, 67, 68, 69, 70] },
{ key: 'EyebrowLower', indices: [48, 49, 50, 51, 52, 53] }, // { key: 'EyebrowLower', indices: [48, 49, 50, 51, 52, 53] },
]; ];
const UV468 = [ const UV468 = [