@zappar/zappar-cv 0.4.0-beta.4 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -34
- package/README.md +2 -2
- package/lib/additional.d.ts +2 -1
- package/lib/additional.js +1 -2
- package/lib/camera-source-map.d.ts +10 -0
- package/lib/camera-source-map.js +32 -0
- package/lib/camera-source.d.ts +2 -5
- package/lib/camera-source.js +18 -32
- package/lib/cameramodel.js +18 -23
- package/lib/compatibility.js +2 -4
- package/lib/deserializer.js +1 -5
- package/lib/direct.js +12 -16
- package/lib/drawcamera.js +27 -31
- package/lib/drawface.js +5 -9
- package/lib/drawfaceproject.js +5 -9
- package/lib/drawplane.js +6 -11
- package/lib/event.js +5 -13
- package/lib/facelandmark.d.ts +1 -2
- package/lib/facelandmark.js +11 -18
- package/lib/facelandmarkdata.js +1 -4
- package/lib/facelandmarkinterface.js +1 -2
- package/lib/facemesh.js +10 -17
- package/lib/gen/zappar-client.js +11 -25
- package/lib/gen/zappar-cwrap.js +38 -33
- package/lib/gen/zappar-native.d.ts +11 -1
- package/lib/gen/zappar-native.js +20 -11
- package/lib/gen/zappar-server.js +6 -14
- package/lib/gen/zappar.d.ts +12 -0
- package/lib/gen/zappar.js +5 -11
- package/lib/gfx.d.ts +1 -0
- package/lib/gfx.js +1 -0
- package/lib/gl-state-manager.d.ts +9 -0
- package/lib/gl-state-manager.js +31 -0
- package/lib/html-element-source.d.ts +3 -20
- package/lib/html-element-source.js +39 -287
- package/lib/image-process-gl.d.ts +37 -0
- package/lib/image-process-gl.js +306 -0
- package/lib/imagebitmap-camera-source.d.ts +36 -0
- package/lib/imagebitmap-camera-source.js +273 -0
- package/lib/imagetracker.d.ts +28 -0
- package/lib/imagetracker.js +115 -0
- package/lib/index-standalone.d.ts +3 -0
- package/lib/index-standalone.js +5 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +6 -27
- package/lib/landmarkdatagenerate.js +25 -30
- package/lib/loglevel.js +9 -16
- package/lib/messages.js +4 -8
- package/lib/mstp-camera-source.d.ts +29 -0
- package/lib/mstp-camera-source.js +226 -0
- package/lib/native.d.ts +2 -1
- package/lib/native.js +229 -130
- package/lib/options.d.ts +3 -0
- package/lib/options.js +1 -0
- package/lib/permission.js +13 -27
- package/lib/pipeline.d.ts +14 -5
- package/lib/pipeline.js +125 -61
- package/lib/profile.d.ts +2 -0
- package/lib/profile.js +59 -53
- package/lib/riff-reader.d.ts +18 -0
- package/lib/riff-reader.js +52 -0
- package/lib/sequencerecorder.d.ts +1 -0
- package/lib/sequencerecorder.js +17 -11
- package/lib/sequencesource.d.ts +7 -1
- package/lib/sequencesource.js +102 -64
- package/lib/serializer.js +1 -5
- package/lib/shader.js +2 -7
- package/lib/source.d.ts +6 -4
- package/lib/source.js +1 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -4
- package/lib/worker-client.d.ts +1 -1
- package/lib/worker-client.js +9 -26
- package/lib/worker-imagebitmap.d.ts +5 -0
- package/lib/worker-imagebitmap.js +59 -0
- package/lib/worker-server.d.ts +0 -5
- package/lib/worker-server.js +133 -41
- package/lib/worker.js +6 -10
- package/lib/workerinterface.d.ts +47 -1
- package/lib/workerinterface.js +1 -2
- package/lib/zcv.js +117 -135
- package/lib/zcv.wasm +0 -0
- package/package.json +33 -32
- package/umd/169.zappar-cv.js +1 -0
- package/umd/{482727c0e7dd40d73f5aae47f238ad61.zbin → 482727c0e7dd40d73f5a.zbin} +0 -0
- package/umd/6a8309f88f836a752c68.wasm +0 -0
- package/umd/752.zappar-cv.js +1 -0
- package/umd/{b4f46e148a3b3b5aef90717d8d60e3fc.zbin → b4f46e148a3b3b5aef90.zbin} +0 -0
- package/umd/{f7b62a3a53b5c9b3222ba8dc53cb8b11.zbin → f7b62a3a53b5c9b3222b.zbin} +0 -0
- package/umd/zappar-cv.js +1 -9
- package/umd/zappar-cv.worker.js +1 -1
- package/lib/bundleworker-mainthread.d.ts +0 -2
- package/lib/bundleworker-mainthread.js +0 -36
- package/lib/bundleworker-worker.d.ts +0 -6
- package/lib/bundleworker-worker.js +0 -34
- package/lib/zcv-slam.js +0 -16
- package/lib/zcv-slam.wasm +0 -0
- package/umd/1ec038c18c27f4adf35917a8175401f0.wasm +0 -0
- package/umd/9c0b0dcf514b48c05541.bundleworker.js +0 -1
- package/umd/d115e485cffe500afc4f7c1272ea8f62.wasm +0 -0
package/lib/drawcamera.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const gl_matrix_1 = require("gl-matrix");
|
|
6
|
-
class CameraDraw {
|
|
1
|
+
import { compileShader, linkProgram } from "./shader";
|
|
2
|
+
import { mat4, vec3 } from "gl-matrix";
|
|
3
|
+
let identity = mat4.create();
|
|
4
|
+
export class CameraDraw {
|
|
7
5
|
constructor(_gl) {
|
|
8
6
|
this._gl = _gl;
|
|
9
7
|
}
|
|
@@ -47,7 +45,7 @@ class CameraDraw {
|
|
|
47
45
|
let vbo = this._generate(gl, i);
|
|
48
46
|
gl.activeTexture(gl.TEXTURE0);
|
|
49
47
|
gl.useProgram(shader.prog);
|
|
50
|
-
gl.uniformMatrix4fv(shader.unif_skinTexTransform, false, cameraFrameTextureMatrix(i.dataWidth, i.dataHeight, screenWidth, screenHeight, i.uvTransform, mirror));
|
|
48
|
+
gl.uniformMatrix4fv(shader.unif_skinTexTransform, false, cameraFrameTextureMatrix(i.dataWidth, i.dataHeight, screenWidth, screenHeight, i.uvTransform || identity, mirror));
|
|
51
49
|
gl.uniform1i(shader.unif_skinSampler, 0);
|
|
52
50
|
gl.bindTexture(gl.TEXTURE_2D, i.texture);
|
|
53
51
|
gl.bindBuffer(gl.ARRAY_BUFFER, vbo);
|
|
@@ -68,11 +66,11 @@ class CameraDraw {
|
|
|
68
66
|
let prog = gl.createProgram();
|
|
69
67
|
if (!prog)
|
|
70
68
|
throw new Error("Unable to create program");
|
|
71
|
-
let vertexShader =
|
|
72
|
-
let fragmentShader =
|
|
69
|
+
let vertexShader = compileShader(gl, gl.VERTEX_SHADER, vertexShaderSrc);
|
|
70
|
+
let fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fragmentShaderSrc);
|
|
73
71
|
gl.attachShader(prog, vertexShader);
|
|
74
72
|
gl.attachShader(prog, fragmentShader);
|
|
75
|
-
|
|
73
|
+
linkProgram(gl, prog);
|
|
76
74
|
let unif_skinTexTransform = gl.getUniformLocation(prog, "skinTexTransform");
|
|
77
75
|
if (!unif_skinTexTransform)
|
|
78
76
|
throw new Error("Unable to get uniform location skinTexTransform");
|
|
@@ -89,7 +87,6 @@ class CameraDraw {
|
|
|
89
87
|
return this._shader;
|
|
90
88
|
}
|
|
91
89
|
}
|
|
92
|
-
exports.CameraDraw = CameraDraw;
|
|
93
90
|
let vertexShaderSrc = `
|
|
94
91
|
#ifndef GL_ES
|
|
95
92
|
#define highp
|
|
@@ -148,45 +145,44 @@ function cameraRotationForScreenOrientation() {
|
|
|
148
145
|
}
|
|
149
146
|
return 0;
|
|
150
147
|
}
|
|
151
|
-
function cameraFrameTextureMatrix(frameWidth, frameHeight, screenWidth, screenHeight, uvMatrix, mirror) {
|
|
152
|
-
let ret =
|
|
153
|
-
let trans =
|
|
148
|
+
export function cameraFrameTextureMatrix(frameWidth, frameHeight, screenWidth, screenHeight, uvMatrix, mirror) {
|
|
149
|
+
let ret = mat4.create();
|
|
150
|
+
let trans = mat4.create();
|
|
154
151
|
// Translate to centre UV coords
|
|
155
|
-
|
|
156
|
-
|
|
152
|
+
mat4.fromTranslation(trans, [-0.5, -0.5, 0]);
|
|
153
|
+
mat4.multiply(ret, trans, ret);
|
|
157
154
|
if (mirror) {
|
|
158
|
-
|
|
159
|
-
|
|
155
|
+
mat4.fromScaling(trans, [-1, 1, 1]);
|
|
156
|
+
mat4.multiply(ret, trans, ret);
|
|
160
157
|
}
|
|
161
158
|
// Apply rotation back into ZCV's landscape space
|
|
162
|
-
|
|
163
|
-
|
|
159
|
+
mat4.fromRotation(trans, -1 * cameraRotationForScreenOrientation() * Math.PI / 180.0, [0, 0, 1]);
|
|
160
|
+
mat4.multiply(ret, trans, ret);
|
|
164
161
|
// Get our screenWidth and screenHeight into that same space
|
|
165
|
-
let vec =
|
|
162
|
+
let vec = vec3.create();
|
|
166
163
|
vec[0] = screenWidth;
|
|
167
164
|
vec[1] = screenHeight;
|
|
168
165
|
vec[2] = 0;
|
|
169
|
-
|
|
166
|
+
vec3.transformMat4(vec, vec, trans);
|
|
170
167
|
let absScreenX = Math.abs(vec[0]);
|
|
171
168
|
let absScreenY = Math.abs(vec[1]);
|
|
172
169
|
// Apply a flip since the texture is upside-down
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
mat4.fromScaling(trans, [1, -1, 1]);
|
|
171
|
+
mat4.multiply(ret, trans, ret);
|
|
175
172
|
// Apply cropping
|
|
176
173
|
let screenAspect = absScreenX / absScreenY;
|
|
177
174
|
let frameAspect = frameWidth / frameHeight;
|
|
178
175
|
if (screenAspect > frameAspect) {
|
|
179
|
-
|
|
176
|
+
mat4.fromScaling(trans, [1, frameAspect / screenAspect, 1]);
|
|
180
177
|
}
|
|
181
178
|
else {
|
|
182
|
-
|
|
179
|
+
mat4.fromScaling(trans, [screenAspect / frameAspect, 1, 1]);
|
|
183
180
|
}
|
|
184
|
-
|
|
181
|
+
mat4.multiply(ret, trans, ret);
|
|
185
182
|
// Translate back to UV coords
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
mat4.fromTranslation(trans, [0.5, 0.5, 0]);
|
|
184
|
+
mat4.multiply(ret, trans, ret);
|
|
188
185
|
// Apply the camera frame's UV matrix
|
|
189
|
-
|
|
186
|
+
mat4.multiply(ret, uvMatrix, ret);
|
|
190
187
|
return ret;
|
|
191
188
|
}
|
|
192
|
-
exports.cameraFrameTextureMatrix = cameraFrameTextureMatrix;
|
package/lib/drawface.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.FaceDraw = void 0;
|
|
4
|
-
const shader_1 = require("./shader");
|
|
5
|
-
class FaceDraw {
|
|
1
|
+
import { compileShader, linkProgram } from "./shader";
|
|
2
|
+
export class FaceDraw {
|
|
6
3
|
constructor(_gl) {
|
|
7
4
|
this._gl = _gl;
|
|
8
5
|
}
|
|
@@ -82,11 +79,11 @@ class FaceDraw {
|
|
|
82
79
|
let prog = gl.createProgram();
|
|
83
80
|
if (!prog)
|
|
84
81
|
throw new Error("Unable to create program");
|
|
85
|
-
let vertexShader =
|
|
86
|
-
let fragmentShader =
|
|
82
|
+
let vertexShader = compileShader(gl, gl.VERTEX_SHADER, vertexShaderSrc);
|
|
83
|
+
let fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fragmentShaderSrc);
|
|
87
84
|
gl.attachShader(prog, vertexShader);
|
|
88
85
|
gl.attachShader(prog, fragmentShader);
|
|
89
|
-
|
|
86
|
+
linkProgram(gl, prog);
|
|
90
87
|
let unif_matrix = gl.getUniformLocation(prog, "matrix");
|
|
91
88
|
if (!unif_matrix)
|
|
92
89
|
throw new Error("Unable to get uniform location mattrix");
|
|
@@ -99,7 +96,6 @@ class FaceDraw {
|
|
|
99
96
|
return this._shader;
|
|
100
97
|
}
|
|
101
98
|
}
|
|
102
|
-
exports.FaceDraw = FaceDraw;
|
|
103
99
|
let vertexShaderSrc = `
|
|
104
100
|
#ifndef GL_ES
|
|
105
101
|
#define highp
|
package/lib/drawfaceproject.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.FaceDrawProject = void 0;
|
|
4
|
-
const shader_1 = require("./shader");
|
|
5
|
-
class FaceDrawProject {
|
|
1
|
+
import { compileShader, linkProgram } from "./shader";
|
|
2
|
+
export class FaceDrawProject {
|
|
6
3
|
constructor(_gl) {
|
|
7
4
|
this._gl = _gl;
|
|
8
5
|
}
|
|
@@ -89,11 +86,11 @@ class FaceDrawProject {
|
|
|
89
86
|
let prog = gl.createProgram();
|
|
90
87
|
if (!prog)
|
|
91
88
|
throw new Error("Unable to create program");
|
|
92
|
-
let vertexShader =
|
|
93
|
-
let fragmentShader =
|
|
89
|
+
let vertexShader = compileShader(gl, gl.VERTEX_SHADER, vertexShaderSrc);
|
|
90
|
+
let fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fragmentShaderSrc);
|
|
94
91
|
gl.attachShader(prog, vertexShader);
|
|
95
92
|
gl.attachShader(prog, fragmentShader);
|
|
96
|
-
|
|
93
|
+
linkProgram(gl, prog);
|
|
97
94
|
let unif_matrix = gl.getUniformLocation(prog, "matrix");
|
|
98
95
|
if (!unif_matrix)
|
|
99
96
|
throw new Error("Unable to get uniform location matrix");
|
|
@@ -115,7 +112,6 @@ class FaceDrawProject {
|
|
|
115
112
|
return this._shader;
|
|
116
113
|
}
|
|
117
114
|
}
|
|
118
|
-
exports.FaceDrawProject = FaceDrawProject;
|
|
119
115
|
let vertexShaderSrc = `
|
|
120
116
|
#ifndef GL_ES
|
|
121
117
|
#define highp
|
package/lib/drawplane.js
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.drawPlane = exports.disposeDrawPlane = void 0;
|
|
4
|
-
const shader_1 = require("./shader");
|
|
1
|
+
import { compileShader, linkProgram } from "./shader";
|
|
5
2
|
let shader;
|
|
6
3
|
let vbo;
|
|
7
4
|
let uvbo;
|
|
8
5
|
let texturesByUrl = {};
|
|
9
|
-
function disposeDrawPlane() {
|
|
6
|
+
export function disposeDrawPlane() {
|
|
10
7
|
shader = undefined;
|
|
11
8
|
vbo = undefined;
|
|
12
9
|
uvbo = undefined;
|
|
13
10
|
texturesByUrl = {};
|
|
14
11
|
}
|
|
15
|
-
exports.disposeDrawPlane = disposeDrawPlane;
|
|
16
12
|
function generate(gl) {
|
|
17
13
|
if (vbo)
|
|
18
14
|
return vbo;
|
|
@@ -47,7 +43,7 @@ function generateUVBO(gl) {
|
|
|
47
43
|
gl.bindBuffer(gl.ARRAY_BUFFER, null);
|
|
48
44
|
return uvbo;
|
|
49
45
|
}
|
|
50
|
-
function drawPlane(gl, projectionMatrix, cameraMatrix, targetMatrix, textureUrl) {
|
|
46
|
+
export function drawPlane(gl, projectionMatrix, cameraMatrix, targetMatrix, textureUrl) {
|
|
51
47
|
let shader = getShader(gl);
|
|
52
48
|
let v = generate(gl);
|
|
53
49
|
let uvbo = generateUVBO(gl);
|
|
@@ -69,7 +65,6 @@ function drawPlane(gl, projectionMatrix, cameraMatrix, targetMatrix, textureUrl)
|
|
|
69
65
|
gl.disableVertexAttribArray(shader.attr_position);
|
|
70
66
|
gl.bindBuffer(gl.ARRAY_BUFFER, null);
|
|
71
67
|
}
|
|
72
|
-
exports.drawPlane = drawPlane;
|
|
73
68
|
function generateLocalMatrix() {
|
|
74
69
|
let position = [0, 0, -5];
|
|
75
70
|
return new Float32Array([1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, position[0], position[1], position[2], 1]);
|
|
@@ -118,11 +113,11 @@ function getShader(gl) {
|
|
|
118
113
|
let prog = gl.createProgram();
|
|
119
114
|
if (!prog)
|
|
120
115
|
throw new Error("Unable to create program");
|
|
121
|
-
let vertexShader =
|
|
122
|
-
let fragmentShader =
|
|
116
|
+
let vertexShader = compileShader(gl, gl.VERTEX_SHADER, vertexShaderSrc);
|
|
117
|
+
let fragmentShader = compileShader(gl, gl.FRAGMENT_SHADER, fragmentShaderSrc);
|
|
123
118
|
gl.attachShader(prog, vertexShader);
|
|
124
119
|
gl.attachShader(prog, fragmentShader);
|
|
125
|
-
|
|
120
|
+
linkProgram(gl, prog);
|
|
126
121
|
let unif_proj = gl.getUniformLocation(prog, "projMatrix");
|
|
127
122
|
if (!unif_proj)
|
|
128
123
|
throw new Error("Unable to get uniform location projMatrix");
|
package/lib/event.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Event5 = exports.Event3 = exports.Event2 = exports.Event1 = exports.Event = void 0;
|
|
4
|
-
class Event {
|
|
1
|
+
export class Event {
|
|
5
2
|
constructor() {
|
|
6
3
|
this._funcs = [];
|
|
7
4
|
}
|
|
@@ -20,8 +17,7 @@ class Event {
|
|
|
20
17
|
}
|
|
21
18
|
}
|
|
22
19
|
}
|
|
23
|
-
|
|
24
|
-
class Event1 {
|
|
20
|
+
export class Event1 {
|
|
25
21
|
constructor() {
|
|
26
22
|
this._funcs = [];
|
|
27
23
|
}
|
|
@@ -40,8 +36,7 @@ class Event1 {
|
|
|
40
36
|
}
|
|
41
37
|
}
|
|
42
38
|
}
|
|
43
|
-
|
|
44
|
-
class Event2 {
|
|
39
|
+
export class Event2 {
|
|
45
40
|
constructor() {
|
|
46
41
|
this._funcs = [];
|
|
47
42
|
}
|
|
@@ -60,8 +55,7 @@ class Event2 {
|
|
|
60
55
|
}
|
|
61
56
|
}
|
|
62
57
|
}
|
|
63
|
-
|
|
64
|
-
class Event3 {
|
|
58
|
+
export class Event3 {
|
|
65
59
|
constructor() {
|
|
66
60
|
this._funcs = [];
|
|
67
61
|
}
|
|
@@ -80,8 +74,7 @@ class Event3 {
|
|
|
80
74
|
}
|
|
81
75
|
}
|
|
82
76
|
}
|
|
83
|
-
|
|
84
|
-
class Event5 {
|
|
77
|
+
export class Event5 {
|
|
85
78
|
constructor() {
|
|
86
79
|
this._funcs = [];
|
|
87
80
|
}
|
|
@@ -100,4 +93,3 @@ class Event5 {
|
|
|
100
93
|
}
|
|
101
94
|
}
|
|
102
95
|
}
|
|
103
|
-
exports.Event5 = Event5;
|
package/lib/facelandmark.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { zappar_face_landmark_t, face_landmark_name_t } from "./gen/zappar";
|
|
2
|
-
import { mat4 } from "gl-matrix";
|
|
3
2
|
export declare function createFaceLandmark(n: face_landmark_name_t): zappar_face_landmark_t;
|
|
4
3
|
export declare function destroyFaceLandmark(m: zappar_face_landmark_t): void;
|
|
5
4
|
export declare function getFaceLandmark(m: zappar_face_landmark_t): FaceLandmark | undefined;
|
|
6
5
|
export declare class FaceLandmark {
|
|
7
6
|
private _name;
|
|
8
|
-
anchor_pose:
|
|
7
|
+
anchor_pose: Float32Array;
|
|
9
8
|
constructor(_name: face_landmark_name_t);
|
|
10
9
|
private _getVertex;
|
|
11
10
|
update(identity: Float32Array, expression: Float32Array, mirrored: boolean): void;
|
package/lib/facelandmark.js
CHANGED
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const gl_matrix_1 = require("gl-matrix");
|
|
5
|
-
const facelandmarkdata_1 = require("./facelandmarkdata");
|
|
6
|
-
const loglevel_1 = require("./loglevel");
|
|
1
|
+
import { mat4 } from "gl-matrix";
|
|
2
|
+
import { landmarkData } from "./facelandmarkdata";
|
|
3
|
+
import { zcout } from "./loglevel";
|
|
7
4
|
let latestFaceLandmark = 1;
|
|
8
5
|
let faceLandmarkById = new Map();
|
|
9
|
-
function createFaceLandmark(n) {
|
|
6
|
+
export function createFaceLandmark(n) {
|
|
10
7
|
let ret = (latestFaceLandmark++);
|
|
11
8
|
faceLandmarkById.set(ret, new FaceLandmark(n));
|
|
12
|
-
|
|
9
|
+
zcout("face_landmark_t initialized");
|
|
13
10
|
return ret;
|
|
14
11
|
}
|
|
15
|
-
|
|
16
|
-
function destroyFaceLandmark(m) {
|
|
12
|
+
export function destroyFaceLandmark(m) {
|
|
17
13
|
faceLandmarkById.delete(m);
|
|
18
14
|
}
|
|
19
|
-
|
|
20
|
-
function getFaceLandmark(m) {
|
|
15
|
+
export function getFaceLandmark(m) {
|
|
21
16
|
return faceLandmarkById.get(m);
|
|
22
17
|
}
|
|
23
|
-
|
|
24
|
-
class FaceLandmark {
|
|
18
|
+
export class FaceLandmark {
|
|
25
19
|
constructor(_name) {
|
|
26
20
|
this._name = _name;
|
|
27
|
-
this.anchor_pose =
|
|
21
|
+
this.anchor_pose = mat4.create();
|
|
28
22
|
}
|
|
29
23
|
_getVertex(identity, expression, data) {
|
|
30
24
|
let vert = data.mean.slice();
|
|
@@ -42,7 +36,7 @@ class FaceLandmark {
|
|
|
42
36
|
}
|
|
43
37
|
update(identity, expression, mirrored) {
|
|
44
38
|
let vert;
|
|
45
|
-
let data =
|
|
39
|
+
let data = landmarkData[this._name.toString()];
|
|
46
40
|
if (!data)
|
|
47
41
|
return;
|
|
48
42
|
if (Array.isArray(data)) {
|
|
@@ -57,7 +51,6 @@ class FaceLandmark {
|
|
|
57
51
|
}
|
|
58
52
|
if (mirrored)
|
|
59
53
|
vert[0] *= -1;
|
|
60
|
-
|
|
54
|
+
mat4.fromTranslation(this.anchor_pose, vert);
|
|
61
55
|
}
|
|
62
56
|
}
|
|
63
|
-
exports.FaceLandmark = FaceLandmark;
|
package/lib/facelandmarkdata.js
CHANGED
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.landmarkData = void 0;
|
|
4
|
-
exports.landmarkData = { 0: [{ mean: [0.235, 0.2344, 0.7305], identity: [0.008, 0.0087, 0.0024, -0.0026, 0.0006, -0.0022, 0.0005, 0.0033, 0.0026, 0.0017, -0.0055, -0.0008, 0.0011, 0.0059, 0, 0.0002, 0.001, -0.001, -0.0044, -0.0011, -0.0001, 0.0024, 0.0019, -0.0009, 0.0004, -0.0015, 0, 0.0038, 0.0013, 0.0003, 0.002, -0.0021, 0.0018, 0.0023, 0.0011, 0.0012, -0.0011, -0.0017, 0.0009, -0.0012, -0.0008, 0.0007, -0.0017, 0.0029, -0.0029, 0.0008, -0.0027, 0.0008, -0.0017, 0.0004, 0.0009, -0.001, -0.0003, 0.0008, -0.0016, -0.0003, -0.0007, 0.0016, -0.0009, 0.0021, -0.0005, 0.0011, -0.0024, -0.0001, 0.0006, 0.0001, -0.0026, -0.0004, -0.0003, -0.0009, 0.0005, 0.0003, -0.0008, -0.001, -0.0004, -0.0008, 0.0022, -0.0014, -0.0001, -0.0023, 0, -0.0018, 0.0007, -0.0036, 0.0017, 0.0017, -0.0018, -0.0002, -0.0004, -0.0009, -0.0008, 0.0003, 0.0012, 0.0009, -0.0004, -0.0016, 0.0005, -0.0013, 0.0011, 0.0023, 0.0029, 0.0024, 0.0017, -0.0027, -0.0004, -0.001, -0.0018, -0.0015, -0.001, 0.001, -0.0013, -0.0001, -0.0002, 0.0007, 0.0003, 0.0003, -0.0016, 0.0009, -0.0021, 0.0004, 0.0014, 0.002, -0.0007, -0.0004, 0.0002, -0.0004, -0.0006, -0.0009, 0.0015, 0.0004, -0.0004, 0.0005, -0.0015, 0.0009, 0.0003, 0.0003, -0.0002, -0.0008, -0.0009, 0.0023, 0.0004, 0.0001, -0.0004, -0.0001, 0.0007, 0.0002, 0.001, 0.0001, -0.0029, -0.0005], expression: [0, 0.0003, 0.0052, -0.0007, -0.0051, -0.0103, 0, 0.0019, 0.0027, -0.0054, 0.0135, 0.035, -0.0005, -0.0006, 0.0025, -0.0045, -0.0557, -0.003, -0.0191, -0.1199, 0.0548, -0.0036, -0.0682, -0.0167, 0.0002, -0.0085, -0.0085, 0.0044, 0.0041, -0.0568, 0.0044, 0.179, 0.0065, -0.0017, -0.1006, 0.0036, -0.0267, -0.3279, 0.0301, -0.0011, -0.0173, -0.001, 0.0046, 0.2808, 0.0207, 0.0162, 0.238, -0.0225, 0.0017, 0.1041, 0.0203, 0.0005, 0.0161, 0.0031, -0.0436, 0.6504, 0.0873, -0.0099, 0.1039, 0.0048, -0.0254, 0.2534, -0.0042, 0.003, -0.0106, -0.0153, -0.0118, 0.0252, 0.0009, -0.0071, 0.0099, 0.007, -0.0724, 0.0461, -0.0235, 0.0833, 0.004, 0.0141, -0.0219, 0.0132, -0.0042, -0.0179, 0.0045, -0.0215, 0.3638, 0.0054, -0.0445] }, { mean: [0.2358, 0.1466, 0.7183], identity: [0.0077, 0.0093, 0.0001, -0.0022, 0, -0.0041, 0.0005, 0.0022, 0.0028, 0.0018, -0.0038, -0.0013, 0.001, 0.0044, -0.0002, 0, 0.0017, -0.0016, -0.0043, -0.0002, -0.0001, 0.0023, 0.0009, 0.0005, -0.0007, -0.0004, -0.0017, 0.003, 0.0007, 0.0006, 0.0011, -0.0018, 0.0005, 0.0018, -0.0008, 0.0004, -0.0023, -0.0006, -0.0003, -0.0015, -0.0014, -0.0001, -0.0018, 0.0027, -0.0026, 0.0003, -0.0031, 0.0011, -0.0026, -0.0011, 0.0012, -0.0013, -0.0002, 0.0007, -0.0021, 0.0021, 0.0004, 0.0012, -0.001, 0.002, -0.0003, 0.0002, -0.0026, -0.0003, 0.001, 0.0001, -0.0018, -0.001, 0.0009, -0.0011, 0.001, 0.0004, -0.0008, -0.0007, -0.001, -0.0003, 0.0007, -0.0005, -0.0006, -0.0019, -0.0005, -0.002, 0.0007, -0.0027, 0.0014, 0.0013, 0.0006, -0.0005, -0.0003, -0.0003, -0.001, 0, 0.0019, 0.0001, 0.0006, -0.0012, 0.0004, -0.0009, 0.0004, 0.0025, 0.0003, 0.0024, 0.0017, -0.0009, -0.0015, -0.0015, -0.001, -0.0023, -0.001, -0.0005, -0.0004, 0.0008, 0.0009, 0.0007, 0.0002, 0.0007, -0.0009, 0.0009, -0.0013, 0.0001, 0.0009, 0.0002, 0.0006, -0.0006, -0.0008, -0.0004, -0.0007, 0.0008, 0.0019, 0.0003, 0.0015, 0.0002, -0.0015, -0.0003, 0, 0.0006, 0.0003, 0.0006, -0.0006, 0.0002, 0.0005, -0.0004, 0.0012, -0.0004, 0.0002, -0.0008, 0.0006, -0.0004, 0.0002, -0.0021], expression: [-0.0034, 0.0054, 0.0069, 0.004, 0.0006, -0.0104, -0.0003, 0.0036, 0.0025, 0.0065, 0.0296, 0.0208, -0.0009, 0.0154, 0.0029, -0.0167, 0.0124, 0.004, -0.0102, 0.0351, 0.028, -0.019, 0.0146, -0.0035, -0.0023, -0.0069, -0.0051, -0.01, 0.0262, -0.028, 0.0112, 0.082, 0.023, -0.0019, -0.066, -0.0104, -0.0408, 0.0164, 0.0075, -0.0074, 0.0367, 0.0041, 0.0517, -0.0207, 0.0045, 0.0291, -0.0672, -0.0129, 0.0345, -0.1558, -0.0106, 0.0037, -0.0437, -0.0021, 0.0854, -0.1121, 0.0187, 0.0041, 0.0072, 0.0011, 0.0193, -0.0143, -0.0119, 0.005, -0.02, -0.0122, -0.008, 0.0527, 0.0036, -0.006, 0.0222, 0.007, -0.0429, 0.046, -0.0046, 0.0226, -0.0059, 0.0202, -0.0173, 0.0087, 0, -0.0067, -0.0095, -0.0153, 0.1506, -0.0017, 0.0021] }], 1: [{ mean: [-0.2271, 0.2323, 0.7319], identity: [-0.0084, 0.0097, 0.0018, 0.0041, 0.0002, -0.002, -0.0012, 0.0036, 0.0019, -0.0009, -0.0063, -0.001, -0.0003, 0.0053, 0.0006, 0.0001, 0.0005, -0.0015, 0.0044, -0.0025, -0.0015, -0.002, 0.0016, -0.0006, 0.0002, -0.0013, 0, -0.0022, 0.0002, 0.0002, -0.0025, -0.0014, 0.0015, 0.0008, 0.0002, 0.0012, 0.0006, -0.0006, 0.0017, 0, 0.0003, -0.0001, 0.0024, 0.0025, -0.0029, -0.0015, -0.0015, 0.0001, 0.0031, -0.0016, 0.0007, 0.0019, 0.0006, 0.002, 0.0009, 0.001, -0.0014, -0.002, -0.0015, 0.0029, 0.0001, 0.0005, -0.0023, 0.0008, -0.0011, 0.0019, 0.0017, -0.0003, -0.0011, -0.0003, 0.0011, -0.0008, 0.0019, -0.0022, 0.0001, 0.0015, 0.0017, -0.0008, -0.0011, -0.0022, 0.0003, 0.0022, 0.0006, -0.003, -0.0002, 0, -0.0017, -0.0002, 0, 0.0001, 0.0004, 0.0012, 0.0019, -0.0014, 0.0004, -0.0017, -0.0012, -0.0011, 0.0021, -0.0029, 0.0026, 0.0018, -0.0023, -0.0029, 0.0001, 0.0014, -0.0019, -0.0004, -0.0004, 0.0023, -0.0016, 0, -0.0009, 0.0014, -0.0015, 0.0015, -0.0016, -0.0011, -0.0022, 0.0001, -0.0018, 0.0027, -0.0013, 0.0004, -0.0001, -0.0005, 0.0011, -0.0002, 0.0015, 0.0005, -0.0009, -0.0001, 0.0029, 0.0006, 0, -0.0003, 0.0007, -0.0008, -0.0005, 0.0025, 0.0003, 0.0002, -0.0008, -0.0001, 0.0003, 0, 0.0014, 0.0002, -0.0024, 0.0001], expression: [-0.0025, -0.0009, 0.006, 0.004, -0.0027, -0.0113, -0.0008, 0.001, 0.0031, -0.0016, 0.0144, 0.0382, -0.0003, -0.0005, 0.0035, -0.0044, -0.0511, -0.0014, -0.0007, -0.1007, 0.0582, -0.0006, -0.0606, -0.0165, 0.0005, -0.0087, -0.0093, 0.0036, 0.0057, -0.0576, -0.0039, 0.1488, 0.0127, 0.0016, -0.0666, -0.0009, -0.0153, 0.3162, -0.0445, -0.0021, 0.0023, 0.0043, -0.0033, 0.2382, 0.0063, -0.0217, 0.167, -0.039, 0.0097, -0.1144, -0.0189, -0.0145, 0.6831, 0.0632, -0.0012, -0.1959, -0.0133, 0.0004, 0.1108, -0.0003, 0.0062, 0.2593, -0.0161, -0.0018, -0.0051, -0.012, 0.0162, 0.016, -0.0022, -0.0052, -0.0201, 0.0101, 0.0115, 0.0365, -0.024, -0.0059, 0.0188, -0.0336, 0.0352, 0.0224, -0.0229, 0.0146, 0.0086, -0.0273, -0.0032, 0.0103, -0.0112] }, { mean: [-0.2288, 0.1541, 0.7202], identity: [-0.0082, 0.0101, 0.0002, 0.0036, -0.0007, -0.0037, -0.0008, 0.0024, 0.0022, -0.0013, -0.0045, -0.0013, -0.0006, 0.0045, -0.0004, 0.0004, 0.0012, -0.0014, 0.0042, -0.001, -0.0007, -0.0019, 0.0003, -0.0002, 0.0012, -0.0004, -0.0012, -0.0018, -0.0004, -0.0001, -0.0014, -0.0012, 0.0001, 0.0001, -0.0017, 0.001, 0.0015, -0.0001, 0.0006, 0.0001, 0, -0.0006, 0.0028, 0.0021, -0.0025, -0.002, -0.0015, 0.0007, 0.0028, -0.0023, 0.0009, 0.0013, 0.0001, 0.0016, 0.0012, 0.0032, -0.0006, -0.0013, -0.0011, 0.0021, 0.0003, -0.0005, -0.0024, 0.0004, -0.0004, 0.0014, 0.0015, -0.0008, -0.0003, 0.0003, 0.0017, -0.0006, 0.002, -0.0018, -0.0003, 0.0009, 0.0001, 0.0002, -0.0006, -0.0015, -0.0004, 0.0022, 0.0007, -0.0023, 0, -0.0002, -0.0002, -0.0003, -0.0001, 0.0006, -0.0002, 0.0006, 0.0022, -0.0003, 0.0013, -0.0014, -0.0005, -0.0003, 0.0013, -0.0027, 0.0006, 0.0025, -0.0023, -0.0008, -0.0013, 0.0017, -0.0009, -0.0019, 0.0001, 0.0008, -0.0007, -0.0004, 0, 0.001, -0.001, 0.0019, -0.0008, -0.0015, -0.0006, -0.0002, -0.0011, 0.0008, 0.0001, 0.0009, -0.0008, -0.0004, 0.0006, 0.0007, 0.0021, -0.0004, 0.0007, -0.0005, 0.0021, -0.0007, -0.0004, -0.0009, 0.0008, 0.0003, 0.0001, 0.0003, 0.0001, 0.0009, 0.001, -0.0005, 0.0005, -0.001, 0.001, 0.0004, -0.0005, -0.0012], expression: [0.0008, 0.0037, 0.0078, -0.0004, 0.0005, -0.012, -0.0002, -0.0046, 0.0033, -0.0089, 0.0295, 0.0221, -0.0024, -0.0084, 0.0013, 0.0057, 0.0125, 0.0049, -0.0036, 0.0373, 0.0285, 0.0115, 0.0135, -0.0035, 0.0048, 0.0108, -0.0033, 0.0106, 0.0281, -0.0301, -0.0082, 0.0803, 0.0244, -0.0007, -0.0725, -0.0105, -0.0247, -0.0036, -0.0143, -0.0045, -0.029, 0.0002, -0.0303, 0.0093, -0.0021, -0.0196, -0.0754, -0.0211, 0.0326, 0.1246, 0.006, -0.0804, -0.1499, 0.0109, 0.0182, -0.0029, -0.0014, -0.0035, 0.0072, -0.0008, -0.0152, -0.0108, -0.0166, -0.0073, -0.0144, -0.0095, 0.0101, 0.047, -0.0018, -0.004, -0.0189, 0.0027, 0.0104, 0.0298, -0.0042, -0.0096, 0.0191, -0.0217, 0.0228, 0.0226, -0.0105, 0.0047, -0.0048, -0.0172, 0.0061, -0.0043, -0.0016] }], 2: { mean: [0.5396, 0.2028, 0.2496], identity: [0.0204, 0.0146, -0.0182, -0.0052, 0.0158, -0.0038, -0.0025, -0.0108, -0.006, 0.0085, -0.0044, 0.0029, 0.0042, 0.001, 0.0095, 0.0015, -0.0034, -0.0064, -0.0057, 0.0007, 0.0026, 0.0007, 0.0037, -0.0006, 0.0037, 0.0026, 0.0024, 0.0005, -0.0019, -0.0013, 0.003, -0.0028, 0.0018, -0.0009, 0.002, -0.0047, 0.004, -0.003, 0.0031, -0.0027, -0.0026, -0.0017, 0.0016, 0.0014, -0.0004, 0.0021, -0.002, 0, 0.0017, 0.0007, -0.0004, -0.0007, -0.0018, -0.0009, 0.0002, -0.0012, 0.0001, -0.0005, -0.0011, 0.0004, 0.0002, 0.0011, 0.0001, 0.0008, 0.0017, -0.0013, 0.0025, 0.0017, 0.001, 0.0002, 0.0003, 0.0005, -0.0004, -0.0001, -0.0005, 0.0007, -0.0022, -0.0029, 0.0006, -0.0008, -0.0006, 0.0006, -0.0005, 0.0005, 0.0013, 0.0003, -0.0005, -0.003, 0.0007, 0.0002, 0.0016, -0.0004, 0, 0, 0.0004, 0.0001, 0.0014, 0.0012, 0.0001, 0.0004, -0.0001, 0.0008, 0.0009, 0.0004, -0.0004, 0.0009, -0.0002, 0.001, 0.0009, 0.0004, 0.0001, 0.0007, 0.0007, 0.001, -0.0017, -0.0008, 0.0002, 0.0017, -0.0003, -0.0001, 0.0004, 0.0005, 0.0007, 0.0005, -0.0001, -0.0006, -0.0001, 0.0001, -0.0003, -0.0007, -0.0002, -0.0005, 0, -0.0003, 0.0003, 0.0008, -0.0002, -0.0003, 0.0005, 0.0001, -0.0007, -0.001, -0.0002, 0.0003, 0.0004, -0.0001, 0.0007, 0, 0.0004, 0.0004], expression: [0.0001, -0.0004, 0.0001, 0, 0.0005, 0.0002, 0, 0, 0.0003, -0.0002, 0.0003, 0.0005, -0.0001, 0.0002, 0.0008, 0.0001, -0.0002, -0.0005, -0.0003, 0.0006, 0.0005, 0, 0.0001, 0.0002, 0.0001, -0.0001, -0.0006, -0.0002, 0.0005, 0, -0.0004, 0.0004, 0.0016, 0.0004, -0.0004, -0.0015, 0, 0.0001, 0.0001, -0.0003, 0.0003, 0.0019, -0.0002, 0.0007, 0.0004, 0.0004, -0.0008, -0.0015, 0.0013, -0.0016, -0.0069, 0.0004, -0.0006, -0.0019, 0, -0.0001, 0.0005, -0.0003, 0.0002, 0.0014, -0.0003, 0.0006, 0.0011, 0.0004, -0.0003, -0.0032, -0.0006, 0.0008, 0.0025, -0.0003, 0.0003, 0.0015, -0.0001, 0.0001, 0.0003, -0.0001, 0, 0, -0.0003, 0.0004, 0.0019, 0.0001, 0, -0.0008, -0.0001, 0.0001, 0.0005] }, 3: { mean: [-0.5464, 0.2141, 0.26], identity: [-0.0207, 0.0172, -0.0176, 0.0068, 0.0148, -0.0051, 0.0042, -0.0101, -0.0058, -0.0087, -0.0059, 0.0045, -0.0056, 0.0017, 0.0097, -0.0048, -0.004, -0.0044, 0.0019, 0.0002, 0.0041, -0.0052, 0.0041, 0.0002, -0.0027, 0.0006, 0.002, -0.0027, -0.0033, -0.0006, -0.004, 0.0009, -0.0012, -0.0001, -0.0026, 0.0021, -0.003, -0.0025, 0.0052, 0.0025, 0.0022, -0.0001, -0.0008, 0.0013, 0.001, 0.0004, 0.0018, 0.0014, 0.0006, -0.0005, -0.0015, -0.0039, 0.0014, -0.0001, 0.0008, -0.0002, 0.0006, -0.0005, -0.0038, -0.0012, -0.0018, -0.0003, 0.001, 0.0009, 0.0012, 0.0024, -0.0024, -0.0007, -0.0016, -0.0016, 0.0003, -0.001, -0.0014, -0.0014, 0.001, -0.0003, -0.0007, -0.0012, 0.0003, 0.0006, 0.0003, -0.0005, 0.0003, 0.0012, 0.0006, -0.0008, 0.0004, 0.0004, 0.0008, -0.0002, -0.0014, 0.0003, 0, 0.0023, -0.0003, -0.0012, -0.0013, 0.0011, -0.0002, -0.0014, -0.0001, 0.0014, 0, 0.0003, 0.0003, -0.0008, -0.0005, -0.0007, -0.0007, -0.0002, 0.0003, 0.0005, 0.0002, -0.0001, 0.0011, -0.0014, 0.0001, -0.0015, -0.0001, -0.0003, 0, -0.001, -0.0001, -0.0008, 0.0008, -0.0008, -0.0002, -0.0011, -0.0003, -0.0004, 0.0001, -0.0002, 0.0003, -0.0007, 0, 0.0003, 0.0001, -0.0008, 0.0005, 0.0001, 0.0004, 0.0014, -0.0006, -0.001, -0.0003, -0.0002, 0.0001, -0.0001, -0.0001, 0.0007], expression: [-0.0003, -0.0001, 0.0006, 0.0004, 0, -0.0007, 0, -0.0003, -0.0002, -0.0004, 0.0012, 0.0008, 0.0001, -0.0005, -0.0007, -0.0004, 0, 0.0001, -0.0004, 0.0017, 0.0007, 0, 0.0001, 0.0003, 0, 0.0004, 0.0004, 0.0005, 0.0001, -0.001, -0.0007, 0.0022, 0.0026, 0.0005, -0.0024, -0.0023, 0, 0.0001, 0.0003, 0, -0.0013, -0.0015, 0.0006, 0.0014, 0.0008, -0.0002, -0.0025, -0.0023, -0.0003, 0.0049, 0.006, -0.0002, -0.0007, -0.0002, 0, -0.0019, -0.0018, -0.0002, 0.0017, 0.0017, 0.0003, 0.0015, 0.0007, 0.0001, -0.0023, -0.0036, 0.0002, 0.0023, 0.0017, 0, -0.0005, -0.0003, -0.0003, 0.0004, 0.0002, -0.0001, -0.0003, -0.0005, 0.0001, 0.0018, 0.0025, 0.0001, -0.0006, -0.0011, 0, 0.0001, 0.0001] }, 4: { mean: [0.0018, 0.1864, 0.853], identity: [-0.0011, 0.0134, 0.0085, 0.0009, -0.0025, -0.0007, -0.0003, 0.0033, 0.0004, -0.0005, -0.0047, -0.002, 0.0007, 0.0026, -0.0069, -0.0001, 0.0036, 0.0072, 0.0005, -0.0008, -0.0047, 0.0004, -0.0008, -0.001, 0, 0.0002, -0.0036, -0.0002, -0.001, -0.0048, -0.0001, 0.0018, 0.0044, -0.0007, -0.0002, 0.0043, 0.0003, 0.002, -0.0031, 0, -0.0007, 0.0013, 0, 0.0037, 0.0033, -0.0016, -0.0012, 0.002, -0.0001, -0.0027, 0.0051, 0.0005, 0.0008, 0.0007, -0.0017, 0.0054, 0.0023, -0.0003, 0.0032, 0.0001, 0, 0.0007, -0.0005, -0.0011, 0.0002, 0.0008, 0, -0.0033, -0.0008, -0.0007, 0.0007, 0.0033, 0.0005, -0.0003, 0.0029, -0.0001, -0.0024, -0.0011, -0.002, -0.0015, -0.0019, 0.0002, 0.0007, 0.0031, 0.0006, 0.0012, 0, 0, -0.0021, 0, -0.0009, -0.0011, -0.0011, -0.0002, 0.0015, 0.001, 0.0013, 0.0008, 0.001, -0.0003, 0.0009, 0.0027, -0.0002, -0.0011, -0.0011, 0.0006, 0.0007, 0.0002, 0.0001, -0.0005, -0.0022, 0.0011, -0.0014, 0.0009, 0.0003, 0.0002, 0, -0.0006, -0.0004, -0.0011, -0.0007, 0.001, -0.0012, 0.0006, -0.0012, -0.0015, 0.0003, -0.0009, -0.0013, -0.0013, 0.0007, 0.001, -0.0011, -0.0013, 0.0015, 0.0004, 0.0001, 0.0004, -0.0001, -0.0016, -0.0016, 0.0009, -0.0007, -0.0024, 0.0005, -0.0001, -0.0017, -0.0002, 0.0003, -0.0009], expression: [-0.0017, 0.0019, 0.0097, 0.003, -0.0103, -0.0093, 0.0009, 0.0006, 0.0023, -0.0017, -0.0204, 0.0376, 0.0033, -0.0034, 0.0033, -0.0026, -0.0322, 0.0396, -0.0032, -0.0947, 0.0942, -0.0007, -0.0175, 0.0266, -0.001, -0.0006, 0.0016, 0.0025, 0.0157, -0.0142, -0.0022, 0.037, 0.015, 0.0021, -0.0102, -0.0107, 0.0036, 0.0055, -0.0051, 0.0021, 0.0003, -0.0003, 0.0004, -0.0177, 0.0074, -0.0006, -0.0357, 0.0149, -0.0066, 0.0009, 0.0013, -0.0031, 0.0016, 0.0095, 0.002, 0.0052, 0.0035, -0.0003, 0.0053, -0.0082, 0.002, 0.0022, -0.0071, -0.0011, 0.0005, 0.0055, 0.0011, 0.0003, -0.0126, -0.0004, 0.0003, -0.0023, -0.0015, 0.0059, 0.0063, -0.0042, -0.0023, 0.0055, 0.0019, 0.0017, -0.0075, 0.0006, -0.0008, 0.0018, 0.0012, 0.0012, -0.0005] }, 5: { mean: [-0.002, -0.0469, 1.0039], identity: [-0.0017, 0.0018, 0.0156, 0.0006, -0.0038, 0.0005, 0.0004, 0.0013, 0.002, -0.0004, -0.0015, -0.0051, 0.0005, -0.0007, -0.0055, -0.0001, -0.0009, 0.008, -0.0002, 0.0036, -0.0053, 0.0004, -0.0026, -0.0016, 0.0007, 0.0009, -0.009, -0.0003, 0.0007, -0.0084, 0.0015, 0.0021, 0.0032, -0.0015, 0.0018, 0.0046, -0.0003, -0.0004, -0.0001, 0.0008, -0.0044, -0.0007, -0.0008, 0.0007, 0.0048, -0.0024, -0.0003, 0.0024, 0.0002, -0.0051, 0.0058, -0.0006, 0.0028, 0.0018, -0.0021, 0.0035, 0.0057, 0.0011, 0.0065, 0, -0.0002, 0.0011, 0.003, -0.0027, 0.0008, 0.0007, 0.0003, -0.0039, -0.002, -0.0002, -0.0015, 0.0034, 0.0012, -0.0025, 0.0024, -0.0002, 0.0004, -0.0042, -0.0024, -0.001, -0.0023, 0.0016, -0.0007, 0.0039, 0.0001, -0.0005, 0.0018, 0.0003, -0.0002, -0.0009, -0.0015, 0.0003, -0.0007, -0.0001, -0.0002, 0.0023, 0.0032, 0.002, -0.0013, 0.0013, -0.0038, 0.0045, 0.0001, -0.0031, 0.0001, 0.0019, -0.0001, 0.0016, 0.0013, 0, -0.002, 0.0023, 0.0002, 0.0011, 0.0018, -0.0024, 0.0006, -0.0017, 0.002, -0.0008, -0.0021, 0.0007, 0.0011, 0.0008, 0.0004, -0.001, 0.0012, 0.0002, -0.0006, -0.0027, -0.0005, 0.001, -0.0009, 0.0001, -0.0001, 0.0008, -0.0011, 0.0022, -0.001, -0.0005, -0.0011, 0.0016, -0.0015, 0.0008, -0.0003, 0.0009, 0.0013, -0.0007, -0.0007, -0.0002], expression: [-0.0018, -0.0168, 0.0088, 0.0389, 0.1026, 0.0414, 0.2201, -0.0262, -0.0016, -0.0017, 0.0612, -0.0298, -0.0323, 0.0093, 0.0013, -0.005, 0.2207, 0.1315, -0.0004, 0.0858, -0.0303, -0.0133, 0.015, -0.008, 0.1454, 0.0114, 0.0177, -0.0077, 0.1022, 0.0356, -0.0023, 0.1088, 0.0232, 0.003, -0.0706, 0.0347, -0.0001, 0.004, -0.0011, 0.0397, -0.0096, -0.0033, 0.0029, -0.01, -0.0083, -0.0006, -0.0135, 0.0016, -0.0087, -0.0019, 0.0022, -0.004, -0.0087, 0.0105, 0.0008, -0.005, 0.0069, 0.0028, 0.0409, -0.0391, 0.003, 0.0103, 0.0051, 0.0026, 0.0776, -0.0083, -0.0062, -0.0567, 0.0268, 0.0175, 0.0017, 0.0156, -0.0043, 0.0299, -0.0395, -0.0015, 0.0051, -0.0148, 0.0125, 0.0035, 0.0603, 0.0109, -0.0645, -0.0257, 0.002, 0.0006, -0.0008] }, 6: { mean: [-0.0006, -0.1542, 0.8789], identity: [-0.0007, -0.0032, 0.01, 0, -0.0027, 0.0031, 0.0006, 0.0005, -0.0006, -0.0003, 0.0013, -0.0049, -0.0002, -0.002, -0.0046, 0.0008, -0.0011, 0.0054, 0.0002, 0.0043, -0.0027, 0.0003, -0.0022, -0.0019, 0.0008, 0.0032, -0.0069, 0, 0.0004, -0.0071, 0.0016, 0.0027, 0.0039, -0.0017, 0.0009, 0.0031, -0.0001, -0.0005, -0.0004, 0.0007, -0.0026, -0.0012, -0.0005, 0.0006, 0.0002, -0.0014, -0.0013, 0.0019, -0.0002, -0.0053, 0.0031, -0.0006, 0.0016, 0.0023, -0.0013, 0.0021, 0.0029, 0.0008, 0.0052, 0, 0.0004, 0, 0.0037, -0.0026, 0.0003, 0.002, -0.0002, -0.0024, 0.0004, -0.0004, -0.0012, 0.0008, 0.0007, -0.0023, 0.0005, 0, 0.0014, -0.0022, -0.0016, 0, -0.0012, 0.0008, -0.0007, 0.0014, -0.0006, -0.0012, -0.0003, 0.0002, 0.0012, -0.0003, -0.002, -0.0001, 0.0001, -0.0002, -0.0016, 0.0009, 0.002, 0.0019, 0, 0.0006, -0.0022, 0.0016, 0.0001, -0.0017, -0.0013, 0.001, 0.0009, -0.0001, 0.0011, 0.0003, -0.0007, 0.0014, 0.0008, 0.0013, 0.0011, -0.002, 0, -0.0015, 0.0014, 0.001, -0.0015, 0.0007, 0.0003, 0.001, -0.0001, 0.0012, 0.0007, 0.0006, -0.0004, -0.0013, -0.0012, -0.0009, -0.0011, 0.0002, -0.0005, 0.0005, 0.0004, 0.0002, 0.0001, 0, 0.0005, 0.0005, -0.0014, 0.0015, -0.0009, 0.0005, 0.0014, -0.0008, -0.0008, 0.0012], expression: [0.0008, 0.0481, 0.1653, 0.0784, 0.1008, -0.3992, 0.5088, -0.02, 0.0542, 0.001, 0.3723, -0.0151, -0.0986, 0.0283, -0.0033, -0.0121, 0.2634, 0.1202, 0.0036, -0.0529, -0.0245, -0.0297, -0.1085, 0.0495, 0.3264, 0.0083, 0.0004, -0.0314, 0.1459, -0.1142, -0.003, 0.0001, 0.1154, -0.0035, -0.0285, -0.0184, -0.0001, 0.0012, 0.0035, 0.079, -0.0103, 0.0043, 0.011, -0.004, -0.0774, -0.0047, -0.023, 0.0284, -0.0048, -0.001, 0.0149, -0.0039, 0.0046, 0.0528, -0.0006, 0.0063, 0.0376, 0.0096, 0.0558, -0.0295, 0, -0.0311, -0.0634, 0.0062, 0.0176, -0.0154, -0.0109, -0.1149, 0.0192, 0.0326, 0.0121, 0.0237, 0.0034, 0.0262, -0.0778, 0.0014, -0.0045, -0.0203, 0.0077, 0.0588, 0.0575, 0.008, -0.0557, -0.0095, 0.0032, 0.0054, -0.0042] }, 7: { mean: [0.0038, -0.2927, 0.833], identity: [0.0006, -0.0109, 0.0073, -0.0006, -0.0044, 0.0017, -0.0001, -0.0022, -0.0006, -0.0003, 0.0065, -0.0014, -0.0006, -0.0051, -0.0046, 0.0003, -0.0029, 0.003, 0.0002, 0.0038, -0.0006, 0, -0.0012, 0.0006, -0.0004, 0.0053, -0.0075, -0.0002, -0.0007, -0.0063, 0.0014, 0.0026, 0.0019, -0.0022, 0.0018, 0.0028, -0.0001, -0.0012, 0.0011, 0.0009, 0.0019, -0.0019, -0.0001, 0.0012, -0.0022, -0.0003, -0.0012, 0.0004, -0.0008, 0.0003, -0.0003, 0, 0.0017, 0.0021, -0.0004, 0.0012, 0.0022, -0.0003, 0.0026, -0.0003, 0.0004, -0.0026, 0.0032, -0.0019, 0.0003, 0.0015, 0.0001, -0.0015, 0.0013, -0.0001, 0.0001, -0.0029, 0, -0.0002, -0.0028, -0.0007, 0.0019, -0.0003, -0.0002, 0.0012, 0.0009, 0.0004, -0.001, -0.002, -0.0016, 0.0011, -0.0001, 0.0003, 0.0021, 0.0002, -0.0014, -0.0009, -0.0001, 0, -0.0002, -0.001, 0.0015, 0.0018, 0.0001, 0.0007, 0.0008, 0.0017, 0.001, -0.0009, 0.0001, 0.0004, 0.0023, -0.0001, 0.0012, 0.0001, -0.0008, 0.0002, 0.0018, 0.0006, 0.0003, 0.0001, 0.0012, -0.0003, 0.002, -0.0006, 0, -0.0001, -0.0022, 0.0004, 0.0005, 0.0011, 0.0002, -0.0013, -0.0023, 0.0006, 0.0006, -0.0005, -0.0005, 0.0009, 0.0002, 0.0002, 0.0011, -0.0003, 0.0011, 0.0015, 0.0011, 0.0003, 0.0002, 0.0008, -0.0004, -0.0008, 0.0003, 0, 0.0012, -0.0001], expression: [0.026, 0.1107, 0.3257, 0.1917, 0.3206, -1.1348, 1.0791, -0.035, 0.1549, -0.0103, 0.6953, 0.0001, -0.3262, 0.068, 0.0219, -0.0044, 0.3643, 0.2178, 0.0168, -0.2478, -0.1321, -0.0414, -0.3782, -0.0617, 0.5088, -0.0031, -0.0311, -0.0497, 0.0948, -0.385, 0.0148, -0.2224, -0.1415, -0.0074, 0.0863, -0.203, 0.0003, -0.0081, 0.0057, 0.1164, -0.0039, 0.0015, -0.0024, 0.0505, 0.1532, 0.0039, -0.0148, -0.0753, 0.0163, 0.0058, -0.0339, 0.0036, 0.0252, -0.0569, -0.0041, 0.0163, -0.0361, 0.0035, -0.018, 0.1266, 0, -0.0163, -0.0046, 0.0133, -0.1656, 0.2134, 0.0191, 0.0057, 0.0734, 0.0681, 0.0039, -0.0144, 0.029, -0.074, -0.046, 0.0122, 0.0072, -0.0162, -0.0349, -0.1234, 0.0212, -0.0355, 0.0535, 0.1218, 0.0043, -0.024, 0.0016] }, 8: { mean: [-0.0018, -0.3037, 0.8491], identity: [0.0002, -0.0112, 0.0077, -0.0004, -0.0044, 0.0024, 0.0001, -0.0021, -0.0004, -0.0004, 0.0066, -0.002, -0.0004, -0.0052, -0.0044, 0.0003, -0.0032, 0.0039, 0.0004, 0.0042, -0.0003, 0.0002, -0.0012, -0.0002, -0.0002, 0.0052, -0.0083, -0.0001, -0.0008, -0.0056, 0.0017, 0.0024, 0.0019, -0.0023, 0.002, 0.0027, -0.0002, -0.0013, 0.002, 0.0009, 0.0017, -0.0028, -0.0002, 0.0012, -0.0026, 0, -0.0016, 0.0002, -0.0005, 0.0003, -0.001, -0.0001, 0.0016, 0.0016, -0.0003, 0.0012, 0.0012, -0.0003, 0.0027, -0.0003, 0.0003, -0.0026, 0.0037, -0.0017, 0.0001, 0.0016, 0.0001, -0.0015, 0.0024, 0.0001, 0.0002, -0.0039, 0, -0.0003, -0.0033, -0.0006, 0.0017, -0.0004, -0.0004, 0.0012, 0.0018, 0.0002, -0.0012, -0.002, -0.0017, 0.0013, -0.001, 0.0003, 0.0021, 0.0004, -0.0012, -0.0006, -0.0002, 0, -0.0004, -0.0009, 0.0016, 0.0017, 0.0004, 0.0007, 0.0007, 0.001, 0.0009, -0.0008, 0.0005, 0.0005, 0.0023, 0.001, 0.0013, 0.0002, -0.0004, 0.0002, 0.0017, 0.0008, 0.0003, -0.0001, 0.0009, -0.0004, 0.0019, -0.0005, 0.0003, 0, -0.0025, 0.0003, 0.0003, 0.0011, 0.0001, -0.0015, -0.001, 0.0007, 0.0007, -0.0007, -0.0007, 0.0008, 0, 0.0001, 0.0013, -0.0004, 0.0012, 0.0014, 0.0017, 0.0004, 0.0002, 0.0003, -0.0003, -0.0009, 0.0001, 0, 0.001, -0.0004], expression: [-0.0092, 2.8809, 1.416, 0.2018, 1.1982, -0.9351, 1.4492, -0.1902, 0.1749, 0.0305, -0.167, -0.1572, -0.7354, -0.0492, 0.0115, 0.0608, 0.2971, 0.1179, 0.0046, -0.0997, -0.0041, -0.0104, 0.3379, -0.1854, 0.009, 0.0366, -0.0583, 0.0269, -0.0029, -0.4175, -0.0008, 0.1794, 0.0752, -0.0135, 0.1158, 0.1234, 0.0005, 0.003, -0.0032, 0.1034, -0.0504, -0.0055, -0.0076, -0.0772, 0.224, 0.0047, 0.0229, -0.1044, 0.0162, -0.0161, -0.0241, -0.0083, -0.1388, -0.0434, -0.0125, -0.0997, -0.0327, -0.0111, 0.1576, -0.3911, 0.0199, 0.2522, 0.142, 0.0059, -0.0721, -0.0045, 0.031, -0.1136, -0.1685, 0.0641, 0.0142, 0.0312, 0.0426, -0.1366, 0.1011, 0.0101, -0.0157, 0.0018, -0.0103, -0.0344, 0.0907, 0.0016, 0.1168, -0.0806, 0.0104, -0.0057, 0.0111] }, 9: [{ mean: [0.0038, -0.2927, 0.833], identity: [0.0006, -0.0109, 0.0073, -0.0006, -0.0044, 0.0017, -0.0001, -0.0022, -0.0006, -0.0003, 0.0065, -0.0014, -0.0006, -0.0051, -0.0046, 0.0003, -0.0029, 0.003, 0.0002, 0.0038, -0.0006, 0, -0.0012, 0.0006, -0.0004, 0.0053, -0.0075, -0.0002, -0.0007, -0.0063, 0.0014, 0.0026, 0.0019, -0.0022, 0.0018, 0.0028, -0.0001, -0.0012, 0.0011, 0.0009, 0.0019, -0.0019, -0.0001, 0.0012, -0.0022, -0.0003, -0.0012, 0.0004, -0.0008, 0.0003, -0.0003, 0, 0.0017, 0.0021, -0.0004, 0.0012, 0.0022, -0.0003, 0.0026, -0.0003, 0.0004, -0.0026, 0.0032, -0.0019, 0.0003, 0.0015, 0.0001, -0.0015, 0.0013, -0.0001, 0.0001, -0.0029, 0, -0.0002, -0.0028, -0.0007, 0.0019, -0.0003, -0.0002, 0.0012, 0.0009, 0.0004, -0.001, -0.002, -0.0016, 0.0011, -0.0001, 0.0003, 0.0021, 0.0002, -0.0014, -0.0009, -0.0001, 0, -0.0002, -0.001, 0.0015, 0.0018, 0.0001, 0.0007, 0.0008, 0.0017, 0.001, -0.0009, 0.0001, 0.0004, 0.0023, -0.0001, 0.0012, 0.0001, -0.0008, 0.0002, 0.0018, 0.0006, 0.0003, 0.0001, 0.0012, -0.0003, 0.002, -0.0006, 0, -0.0001, -0.0022, 0.0004, 0.0005, 0.0011, 0.0002, -0.0013, -0.0023, 0.0006, 0.0006, -0.0005, -0.0005, 0.0009, 0.0002, 0.0002, 0.0011, -0.0003, 0.0011, 0.0015, 0.0011, 0.0003, 0.0002, 0.0008, -0.0004, -0.0008, 0.0003, 0, 0.0012, -0.0001], expression: [0.026, 0.1107, 0.3257, 0.1917, 0.3206, -1.1348, 1.0791, -0.035, 0.1549, -0.0103, 0.6953, 0.0001, -0.3262, 0.068, 0.0219, -0.0044, 0.3643, 0.2178, 0.0168, -0.2478, -0.1321, -0.0414, -0.3782, -0.0617, 0.5088, -0.0031, -0.0311, -0.0497, 0.0948, -0.385, 0.0148, -0.2224, -0.1415, -0.0074, 0.0863, -0.203, 0.0003, -0.0081, 0.0057, 0.1164, -0.0039, 0.0015, -0.0024, 0.0505, 0.1532, 0.0039, -0.0148, -0.0753, 0.0163, 0.0058, -0.0339, 0.0036, 0.0252, -0.0569, -0.0041, 0.0163, -0.0361, 0.0035, -0.018, 0.1266, 0, -0.0163, -0.0046, 0.0133, -0.1656, 0.2134, 0.0191, 0.0057, 0.0734, 0.0681, 0.0039, -0.0144, 0.029, -0.074, -0.046, 0.0122, 0.0072, -0.0162, -0.0349, -0.1234, 0.0212, -0.0355, 0.0535, 0.1218, 0.0043, -0.024, 0.0016] }, { mean: [-0.0018, -0.3037, 0.8491], identity: [0.0002, -0.0112, 0.0077, -0.0004, -0.0044, 0.0024, 0.0001, -0.0021, -0.0004, -0.0004, 0.0066, -0.002, -0.0004, -0.0052, -0.0044, 0.0003, -0.0032, 0.0039, 0.0004, 0.0042, -0.0003, 0.0002, -0.0012, -0.0002, -0.0002, 0.0052, -0.0083, -0.0001, -0.0008, -0.0056, 0.0017, 0.0024, 0.0019, -0.0023, 0.002, 0.0027, -0.0002, -0.0013, 0.002, 0.0009, 0.0017, -0.0028, -0.0002, 0.0012, -0.0026, 0, -0.0016, 0.0002, -0.0005, 0.0003, -0.001, -0.0001, 0.0016, 0.0016, -0.0003, 0.0012, 0.0012, -0.0003, 0.0027, -0.0003, 0.0003, -0.0026, 0.0037, -0.0017, 0.0001, 0.0016, 0.0001, -0.0015, 0.0024, 0.0001, 0.0002, -0.0039, 0, -0.0003, -0.0033, -0.0006, 0.0017, -0.0004, -0.0004, 0.0012, 0.0018, 0.0002, -0.0012, -0.002, -0.0017, 0.0013, -0.001, 0.0003, 0.0021, 0.0004, -0.0012, -0.0006, -0.0002, 0, -0.0004, -0.0009, 0.0016, 0.0017, 0.0004, 0.0007, 0.0007, 0.001, 0.0009, -0.0008, 0.0005, 0.0005, 0.0023, 0.001, 0.0013, 0.0002, -0.0004, 0.0002, 0.0017, 0.0008, 0.0003, -0.0001, 0.0009, -0.0004, 0.0019, -0.0005, 0.0003, 0, -0.0025, 0.0003, 0.0003, 0.0011, 0.0001, -0.0015, -0.001, 0.0007, 0.0007, -0.0007, -0.0007, 0.0008, 0, 0.0001, 0.0013, -0.0004, 0.0012, 0.0014, 0.0017, 0.0004, 0.0002, 0.0003, -0.0003, -0.0009, 0.0001, 0, 0.001, -0.0004], expression: [-0.0092, 2.8809, 1.416, 0.2018, 1.1982, -0.9351, 1.4492, -0.1902, 0.1749, 0.0305, -0.167, -0.1572, -0.7354, -0.0492, 0.0115, 0.0608, 0.2971, 0.1179, 0.0046, -0.0997, -0.0041, -0.0104, 0.3379, -0.1854, 0.009, 0.0366, -0.0583, 0.0269, -0.0029, -0.4175, -0.0008, 0.1794, 0.0752, -0.0135, 0.1158, 0.1234, 0.0005, 0.003, -0.0032, 0.1034, -0.0504, -0.0055, -0.0076, -0.0772, 0.224, 0.0047, 0.0229, -0.1044, 0.0162, -0.0161, -0.0241, -0.0083, -0.1388, -0.0434, -0.0125, -0.0997, -0.0327, -0.0111, 0.1576, -0.3911, 0.0199, 0.2522, 0.142, 0.0059, -0.0721, -0.0045, 0.031, -0.1136, -0.1685, 0.0641, 0.0142, 0.0312, 0.0426, -0.1366, 0.1011, 0.0101, -0.0157, 0.0018, -0.0103, -0.0344, 0.0907, 0.0016, 0.1168, -0.0806, 0.0104, -0.0057, 0.0111] }], 10: { mean: [-0.007, -0.6338, 0.7695], identity: [0.0001, -0.0296, 0.0089, -0.0006, -0.0073, -0.0065, -0.0001, -0.0029, -0.0031, -0.0002, 0.0128, 0.0065, 0, -0.0116, -0.014, -0.0001, -0.0037, -0.0052, -0.0005, 0.0028, 0.003, -0.0004, 0.0041, 0.0015, 0.0006, 0.0088, -0.0076, -0.0011, -0.0015, -0.0073, 0.0007, -0.0011, 0.0019, -0.0011, -0.0005, 0.0031, -0.0001, -0.0018, 0.0009, 0.0018, 0.0038, 0.0068, -0.0004, -0.0001, 0.0061, 0.0024, 0.0024, -0.0066, -0.0006, 0.0051, 0.0014, 0.002, 0.005, -0.0035, 0.0001, -0.0034, -0.004, -0.0007, 0.001, -0.0008, 0.0001, -0.0005, -0.0021, 0.0002, 0.0045, -0.0043, -0.0012, -0.0024, -0.0014, 0.0006, 0.0034, 0.0027, -0.0008, -0.0053, 0.0014, 0.0001, 0.0013, -0.0018, 0.0006, -0.0015, 0.0029, -0.0002, -0.0035, 0.0001, -0.002, 0.0012, 0.0048, 0.0011, 0.0001, -0.0002, -0.0003, -0.0012, 0.0033, 0.0006, 0.002, -0.0033, 0.0004, 0.0028, 0.0002, 0.0008, -0.0001, -0.0018, 0.0008, 0.0017, 0.0001, 0.0009, 0.0008, 0.0003, 0.0019, -0.001, 0.001, -0.0007, -0.0013, 0, 0.0001, 0.0032, -0.0001, 0.0001, 0.0011, -0.0004, 0.0005, -0.0007, 0.0018, -0.0003, 0.0002, 0.0007, 0.0008, -0.0014, 0.0007, 0.0015, -0.0006, -0.0001, -0.0004, 0.0019, -0.0009, -0.0006, -0.0006, -0.0012, 0.0002, -0.0012, -0.0008, 0.0004, 0.0006, -0.0011, 0.0003, 0.0009, -0.0004, 0.0006, -0.0007, -0.0004], expression: [-0.0603, 2.0527, 1.9014, 0.1025, 0.6143, 0.3804, 0.7881, -0.1023, -0.0764, 0.0454, -0.2487, -0.5073, -0.6704, -0.031, -0.0181, 0.0466, 0.0651, -0.0726, -0.0033, -0.0022, 0.2944, 0.0101, 0.1669, -0.5225, -0.4685, 0.0236, 0.0079, 0.011, 0.2173, 0.4529, 0.0121, -0.2104, -0.0673, 0.0225, -0.4023, 0.0317, -0.0009, 0.0076, -0.0032, 0.0333, 0.0523, 0.0129, -0.001, -0.0319, -0.0139, 0.0015, -0.0044, 0.0247, -0.0005, 0.0161, 0.0061, 0.0074, 0.0776, -0.0176, 0.007, 0.055, -0.017, 0.0052, -0.1819, 0.0294, -0.0161, -0.0337, 0.0226, -0.008, -0.0297, 0.1967, -0.0095, 0.0383, 0.2039, 0.0434, 0.0271, -0.0064, -0.0037, -0.0294, -0.024, 0.0024, -0.0137, -0.0209, -0.0031, 0.0628, 0.1003, -0.0126, -0.056, -0.0097, -0.0012, -0.0041, 0.0162] }, 11: { mean: [0.2505, 0.3833, 0.7793], identity: [0.0098, 0.012, 0.0077, -0.0006, -0.0003, 0, 0.0001, 0.0082, -0.0007, 0.0019, -0.0036, -0.0012, 0.0002, 0.0119, -0.0039, 0.001, 0.0001, 0.0031, -0.0036, -0.0059, -0.0007, 0.0026, 0.0028, -0.0011, 0.0009, -0.0032, 0.0008, 0.0029, 0.0043, 0.0003, 0.0025, -0.0009, 0.0047, 0.0016, 0.0022, 0.0018, -0.001, 0.0025, -0.003, -0.001, 0.0033, 0.0034, 0.0004, -0.0052, 0.0024, -0.0002, 0.001, -0.0014, -0.0006, 0.0038, -0.0015, -0.0006, -0.001, -0.0011, -0.0004, -0.001, 0.0004, -0.0007, 0.0036, -0.0008, -0.0002, -0.0019, 0.0005, 0.0003, -0.0006, -0.0024, -0.0017, -0.0014, 0.0006, -0.0004, -0.0031, -0.0013, -0.0006, 0.0042, 0.0002, -0.0002, -0.002, -0.0003, 0.0008, 0.0018, -0.0005, -0.0006, -0.0002, -0.0006, 0.0025, 0.0019, 0.001, 0.0008, -0.0015, -0.0012, -0.0001, -0.0006, -0.0004, 0.0023, -0.001, 0.0006, -0.0002, -0.001, 0, -0.0009, -0.002, -0.0011, 0.0001, 0, -0.0001, 0.0005, 0.0006, 0.0009, -0.0006, 0.0005, 0.0008, -0.0001, -0.0002, -0.0017, -0.0006, -0.0004, 0.0004, -0.0006, 0.0012, 0.0004, 0.0003, -0.0007, 0.0003, -0.0002, 0.0006, 0.0001, 0.0005, -0.0019, -0.0006, 0.0004, 0.0007, -0.0001, 0.0001, 0.0005, 0.001, -0.0006, -0.002, -0.0007, -0.0005, 0.0005, 0.0003, 0.0007, 0.0014, 0, 0.0005, -0.0005, -0.0002, 0.0003, -0.0006, -0.0001], expression: [-0.0009, -0.0003, 0.0032, -0.003, -0.0034, -0.0031, 0.0014, 0, 0.0004, -0.0139, -0.0764, 0.0275, -0.002, -0.0089, 0.0031, -0.0503, -0.0771, 0.038, -0.1323, -0.3523, 0.1368, -0.0474, -0.0564, 0.0296, -0.0045, 0.007, -0.0013, 0.0153, 0.1259, -0.0464, 0.0866, 0.2175, -0.0786, -0.0413, -0.1248, 0.0448, -0.1777, -0.4607, 0.1782, -0.0005, -0.005, 0.0016, 0.0629, 0.1506, -0.0624, 0.0545, 0.2576, -0.0864, -0.0231, -0.0552, 0.0244, -0.0136, -0.0359, 0.0169, -0.1158, -0.2996, 0.1214, -0.0235, -0.0354, 0.0165, -0.0745, -0.1079, 0.0475, -0.0116, -0.0039, 0.0012, 0.0013, -0.0108, -0.0008, 0.0044, -0.0027, -0.0001, -0.0694, 0.0363, 0.0071, 0.1462, -0.136, 0.0047, 0.009, -0.0177, 0.0038, -0.0271, 0.0118, 0.0011, -0.0399, -0.0111, 0.0123] }, 12: { mean: [-0.2981, 0.3828, 0.7563], identity: [-0.0116, 0.014, 0.0054, 0.0018, 0.0005, 0, -0.0004, 0.0068, -0.0013, -0.0019, -0.0048, -0.0005, 0.0005, 0.0108, -0.0036, -0.0029, -0.0018, 0.0029, 0.0043, -0.0077, 0.0006, -0.0017, 0.002, -0.0011, -0.0014, -0.0035, 0.0015, -0.0024, 0.0011, 0.0004, -0.0048, 0.0002, 0.0029, -0.0001, -0.0001, 0.003, 0.0019, 0.0035, -0.0016, -0.0004, 0.0039, 0.0019, 0.0001, -0.0064, 0.004, 0.0003, 0.002, -0.0021, 0.0017, 0.0011, -0.001, 0.0026, 0.0025, -0.0005, 0.0002, -0.0003, -0.0005, -0.0007, 0.0009, -0.0004, -0.001, -0.0022, 0.001, 0.0009, -0.0014, 0.0007, 0.0011, -0.001, -0.0005, -0.0008, -0.0017, -0.0021, 0.0009, 0.0036, 0.0005, 0.0004, -0.0031, 0.0006, -0.0015, 0.0027, 0.0002, 0.0001, -0.0011, 0.0002, -0.0011, -0.0018, 0.0004, -0.0013, -0.0002, 0.0007, 0.0009, -0.0003, 0.001, -0.0021, 0.0008, 0.0006, -0.0009, 0.0004, -0.0007, 0.0008, -0.002, -0.0013, 0, 0.0007, -0.0012, -0.0001, 0.0014, 0.0014, -0.0001, 0.0013, 0.0006, 0.0006, -0.0014, -0.0015, -0.0009, 0.0001, 0.0001, 0.0009, 0.0007, 0, 0.0001, -0.001, -0.0004, 0, -0.0005, 0.0001, -0.0003, 0.0004, -0.0005, -0.0001, -0.0011, 0.0002, 0, 0.0001, 0.0008, 0.0008, 0, -0.0007, -0.0008, 0, 0.0002, -0.0001, 0.001, 0.0003, 0.0004, -0.0002, 0, 0.0005, 0.0018, -0.0001], expression: [0, -0.0004, 0.0028, 0.0036, -0.0008, -0.0026, -0.0015, -0.0008, 0.0003, 0.0075, -0.0608, 0.025, 0.0019, -0.0076, 0.0033, 0.0379, -0.0437, 0.0335, 0.0964, -0.2452, 0.1233, 0.0368, -0.0251, 0.0253, 0.0033, 0.0097, -0.0021, -0.0095, 0.1171, -0.0475, -0.064, 0.1548, -0.0718, 0.0228, -0.0831, 0.0343, -0.1924, 0.6206, -0.2771, 0.0021, -0.0143, 0.0056, -0.0705, 0.2522, -0.1116, -0.0692, 0.4229, -0.1592, -0.0093, 0.05, -0.0185, 0.0948, -0.3196, 0.1437, -0.0184, 0.0194, -0.0131, 0.0205, -0.0353, 0.0201, 0.0676, -0.135, 0.0672, 0.0137, -0.0311, 0.0118, 0.0003, -0.0077, -0.0002, -0.0151, 0.0004, -0.0058, 0.029, -0.0139, 0.0163, 0.1324, 0.1819, -0.0039, 0.0406, 0.0501, 0.0017, 0.0331, 0.0161, 0.0062, -0.0235, -0.0446, 0.0047] } };
|
|
1
|
+
export const landmarkData = { 0: [{ mean: [0.235, 0.2344, 0.7305], identity: [0.008, 0.0087, 0.0024, -0.0026, 0.0006, -0.0022, 0.0005, 0.0033, 0.0026, 0.0017, -0.0055, -0.0008, 0.0011, 0.0059, 0, 0.0002, 0.001, -0.001, -0.0044, -0.0011, -0.0001, 0.0024, 0.0019, -0.0009, 0.0004, -0.0015, 0, 0.0038, 0.0013, 0.0003, 0.002, -0.0021, 0.0018, 0.0023, 0.0011, 0.0012, -0.0011, -0.0017, 0.0009, -0.0012, -0.0008, 0.0007, -0.0017, 0.0029, -0.0029, 0.0008, -0.0027, 0.0008, -0.0017, 0.0004, 0.0009, -0.001, -0.0003, 0.0008, -0.0016, -0.0003, -0.0007, 0.0016, -0.0009, 0.0021, -0.0005, 0.0011, -0.0024, -0.0001, 0.0006, 0.0001, -0.0026, -0.0004, -0.0003, -0.0009, 0.0005, 0.0003, -0.0008, -0.001, -0.0004, -0.0008, 0.0022, -0.0014, -0.0001, -0.0023, 0, -0.0018, 0.0007, -0.0036, 0.0017, 0.0017, -0.0018, -0.0002, -0.0004, -0.0009, -0.0008, 0.0003, 0.0012, 0.0009, -0.0004, -0.0016, 0.0005, -0.0013, 0.0011, 0.0023, 0.0029, 0.0024, 0.0017, -0.0027, -0.0004, -0.001, -0.0018, -0.0015, -0.001, 0.001, -0.0013, -0.0001, -0.0002, 0.0007, 0.0003, 0.0003, -0.0016, 0.0009, -0.0021, 0.0004, 0.0014, 0.002, -0.0007, -0.0004, 0.0002, -0.0004, -0.0006, -0.0009, 0.0015, 0.0004, -0.0004, 0.0005, -0.0015, 0.0009, 0.0003, 0.0003, -0.0002, -0.0008, -0.0009, 0.0023, 0.0004, 0.0001, -0.0004, -0.0001, 0.0007, 0.0002, 0.001, 0.0001, -0.0029, -0.0005], expression: [0, 0.0003, 0.0052, -0.0007, -0.0051, -0.0103, 0, 0.0019, 0.0027, -0.0054, 0.0135, 0.035, -0.0005, -0.0006, 0.0025, -0.0045, -0.0557, -0.003, -0.0191, -0.1199, 0.0548, -0.0036, -0.0682, -0.0167, 0.0002, -0.0085, -0.0085, 0.0044, 0.0041, -0.0568, 0.0044, 0.179, 0.0065, -0.0017, -0.1006, 0.0036, -0.0267, -0.3279, 0.0301, -0.0011, -0.0173, -0.001, 0.0046, 0.2808, 0.0207, 0.0162, 0.238, -0.0225, 0.0017, 0.1041, 0.0203, 0.0005, 0.0161, 0.0031, -0.0436, 0.6504, 0.0873, -0.0099, 0.1039, 0.0048, -0.0254, 0.2534, -0.0042, 0.003, -0.0106, -0.0153, -0.0118, 0.0252, 0.0009, -0.0071, 0.0099, 0.007, -0.0724, 0.0461, -0.0235, 0.0833, 0.004, 0.0141, -0.0219, 0.0132, -0.0042, -0.0179, 0.0045, -0.0215, 0.3638, 0.0054, -0.0445] }, { mean: [0.2358, 0.1466, 0.7183], identity: [0.0077, 0.0093, 0.0001, -0.0022, 0, -0.0041, 0.0005, 0.0022, 0.0028, 0.0018, -0.0038, -0.0013, 0.001, 0.0044, -0.0002, 0, 0.0017, -0.0016, -0.0043, -0.0002, -0.0001, 0.0023, 0.0009, 0.0005, -0.0007, -0.0004, -0.0017, 0.003, 0.0007, 0.0006, 0.0011, -0.0018, 0.0005, 0.0018, -0.0008, 0.0004, -0.0023, -0.0006, -0.0003, -0.0015, -0.0014, -0.0001, -0.0018, 0.0027, -0.0026, 0.0003, -0.0031, 0.0011, -0.0026, -0.0011, 0.0012, -0.0013, -0.0002, 0.0007, -0.0021, 0.0021, 0.0004, 0.0012, -0.001, 0.002, -0.0003, 0.0002, -0.0026, -0.0003, 0.001, 0.0001, -0.0018, -0.001, 0.0009, -0.0011, 0.001, 0.0004, -0.0008, -0.0007, -0.001, -0.0003, 0.0007, -0.0005, -0.0006, -0.0019, -0.0005, -0.002, 0.0007, -0.0027, 0.0014, 0.0013, 0.0006, -0.0005, -0.0003, -0.0003, -0.001, 0, 0.0019, 0.0001, 0.0006, -0.0012, 0.0004, -0.0009, 0.0004, 0.0025, 0.0003, 0.0024, 0.0017, -0.0009, -0.0015, -0.0015, -0.001, -0.0023, -0.001, -0.0005, -0.0004, 0.0008, 0.0009, 0.0007, 0.0002, 0.0007, -0.0009, 0.0009, -0.0013, 0.0001, 0.0009, 0.0002, 0.0006, -0.0006, -0.0008, -0.0004, -0.0007, 0.0008, 0.0019, 0.0003, 0.0015, 0.0002, -0.0015, -0.0003, 0, 0.0006, 0.0003, 0.0006, -0.0006, 0.0002, 0.0005, -0.0004, 0.0012, -0.0004, 0.0002, -0.0008, 0.0006, -0.0004, 0.0002, -0.0021], expression: [-0.0034, 0.0054, 0.0069, 0.004, 0.0006, -0.0104, -0.0003, 0.0036, 0.0025, 0.0065, 0.0296, 0.0208, -0.0009, 0.0154, 0.0029, -0.0167, 0.0124, 0.004, -0.0102, 0.0351, 0.028, -0.019, 0.0146, -0.0035, -0.0023, -0.0069, -0.0051, -0.01, 0.0262, -0.028, 0.0112, 0.082, 0.023, -0.0019, -0.066, -0.0104, -0.0408, 0.0164, 0.0075, -0.0074, 0.0367, 0.0041, 0.0517, -0.0207, 0.0045, 0.0291, -0.0672, -0.0129, 0.0345, -0.1558, -0.0106, 0.0037, -0.0437, -0.0021, 0.0854, -0.1121, 0.0187, 0.0041, 0.0072, 0.0011, 0.0193, -0.0143, -0.0119, 0.005, -0.02, -0.0122, -0.008, 0.0527, 0.0036, -0.006, 0.0222, 0.007, -0.0429, 0.046, -0.0046, 0.0226, -0.0059, 0.0202, -0.0173, 0.0087, 0, -0.0067, -0.0095, -0.0153, 0.1506, -0.0017, 0.0021] }], 1: [{ mean: [-0.2271, 0.2323, 0.7319], identity: [-0.0084, 0.0097, 0.0018, 0.0041, 0.0002, -0.002, -0.0012, 0.0036, 0.0019, -0.0009, -0.0063, -0.001, -0.0003, 0.0053, 0.0006, 0.0001, 0.0005, -0.0015, 0.0044, -0.0025, -0.0015, -0.002, 0.0016, -0.0006, 0.0002, -0.0013, 0, -0.0022, 0.0002, 0.0002, -0.0025, -0.0014, 0.0015, 0.0008, 0.0002, 0.0012, 0.0006, -0.0006, 0.0017, 0, 0.0003, -0.0001, 0.0024, 0.0025, -0.0029, -0.0015, -0.0015, 0.0001, 0.0031, -0.0016, 0.0007, 0.0019, 0.0006, 0.002, 0.0009, 0.001, -0.0014, -0.002, -0.0015, 0.0029, 0.0001, 0.0005, -0.0023, 0.0008, -0.0011, 0.0019, 0.0017, -0.0003, -0.0011, -0.0003, 0.0011, -0.0008, 0.0019, -0.0022, 0.0001, 0.0015, 0.0017, -0.0008, -0.0011, -0.0022, 0.0003, 0.0022, 0.0006, -0.003, -0.0002, 0, -0.0017, -0.0002, 0, 0.0001, 0.0004, 0.0012, 0.0019, -0.0014, 0.0004, -0.0017, -0.0012, -0.0011, 0.0021, -0.0029, 0.0026, 0.0018, -0.0023, -0.0029, 0.0001, 0.0014, -0.0019, -0.0004, -0.0004, 0.0023, -0.0016, 0, -0.0009, 0.0014, -0.0015, 0.0015, -0.0016, -0.0011, -0.0022, 0.0001, -0.0018, 0.0027, -0.0013, 0.0004, -0.0001, -0.0005, 0.0011, -0.0002, 0.0015, 0.0005, -0.0009, -0.0001, 0.0029, 0.0006, 0, -0.0003, 0.0007, -0.0008, -0.0005, 0.0025, 0.0003, 0.0002, -0.0008, -0.0001, 0.0003, 0, 0.0014, 0.0002, -0.0024, 0.0001], expression: [-0.0025, -0.0009, 0.006, 0.004, -0.0027, -0.0113, -0.0008, 0.001, 0.0031, -0.0016, 0.0144, 0.0382, -0.0003, -0.0005, 0.0035, -0.0044, -0.0511, -0.0014, -0.0007, -0.1007, 0.0582, -0.0006, -0.0606, -0.0165, 0.0005, -0.0087, -0.0093, 0.0036, 0.0057, -0.0576, -0.0039, 0.1488, 0.0127, 0.0016, -0.0666, -0.0009, -0.0153, 0.3162, -0.0445, -0.0021, 0.0023, 0.0043, -0.0033, 0.2382, 0.0063, -0.0217, 0.167, -0.039, 0.0097, -0.1144, -0.0189, -0.0145, 0.6831, 0.0632, -0.0012, -0.1959, -0.0133, 0.0004, 0.1108, -0.0003, 0.0062, 0.2593, -0.0161, -0.0018, -0.0051, -0.012, 0.0162, 0.016, -0.0022, -0.0052, -0.0201, 0.0101, 0.0115, 0.0365, -0.024, -0.0059, 0.0188, -0.0336, 0.0352, 0.0224, -0.0229, 0.0146, 0.0086, -0.0273, -0.0032, 0.0103, -0.0112] }, { mean: [-0.2288, 0.1541, 0.7202], identity: [-0.0082, 0.0101, 0.0002, 0.0036, -0.0007, -0.0037, -0.0008, 0.0024, 0.0022, -0.0013, -0.0045, -0.0013, -0.0006, 0.0045, -0.0004, 0.0004, 0.0012, -0.0014, 0.0042, -0.001, -0.0007, -0.0019, 0.0003, -0.0002, 0.0012, -0.0004, -0.0012, -0.0018, -0.0004, -0.0001, -0.0014, -0.0012, 0.0001, 0.0001, -0.0017, 0.001, 0.0015, -0.0001, 0.0006, 0.0001, 0, -0.0006, 0.0028, 0.0021, -0.0025, -0.002, -0.0015, 0.0007, 0.0028, -0.0023, 0.0009, 0.0013, 0.0001, 0.0016, 0.0012, 0.0032, -0.0006, -0.0013, -0.0011, 0.0021, 0.0003, -0.0005, -0.0024, 0.0004, -0.0004, 0.0014, 0.0015, -0.0008, -0.0003, 0.0003, 0.0017, -0.0006, 0.002, -0.0018, -0.0003, 0.0009, 0.0001, 0.0002, -0.0006, -0.0015, -0.0004, 0.0022, 0.0007, -0.0023, 0, -0.0002, -0.0002, -0.0003, -0.0001, 0.0006, -0.0002, 0.0006, 0.0022, -0.0003, 0.0013, -0.0014, -0.0005, -0.0003, 0.0013, -0.0027, 0.0006, 0.0025, -0.0023, -0.0008, -0.0013, 0.0017, -0.0009, -0.0019, 0.0001, 0.0008, -0.0007, -0.0004, 0, 0.001, -0.001, 0.0019, -0.0008, -0.0015, -0.0006, -0.0002, -0.0011, 0.0008, 0.0001, 0.0009, -0.0008, -0.0004, 0.0006, 0.0007, 0.0021, -0.0004, 0.0007, -0.0005, 0.0021, -0.0007, -0.0004, -0.0009, 0.0008, 0.0003, 0.0001, 0.0003, 0.0001, 0.0009, 0.001, -0.0005, 0.0005, -0.001, 0.001, 0.0004, -0.0005, -0.0012], expression: [0.0008, 0.0037, 0.0078, -0.0004, 0.0005, -0.012, -0.0002, -0.0046, 0.0033, -0.0089, 0.0295, 0.0221, -0.0024, -0.0084, 0.0013, 0.0057, 0.0125, 0.0049, -0.0036, 0.0373, 0.0285, 0.0115, 0.0135, -0.0035, 0.0048, 0.0108, -0.0033, 0.0106, 0.0281, -0.0301, -0.0082, 0.0803, 0.0244, -0.0007, -0.0725, -0.0105, -0.0247, -0.0036, -0.0143, -0.0045, -0.029, 0.0002, -0.0303, 0.0093, -0.0021, -0.0196, -0.0754, -0.0211, 0.0326, 0.1246, 0.006, -0.0804, -0.1499, 0.0109, 0.0182, -0.0029, -0.0014, -0.0035, 0.0072, -0.0008, -0.0152, -0.0108, -0.0166, -0.0073, -0.0144, -0.0095, 0.0101, 0.047, -0.0018, -0.004, -0.0189, 0.0027, 0.0104, 0.0298, -0.0042, -0.0096, 0.0191, -0.0217, 0.0228, 0.0226, -0.0105, 0.0047, -0.0048, -0.0172, 0.0061, -0.0043, -0.0016] }], 2: { mean: [0.5396, 0.2028, 0.2496], identity: [0.0204, 0.0146, -0.0182, -0.0052, 0.0158, -0.0038, -0.0025, -0.0108, -0.006, 0.0085, -0.0044, 0.0029, 0.0042, 0.001, 0.0095, 0.0015, -0.0034, -0.0064, -0.0057, 0.0007, 0.0026, 0.0007, 0.0037, -0.0006, 0.0037, 0.0026, 0.0024, 0.0005, -0.0019, -0.0013, 0.003, -0.0028, 0.0018, -0.0009, 0.002, -0.0047, 0.004, -0.003, 0.0031, -0.0027, -0.0026, -0.0017, 0.0016, 0.0014, -0.0004, 0.0021, -0.002, 0, 0.0017, 0.0007, -0.0004, -0.0007, -0.0018, -0.0009, 0.0002, -0.0012, 0.0001, -0.0005, -0.0011, 0.0004, 0.0002, 0.0011, 0.0001, 0.0008, 0.0017, -0.0013, 0.0025, 0.0017, 0.001, 0.0002, 0.0003, 0.0005, -0.0004, -0.0001, -0.0005, 0.0007, -0.0022, -0.0029, 0.0006, -0.0008, -0.0006, 0.0006, -0.0005, 0.0005, 0.0013, 0.0003, -0.0005, -0.003, 0.0007, 0.0002, 0.0016, -0.0004, 0, 0, 0.0004, 0.0001, 0.0014, 0.0012, 0.0001, 0.0004, -0.0001, 0.0008, 0.0009, 0.0004, -0.0004, 0.0009, -0.0002, 0.001, 0.0009, 0.0004, 0.0001, 0.0007, 0.0007, 0.001, -0.0017, -0.0008, 0.0002, 0.0017, -0.0003, -0.0001, 0.0004, 0.0005, 0.0007, 0.0005, -0.0001, -0.0006, -0.0001, 0.0001, -0.0003, -0.0007, -0.0002, -0.0005, 0, -0.0003, 0.0003, 0.0008, -0.0002, -0.0003, 0.0005, 0.0001, -0.0007, -0.001, -0.0002, 0.0003, 0.0004, -0.0001, 0.0007, 0, 0.0004, 0.0004], expression: [0.0001, -0.0004, 0.0001, 0, 0.0005, 0.0002, 0, 0, 0.0003, -0.0002, 0.0003, 0.0005, -0.0001, 0.0002, 0.0008, 0.0001, -0.0002, -0.0005, -0.0003, 0.0006, 0.0005, 0, 0.0001, 0.0002, 0.0001, -0.0001, -0.0006, -0.0002, 0.0005, 0, -0.0004, 0.0004, 0.0016, 0.0004, -0.0004, -0.0015, 0, 0.0001, 0.0001, -0.0003, 0.0003, 0.0019, -0.0002, 0.0007, 0.0004, 0.0004, -0.0008, -0.0015, 0.0013, -0.0016, -0.0069, 0.0004, -0.0006, -0.0019, 0, -0.0001, 0.0005, -0.0003, 0.0002, 0.0014, -0.0003, 0.0006, 0.0011, 0.0004, -0.0003, -0.0032, -0.0006, 0.0008, 0.0025, -0.0003, 0.0003, 0.0015, -0.0001, 0.0001, 0.0003, -0.0001, 0, 0, -0.0003, 0.0004, 0.0019, 0.0001, 0, -0.0008, -0.0001, 0.0001, 0.0005] }, 3: { mean: [-0.5464, 0.2141, 0.26], identity: [-0.0207, 0.0172, -0.0176, 0.0068, 0.0148, -0.0051, 0.0042, -0.0101, -0.0058, -0.0087, -0.0059, 0.0045, -0.0056, 0.0017, 0.0097, -0.0048, -0.004, -0.0044, 0.0019, 0.0002, 0.0041, -0.0052, 0.0041, 0.0002, -0.0027, 0.0006, 0.002, -0.0027, -0.0033, -0.0006, -0.004, 0.0009, -0.0012, -0.0001, -0.0026, 0.0021, -0.003, -0.0025, 0.0052, 0.0025, 0.0022, -0.0001, -0.0008, 0.0013, 0.001, 0.0004, 0.0018, 0.0014, 0.0006, -0.0005, -0.0015, -0.0039, 0.0014, -0.0001, 0.0008, -0.0002, 0.0006, -0.0005, -0.0038, -0.0012, -0.0018, -0.0003, 0.001, 0.0009, 0.0012, 0.0024, -0.0024, -0.0007, -0.0016, -0.0016, 0.0003, -0.001, -0.0014, -0.0014, 0.001, -0.0003, -0.0007, -0.0012, 0.0003, 0.0006, 0.0003, -0.0005, 0.0003, 0.0012, 0.0006, -0.0008, 0.0004, 0.0004, 0.0008, -0.0002, -0.0014, 0.0003, 0, 0.0023, -0.0003, -0.0012, -0.0013, 0.0011, -0.0002, -0.0014, -0.0001, 0.0014, 0, 0.0003, 0.0003, -0.0008, -0.0005, -0.0007, -0.0007, -0.0002, 0.0003, 0.0005, 0.0002, -0.0001, 0.0011, -0.0014, 0.0001, -0.0015, -0.0001, -0.0003, 0, -0.001, -0.0001, -0.0008, 0.0008, -0.0008, -0.0002, -0.0011, -0.0003, -0.0004, 0.0001, -0.0002, 0.0003, -0.0007, 0, 0.0003, 0.0001, -0.0008, 0.0005, 0.0001, 0.0004, 0.0014, -0.0006, -0.001, -0.0003, -0.0002, 0.0001, -0.0001, -0.0001, 0.0007], expression: [-0.0003, -0.0001, 0.0006, 0.0004, 0, -0.0007, 0, -0.0003, -0.0002, -0.0004, 0.0012, 0.0008, 0.0001, -0.0005, -0.0007, -0.0004, 0, 0.0001, -0.0004, 0.0017, 0.0007, 0, 0.0001, 0.0003, 0, 0.0004, 0.0004, 0.0005, 0.0001, -0.001, -0.0007, 0.0022, 0.0026, 0.0005, -0.0024, -0.0023, 0, 0.0001, 0.0003, 0, -0.0013, -0.0015, 0.0006, 0.0014, 0.0008, -0.0002, -0.0025, -0.0023, -0.0003, 0.0049, 0.006, -0.0002, -0.0007, -0.0002, 0, -0.0019, -0.0018, -0.0002, 0.0017, 0.0017, 0.0003, 0.0015, 0.0007, 0.0001, -0.0023, -0.0036, 0.0002, 0.0023, 0.0017, 0, -0.0005, -0.0003, -0.0003, 0.0004, 0.0002, -0.0001, -0.0003, -0.0005, 0.0001, 0.0018, 0.0025, 0.0001, -0.0006, -0.0011, 0, 0.0001, 0.0001] }, 4: { mean: [0.0018, 0.1864, 0.853], identity: [-0.0011, 0.0134, 0.0085, 0.0009, -0.0025, -0.0007, -0.0003, 0.0033, 0.0004, -0.0005, -0.0047, -0.002, 0.0007, 0.0026, -0.0069, -0.0001, 0.0036, 0.0072, 0.0005, -0.0008, -0.0047, 0.0004, -0.0008, -0.001, 0, 0.0002, -0.0036, -0.0002, -0.001, -0.0048, -0.0001, 0.0018, 0.0044, -0.0007, -0.0002, 0.0043, 0.0003, 0.002, -0.0031, 0, -0.0007, 0.0013, 0, 0.0037, 0.0033, -0.0016, -0.0012, 0.002, -0.0001, -0.0027, 0.0051, 0.0005, 0.0008, 0.0007, -0.0017, 0.0054, 0.0023, -0.0003, 0.0032, 0.0001, 0, 0.0007, -0.0005, -0.0011, 0.0002, 0.0008, 0, -0.0033, -0.0008, -0.0007, 0.0007, 0.0033, 0.0005, -0.0003, 0.0029, -0.0001, -0.0024, -0.0011, -0.002, -0.0015, -0.0019, 0.0002, 0.0007, 0.0031, 0.0006, 0.0012, 0, 0, -0.0021, 0, -0.0009, -0.0011, -0.0011, -0.0002, 0.0015, 0.001, 0.0013, 0.0008, 0.001, -0.0003, 0.0009, 0.0027, -0.0002, -0.0011, -0.0011, 0.0006, 0.0007, 0.0002, 0.0001, -0.0005, -0.0022, 0.0011, -0.0014, 0.0009, 0.0003, 0.0002, 0, -0.0006, -0.0004, -0.0011, -0.0007, 0.001, -0.0012, 0.0006, -0.0012, -0.0015, 0.0003, -0.0009, -0.0013, -0.0013, 0.0007, 0.001, -0.0011, -0.0013, 0.0015, 0.0004, 0.0001, 0.0004, -0.0001, -0.0016, -0.0016, 0.0009, -0.0007, -0.0024, 0.0005, -0.0001, -0.0017, -0.0002, 0.0003, -0.0009], expression: [-0.0017, 0.0019, 0.0097, 0.003, -0.0103, -0.0093, 0.0009, 0.0006, 0.0023, -0.0017, -0.0204, 0.0376, 0.0033, -0.0034, 0.0033, -0.0026, -0.0322, 0.0396, -0.0032, -0.0947, 0.0942, -0.0007, -0.0175, 0.0266, -0.001, -0.0006, 0.0016, 0.0025, 0.0157, -0.0142, -0.0022, 0.037, 0.015, 0.0021, -0.0102, -0.0107, 0.0036, 0.0055, -0.0051, 0.0021, 0.0003, -0.0003, 0.0004, -0.0177, 0.0074, -0.0006, -0.0357, 0.0149, -0.0066, 0.0009, 0.0013, -0.0031, 0.0016, 0.0095, 0.002, 0.0052, 0.0035, -0.0003, 0.0053, -0.0082, 0.002, 0.0022, -0.0071, -0.0011, 0.0005, 0.0055, 0.0011, 0.0003, -0.0126, -0.0004, 0.0003, -0.0023, -0.0015, 0.0059, 0.0063, -0.0042, -0.0023, 0.0055, 0.0019, 0.0017, -0.0075, 0.0006, -0.0008, 0.0018, 0.0012, 0.0012, -0.0005] }, 5: { mean: [-0.002, -0.0469, 1.0039], identity: [-0.0017, 0.0018, 0.0156, 0.0006, -0.0038, 0.0005, 0.0004, 0.0013, 0.002, -0.0004, -0.0015, -0.0051, 0.0005, -0.0007, -0.0055, -0.0001, -0.0009, 0.008, -0.0002, 0.0036, -0.0053, 0.0004, -0.0026, -0.0016, 0.0007, 0.0009, -0.009, -0.0003, 0.0007, -0.0084, 0.0015, 0.0021, 0.0032, -0.0015, 0.0018, 0.0046, -0.0003, -0.0004, -0.0001, 0.0008, -0.0044, -0.0007, -0.0008, 0.0007, 0.0048, -0.0024, -0.0003, 0.0024, 0.0002, -0.0051, 0.0058, -0.0006, 0.0028, 0.0018, -0.0021, 0.0035, 0.0057, 0.0011, 0.0065, 0, -0.0002, 0.0011, 0.003, -0.0027, 0.0008, 0.0007, 0.0003, -0.0039, -0.002, -0.0002, -0.0015, 0.0034, 0.0012, -0.0025, 0.0024, -0.0002, 0.0004, -0.0042, -0.0024, -0.001, -0.0023, 0.0016, -0.0007, 0.0039, 0.0001, -0.0005, 0.0018, 0.0003, -0.0002, -0.0009, -0.0015, 0.0003, -0.0007, -0.0001, -0.0002, 0.0023, 0.0032, 0.002, -0.0013, 0.0013, -0.0038, 0.0045, 0.0001, -0.0031, 0.0001, 0.0019, -0.0001, 0.0016, 0.0013, 0, -0.002, 0.0023, 0.0002, 0.0011, 0.0018, -0.0024, 0.0006, -0.0017, 0.002, -0.0008, -0.0021, 0.0007, 0.0011, 0.0008, 0.0004, -0.001, 0.0012, 0.0002, -0.0006, -0.0027, -0.0005, 0.001, -0.0009, 0.0001, -0.0001, 0.0008, -0.0011, 0.0022, -0.001, -0.0005, -0.0011, 0.0016, -0.0015, 0.0008, -0.0003, 0.0009, 0.0013, -0.0007, -0.0007, -0.0002], expression: [-0.0018, -0.0168, 0.0088, 0.0389, 0.1026, 0.0414, 0.2201, -0.0262, -0.0016, -0.0017, 0.0612, -0.0298, -0.0323, 0.0093, 0.0013, -0.005, 0.2207, 0.1315, -0.0004, 0.0858, -0.0303, -0.0133, 0.015, -0.008, 0.1454, 0.0114, 0.0177, -0.0077, 0.1022, 0.0356, -0.0023, 0.1088, 0.0232, 0.003, -0.0706, 0.0347, -0.0001, 0.004, -0.0011, 0.0397, -0.0096, -0.0033, 0.0029, -0.01, -0.0083, -0.0006, -0.0135, 0.0016, -0.0087, -0.0019, 0.0022, -0.004, -0.0087, 0.0105, 0.0008, -0.005, 0.0069, 0.0028, 0.0409, -0.0391, 0.003, 0.0103, 0.0051, 0.0026, 0.0776, -0.0083, -0.0062, -0.0567, 0.0268, 0.0175, 0.0017, 0.0156, -0.0043, 0.0299, -0.0395, -0.0015, 0.0051, -0.0148, 0.0125, 0.0035, 0.0603, 0.0109, -0.0645, -0.0257, 0.002, 0.0006, -0.0008] }, 6: { mean: [-0.0006, -0.1542, 0.8789], identity: [-0.0007, -0.0032, 0.01, 0, -0.0027, 0.0031, 0.0006, 0.0005, -0.0006, -0.0003, 0.0013, -0.0049, -0.0002, -0.002, -0.0046, 0.0008, -0.0011, 0.0054, 0.0002, 0.0043, -0.0027, 0.0003, -0.0022, -0.0019, 0.0008, 0.0032, -0.0069, 0, 0.0004, -0.0071, 0.0016, 0.0027, 0.0039, -0.0017, 0.0009, 0.0031, -0.0001, -0.0005, -0.0004, 0.0007, -0.0026, -0.0012, -0.0005, 0.0006, 0.0002, -0.0014, -0.0013, 0.0019, -0.0002, -0.0053, 0.0031, -0.0006, 0.0016, 0.0023, -0.0013, 0.0021, 0.0029, 0.0008, 0.0052, 0, 0.0004, 0, 0.0037, -0.0026, 0.0003, 0.002, -0.0002, -0.0024, 0.0004, -0.0004, -0.0012, 0.0008, 0.0007, -0.0023, 0.0005, 0, 0.0014, -0.0022, -0.0016, 0, -0.0012, 0.0008, -0.0007, 0.0014, -0.0006, -0.0012, -0.0003, 0.0002, 0.0012, -0.0003, -0.002, -0.0001, 0.0001, -0.0002, -0.0016, 0.0009, 0.002, 0.0019, 0, 0.0006, -0.0022, 0.0016, 0.0001, -0.0017, -0.0013, 0.001, 0.0009, -0.0001, 0.0011, 0.0003, -0.0007, 0.0014, 0.0008, 0.0013, 0.0011, -0.002, 0, -0.0015, 0.0014, 0.001, -0.0015, 0.0007, 0.0003, 0.001, -0.0001, 0.0012, 0.0007, 0.0006, -0.0004, -0.0013, -0.0012, -0.0009, -0.0011, 0.0002, -0.0005, 0.0005, 0.0004, 0.0002, 0.0001, 0, 0.0005, 0.0005, -0.0014, 0.0015, -0.0009, 0.0005, 0.0014, -0.0008, -0.0008, 0.0012], expression: [0.0008, 0.0481, 0.1653, 0.0784, 0.1008, -0.3992, 0.5088, -0.02, 0.0542, 0.001, 0.3723, -0.0151, -0.0986, 0.0283, -0.0033, -0.0121, 0.2634, 0.1202, 0.0036, -0.0529, -0.0245, -0.0297, -0.1085, 0.0495, 0.3264, 0.0083, 0.0004, -0.0314, 0.1459, -0.1142, -0.003, 0.0001, 0.1154, -0.0035, -0.0285, -0.0184, -0.0001, 0.0012, 0.0035, 0.079, -0.0103, 0.0043, 0.011, -0.004, -0.0774, -0.0047, -0.023, 0.0284, -0.0048, -0.001, 0.0149, -0.0039, 0.0046, 0.0528, -0.0006, 0.0063, 0.0376, 0.0096, 0.0558, -0.0295, 0, -0.0311, -0.0634, 0.0062, 0.0176, -0.0154, -0.0109, -0.1149, 0.0192, 0.0326, 0.0121, 0.0237, 0.0034, 0.0262, -0.0778, 0.0014, -0.0045, -0.0203, 0.0077, 0.0588, 0.0575, 0.008, -0.0557, -0.0095, 0.0032, 0.0054, -0.0042] }, 7: { mean: [0.0038, -0.2927, 0.833], identity: [0.0006, -0.0109, 0.0073, -0.0006, -0.0044, 0.0017, -0.0001, -0.0022, -0.0006, -0.0003, 0.0065, -0.0014, -0.0006, -0.0051, -0.0046, 0.0003, -0.0029, 0.003, 0.0002, 0.0038, -0.0006, 0, -0.0012, 0.0006, -0.0004, 0.0053, -0.0075, -0.0002, -0.0007, -0.0063, 0.0014, 0.0026, 0.0019, -0.0022, 0.0018, 0.0028, -0.0001, -0.0012, 0.0011, 0.0009, 0.0019, -0.0019, -0.0001, 0.0012, -0.0022, -0.0003, -0.0012, 0.0004, -0.0008, 0.0003, -0.0003, 0, 0.0017, 0.0021, -0.0004, 0.0012, 0.0022, -0.0003, 0.0026, -0.0003, 0.0004, -0.0026, 0.0032, -0.0019, 0.0003, 0.0015, 0.0001, -0.0015, 0.0013, -0.0001, 0.0001, -0.0029, 0, -0.0002, -0.0028, -0.0007, 0.0019, -0.0003, -0.0002, 0.0012, 0.0009, 0.0004, -0.001, -0.002, -0.0016, 0.0011, -0.0001, 0.0003, 0.0021, 0.0002, -0.0014, -0.0009, -0.0001, 0, -0.0002, -0.001, 0.0015, 0.0018, 0.0001, 0.0007, 0.0008, 0.0017, 0.001, -0.0009, 0.0001, 0.0004, 0.0023, -0.0001, 0.0012, 0.0001, -0.0008, 0.0002, 0.0018, 0.0006, 0.0003, 0.0001, 0.0012, -0.0003, 0.002, -0.0006, 0, -0.0001, -0.0022, 0.0004, 0.0005, 0.0011, 0.0002, -0.0013, -0.0023, 0.0006, 0.0006, -0.0005, -0.0005, 0.0009, 0.0002, 0.0002, 0.0011, -0.0003, 0.0011, 0.0015, 0.0011, 0.0003, 0.0002, 0.0008, -0.0004, -0.0008, 0.0003, 0, 0.0012, -0.0001], expression: [0.026, 0.1107, 0.3257, 0.1917, 0.3206, -1.1348, 1.0791, -0.035, 0.1549, -0.0103, 0.6953, 0.0001, -0.3262, 0.068, 0.0219, -0.0044, 0.3643, 0.2178, 0.0168, -0.2478, -0.1321, -0.0414, -0.3782, -0.0617, 0.5088, -0.0031, -0.0311, -0.0497, 0.0948, -0.385, 0.0148, -0.2224, -0.1415, -0.0074, 0.0863, -0.203, 0.0003, -0.0081, 0.0057, 0.1164, -0.0039, 0.0015, -0.0024, 0.0505, 0.1532, 0.0039, -0.0148, -0.0753, 0.0163, 0.0058, -0.0339, 0.0036, 0.0252, -0.0569, -0.0041, 0.0163, -0.0361, 0.0035, -0.018, 0.1266, 0, -0.0163, -0.0046, 0.0133, -0.1656, 0.2134, 0.0191, 0.0057, 0.0734, 0.0681, 0.0039, -0.0144, 0.029, -0.074, -0.046, 0.0122, 0.0072, -0.0162, -0.0349, -0.1234, 0.0212, -0.0355, 0.0535, 0.1218, 0.0043, -0.024, 0.0016] }, 8: { mean: [-0.0018, -0.3037, 0.8491], identity: [0.0002, -0.0112, 0.0077, -0.0004, -0.0044, 0.0024, 0.0001, -0.0021, -0.0004, -0.0004, 0.0066, -0.002, -0.0004, -0.0052, -0.0044, 0.0003, -0.0032, 0.0039, 0.0004, 0.0042, -0.0003, 0.0002, -0.0012, -0.0002, -0.0002, 0.0052, -0.0083, -0.0001, -0.0008, -0.0056, 0.0017, 0.0024, 0.0019, -0.0023, 0.002, 0.0027, -0.0002, -0.0013, 0.002, 0.0009, 0.0017, -0.0028, -0.0002, 0.0012, -0.0026, 0, -0.0016, 0.0002, -0.0005, 0.0003, -0.001, -0.0001, 0.0016, 0.0016, -0.0003, 0.0012, 0.0012, -0.0003, 0.0027, -0.0003, 0.0003, -0.0026, 0.0037, -0.0017, 0.0001, 0.0016, 0.0001, -0.0015, 0.0024, 0.0001, 0.0002, -0.0039, 0, -0.0003, -0.0033, -0.0006, 0.0017, -0.0004, -0.0004, 0.0012, 0.0018, 0.0002, -0.0012, -0.002, -0.0017, 0.0013, -0.001, 0.0003, 0.0021, 0.0004, -0.0012, -0.0006, -0.0002, 0, -0.0004, -0.0009, 0.0016, 0.0017, 0.0004, 0.0007, 0.0007, 0.001, 0.0009, -0.0008, 0.0005, 0.0005, 0.0023, 0.001, 0.0013, 0.0002, -0.0004, 0.0002, 0.0017, 0.0008, 0.0003, -0.0001, 0.0009, -0.0004, 0.0019, -0.0005, 0.0003, 0, -0.0025, 0.0003, 0.0003, 0.0011, 0.0001, -0.0015, -0.001, 0.0007, 0.0007, -0.0007, -0.0007, 0.0008, 0, 0.0001, 0.0013, -0.0004, 0.0012, 0.0014, 0.0017, 0.0004, 0.0002, 0.0003, -0.0003, -0.0009, 0.0001, 0, 0.001, -0.0004], expression: [-0.0092, 2.8809, 1.416, 0.2018, 1.1982, -0.9351, 1.4492, -0.1902, 0.1749, 0.0305, -0.167, -0.1572, -0.7354, -0.0492, 0.0115, 0.0608, 0.2971, 0.1179, 0.0046, -0.0997, -0.0041, -0.0104, 0.3379, -0.1854, 0.009, 0.0366, -0.0583, 0.0269, -0.0029, -0.4175, -0.0008, 0.1794, 0.0752, -0.0135, 0.1158, 0.1234, 0.0005, 0.003, -0.0032, 0.1034, -0.0504, -0.0055, -0.0076, -0.0772, 0.224, 0.0047, 0.0229, -0.1044, 0.0162, -0.0161, -0.0241, -0.0083, -0.1388, -0.0434, -0.0125, -0.0997, -0.0327, -0.0111, 0.1576, -0.3911, 0.0199, 0.2522, 0.142, 0.0059, -0.0721, -0.0045, 0.031, -0.1136, -0.1685, 0.0641, 0.0142, 0.0312, 0.0426, -0.1366, 0.1011, 0.0101, -0.0157, 0.0018, -0.0103, -0.0344, 0.0907, 0.0016, 0.1168, -0.0806, 0.0104, -0.0057, 0.0111] }, 9: [{ mean: [0.0038, -0.2927, 0.833], identity: [0.0006, -0.0109, 0.0073, -0.0006, -0.0044, 0.0017, -0.0001, -0.0022, -0.0006, -0.0003, 0.0065, -0.0014, -0.0006, -0.0051, -0.0046, 0.0003, -0.0029, 0.003, 0.0002, 0.0038, -0.0006, 0, -0.0012, 0.0006, -0.0004, 0.0053, -0.0075, -0.0002, -0.0007, -0.0063, 0.0014, 0.0026, 0.0019, -0.0022, 0.0018, 0.0028, -0.0001, -0.0012, 0.0011, 0.0009, 0.0019, -0.0019, -0.0001, 0.0012, -0.0022, -0.0003, -0.0012, 0.0004, -0.0008, 0.0003, -0.0003, 0, 0.0017, 0.0021, -0.0004, 0.0012, 0.0022, -0.0003, 0.0026, -0.0003, 0.0004, -0.0026, 0.0032, -0.0019, 0.0003, 0.0015, 0.0001, -0.0015, 0.0013, -0.0001, 0.0001, -0.0029, 0, -0.0002, -0.0028, -0.0007, 0.0019, -0.0003, -0.0002, 0.0012, 0.0009, 0.0004, -0.001, -0.002, -0.0016, 0.0011, -0.0001, 0.0003, 0.0021, 0.0002, -0.0014, -0.0009, -0.0001, 0, -0.0002, -0.001, 0.0015, 0.0018, 0.0001, 0.0007, 0.0008, 0.0017, 0.001, -0.0009, 0.0001, 0.0004, 0.0023, -0.0001, 0.0012, 0.0001, -0.0008, 0.0002, 0.0018, 0.0006, 0.0003, 0.0001, 0.0012, -0.0003, 0.002, -0.0006, 0, -0.0001, -0.0022, 0.0004, 0.0005, 0.0011, 0.0002, -0.0013, -0.0023, 0.0006, 0.0006, -0.0005, -0.0005, 0.0009, 0.0002, 0.0002, 0.0011, -0.0003, 0.0011, 0.0015, 0.0011, 0.0003, 0.0002, 0.0008, -0.0004, -0.0008, 0.0003, 0, 0.0012, -0.0001], expression: [0.026, 0.1107, 0.3257, 0.1917, 0.3206, -1.1348, 1.0791, -0.035, 0.1549, -0.0103, 0.6953, 0.0001, -0.3262, 0.068, 0.0219, -0.0044, 0.3643, 0.2178, 0.0168, -0.2478, -0.1321, -0.0414, -0.3782, -0.0617, 0.5088, -0.0031, -0.0311, -0.0497, 0.0948, -0.385, 0.0148, -0.2224, -0.1415, -0.0074, 0.0863, -0.203, 0.0003, -0.0081, 0.0057, 0.1164, -0.0039, 0.0015, -0.0024, 0.0505, 0.1532, 0.0039, -0.0148, -0.0753, 0.0163, 0.0058, -0.0339, 0.0036, 0.0252, -0.0569, -0.0041, 0.0163, -0.0361, 0.0035, -0.018, 0.1266, 0, -0.0163, -0.0046, 0.0133, -0.1656, 0.2134, 0.0191, 0.0057, 0.0734, 0.0681, 0.0039, -0.0144, 0.029, -0.074, -0.046, 0.0122, 0.0072, -0.0162, -0.0349, -0.1234, 0.0212, -0.0355, 0.0535, 0.1218, 0.0043, -0.024, 0.0016] }, { mean: [-0.0018, -0.3037, 0.8491], identity: [0.0002, -0.0112, 0.0077, -0.0004, -0.0044, 0.0024, 0.0001, -0.0021, -0.0004, -0.0004, 0.0066, -0.002, -0.0004, -0.0052, -0.0044, 0.0003, -0.0032, 0.0039, 0.0004, 0.0042, -0.0003, 0.0002, -0.0012, -0.0002, -0.0002, 0.0052, -0.0083, -0.0001, -0.0008, -0.0056, 0.0017, 0.0024, 0.0019, -0.0023, 0.002, 0.0027, -0.0002, -0.0013, 0.002, 0.0009, 0.0017, -0.0028, -0.0002, 0.0012, -0.0026, 0, -0.0016, 0.0002, -0.0005, 0.0003, -0.001, -0.0001, 0.0016, 0.0016, -0.0003, 0.0012, 0.0012, -0.0003, 0.0027, -0.0003, 0.0003, -0.0026, 0.0037, -0.0017, 0.0001, 0.0016, 0.0001, -0.0015, 0.0024, 0.0001, 0.0002, -0.0039, 0, -0.0003, -0.0033, -0.0006, 0.0017, -0.0004, -0.0004, 0.0012, 0.0018, 0.0002, -0.0012, -0.002, -0.0017, 0.0013, -0.001, 0.0003, 0.0021, 0.0004, -0.0012, -0.0006, -0.0002, 0, -0.0004, -0.0009, 0.0016, 0.0017, 0.0004, 0.0007, 0.0007, 0.001, 0.0009, -0.0008, 0.0005, 0.0005, 0.0023, 0.001, 0.0013, 0.0002, -0.0004, 0.0002, 0.0017, 0.0008, 0.0003, -0.0001, 0.0009, -0.0004, 0.0019, -0.0005, 0.0003, 0, -0.0025, 0.0003, 0.0003, 0.0011, 0.0001, -0.0015, -0.001, 0.0007, 0.0007, -0.0007, -0.0007, 0.0008, 0, 0.0001, 0.0013, -0.0004, 0.0012, 0.0014, 0.0017, 0.0004, 0.0002, 0.0003, -0.0003, -0.0009, 0.0001, 0, 0.001, -0.0004], expression: [-0.0092, 2.8809, 1.416, 0.2018, 1.1982, -0.9351, 1.4492, -0.1902, 0.1749, 0.0305, -0.167, -0.1572, -0.7354, -0.0492, 0.0115, 0.0608, 0.2971, 0.1179, 0.0046, -0.0997, -0.0041, -0.0104, 0.3379, -0.1854, 0.009, 0.0366, -0.0583, 0.0269, -0.0029, -0.4175, -0.0008, 0.1794, 0.0752, -0.0135, 0.1158, 0.1234, 0.0005, 0.003, -0.0032, 0.1034, -0.0504, -0.0055, -0.0076, -0.0772, 0.224, 0.0047, 0.0229, -0.1044, 0.0162, -0.0161, -0.0241, -0.0083, -0.1388, -0.0434, -0.0125, -0.0997, -0.0327, -0.0111, 0.1576, -0.3911, 0.0199, 0.2522, 0.142, 0.0059, -0.0721, -0.0045, 0.031, -0.1136, -0.1685, 0.0641, 0.0142, 0.0312, 0.0426, -0.1366, 0.1011, 0.0101, -0.0157, 0.0018, -0.0103, -0.0344, 0.0907, 0.0016, 0.1168, -0.0806, 0.0104, -0.0057, 0.0111] }], 10: { mean: [-0.007, -0.6338, 0.7695], identity: [0.0001, -0.0296, 0.0089, -0.0006, -0.0073, -0.0065, -0.0001, -0.0029, -0.0031, -0.0002, 0.0128, 0.0065, 0, -0.0116, -0.014, -0.0001, -0.0037, -0.0052, -0.0005, 0.0028, 0.003, -0.0004, 0.0041, 0.0015, 0.0006, 0.0088, -0.0076, -0.0011, -0.0015, -0.0073, 0.0007, -0.0011, 0.0019, -0.0011, -0.0005, 0.0031, -0.0001, -0.0018, 0.0009, 0.0018, 0.0038, 0.0068, -0.0004, -0.0001, 0.0061, 0.0024, 0.0024, -0.0066, -0.0006, 0.0051, 0.0014, 0.002, 0.005, -0.0035, 0.0001, -0.0034, -0.004, -0.0007, 0.001, -0.0008, 0.0001, -0.0005, -0.0021, 0.0002, 0.0045, -0.0043, -0.0012, -0.0024, -0.0014, 0.0006, 0.0034, 0.0027, -0.0008, -0.0053, 0.0014, 0.0001, 0.0013, -0.0018, 0.0006, -0.0015, 0.0029, -0.0002, -0.0035, 0.0001, -0.002, 0.0012, 0.0048, 0.0011, 0.0001, -0.0002, -0.0003, -0.0012, 0.0033, 0.0006, 0.002, -0.0033, 0.0004, 0.0028, 0.0002, 0.0008, -0.0001, -0.0018, 0.0008, 0.0017, 0.0001, 0.0009, 0.0008, 0.0003, 0.0019, -0.001, 0.001, -0.0007, -0.0013, 0, 0.0001, 0.0032, -0.0001, 0.0001, 0.0011, -0.0004, 0.0005, -0.0007, 0.0018, -0.0003, 0.0002, 0.0007, 0.0008, -0.0014, 0.0007, 0.0015, -0.0006, -0.0001, -0.0004, 0.0019, -0.0009, -0.0006, -0.0006, -0.0012, 0.0002, -0.0012, -0.0008, 0.0004, 0.0006, -0.0011, 0.0003, 0.0009, -0.0004, 0.0006, -0.0007, -0.0004], expression: [-0.0603, 2.0527, 1.9014, 0.1025, 0.6143, 0.3804, 0.7881, -0.1023, -0.0764, 0.0454, -0.2487, -0.5073, -0.6704, -0.031, -0.0181, 0.0466, 0.0651, -0.0726, -0.0033, -0.0022, 0.2944, 0.0101, 0.1669, -0.5225, -0.4685, 0.0236, 0.0079, 0.011, 0.2173, 0.4529, 0.0121, -0.2104, -0.0673, 0.0225, -0.4023, 0.0317, -0.0009, 0.0076, -0.0032, 0.0333, 0.0523, 0.0129, -0.001, -0.0319, -0.0139, 0.0015, -0.0044, 0.0247, -0.0005, 0.0161, 0.0061, 0.0074, 0.0776, -0.0176, 0.007, 0.055, -0.017, 0.0052, -0.1819, 0.0294, -0.0161, -0.0337, 0.0226, -0.008, -0.0297, 0.1967, -0.0095, 0.0383, 0.2039, 0.0434, 0.0271, -0.0064, -0.0037, -0.0294, -0.024, 0.0024, -0.0137, -0.0209, -0.0031, 0.0628, 0.1003, -0.0126, -0.056, -0.0097, -0.0012, -0.0041, 0.0162] }, 11: { mean: [0.2505, 0.3833, 0.7793], identity: [0.0098, 0.012, 0.0077, -0.0006, -0.0003, 0, 0.0001, 0.0082, -0.0007, 0.0019, -0.0036, -0.0012, 0.0002, 0.0119, -0.0039, 0.001, 0.0001, 0.0031, -0.0036, -0.0059, -0.0007, 0.0026, 0.0028, -0.0011, 0.0009, -0.0032, 0.0008, 0.0029, 0.0043, 0.0003, 0.0025, -0.0009, 0.0047, 0.0016, 0.0022, 0.0018, -0.001, 0.0025, -0.003, -0.001, 0.0033, 0.0034, 0.0004, -0.0052, 0.0024, -0.0002, 0.001, -0.0014, -0.0006, 0.0038, -0.0015, -0.0006, -0.001, -0.0011, -0.0004, -0.001, 0.0004, -0.0007, 0.0036, -0.0008, -0.0002, -0.0019, 0.0005, 0.0003, -0.0006, -0.0024, -0.0017, -0.0014, 0.0006, -0.0004, -0.0031, -0.0013, -0.0006, 0.0042, 0.0002, -0.0002, -0.002, -0.0003, 0.0008, 0.0018, -0.0005, -0.0006, -0.0002, -0.0006, 0.0025, 0.0019, 0.001, 0.0008, -0.0015, -0.0012, -0.0001, -0.0006, -0.0004, 0.0023, -0.001, 0.0006, -0.0002, -0.001, 0, -0.0009, -0.002, -0.0011, 0.0001, 0, -0.0001, 0.0005, 0.0006, 0.0009, -0.0006, 0.0005, 0.0008, -0.0001, -0.0002, -0.0017, -0.0006, -0.0004, 0.0004, -0.0006, 0.0012, 0.0004, 0.0003, -0.0007, 0.0003, -0.0002, 0.0006, 0.0001, 0.0005, -0.0019, -0.0006, 0.0004, 0.0007, -0.0001, 0.0001, 0.0005, 0.001, -0.0006, -0.002, -0.0007, -0.0005, 0.0005, 0.0003, 0.0007, 0.0014, 0, 0.0005, -0.0005, -0.0002, 0.0003, -0.0006, -0.0001], expression: [-0.0009, -0.0003, 0.0032, -0.003, -0.0034, -0.0031, 0.0014, 0, 0.0004, -0.0139, -0.0764, 0.0275, -0.002, -0.0089, 0.0031, -0.0503, -0.0771, 0.038, -0.1323, -0.3523, 0.1368, -0.0474, -0.0564, 0.0296, -0.0045, 0.007, -0.0013, 0.0153, 0.1259, -0.0464, 0.0866, 0.2175, -0.0786, -0.0413, -0.1248, 0.0448, -0.1777, -0.4607, 0.1782, -0.0005, -0.005, 0.0016, 0.0629, 0.1506, -0.0624, 0.0545, 0.2576, -0.0864, -0.0231, -0.0552, 0.0244, -0.0136, -0.0359, 0.0169, -0.1158, -0.2996, 0.1214, -0.0235, -0.0354, 0.0165, -0.0745, -0.1079, 0.0475, -0.0116, -0.0039, 0.0012, 0.0013, -0.0108, -0.0008, 0.0044, -0.0027, -0.0001, -0.0694, 0.0363, 0.0071, 0.1462, -0.136, 0.0047, 0.009, -0.0177, 0.0038, -0.0271, 0.0118, 0.0011, -0.0399, -0.0111, 0.0123] }, 12: { mean: [-0.2981, 0.3828, 0.7563], identity: [-0.0116, 0.014, 0.0054, 0.0018, 0.0005, 0, -0.0004, 0.0068, -0.0013, -0.0019, -0.0048, -0.0005, 0.0005, 0.0108, -0.0036, -0.0029, -0.0018, 0.0029, 0.0043, -0.0077, 0.0006, -0.0017, 0.002, -0.0011, -0.0014, -0.0035, 0.0015, -0.0024, 0.0011, 0.0004, -0.0048, 0.0002, 0.0029, -0.0001, -0.0001, 0.003, 0.0019, 0.0035, -0.0016, -0.0004, 0.0039, 0.0019, 0.0001, -0.0064, 0.004, 0.0003, 0.002, -0.0021, 0.0017, 0.0011, -0.001, 0.0026, 0.0025, -0.0005, 0.0002, -0.0003, -0.0005, -0.0007, 0.0009, -0.0004, -0.001, -0.0022, 0.001, 0.0009, -0.0014, 0.0007, 0.0011, -0.001, -0.0005, -0.0008, -0.0017, -0.0021, 0.0009, 0.0036, 0.0005, 0.0004, -0.0031, 0.0006, -0.0015, 0.0027, 0.0002, 0.0001, -0.0011, 0.0002, -0.0011, -0.0018, 0.0004, -0.0013, -0.0002, 0.0007, 0.0009, -0.0003, 0.001, -0.0021, 0.0008, 0.0006, -0.0009, 0.0004, -0.0007, 0.0008, -0.002, -0.0013, 0, 0.0007, -0.0012, -0.0001, 0.0014, 0.0014, -0.0001, 0.0013, 0.0006, 0.0006, -0.0014, -0.0015, -0.0009, 0.0001, 0.0001, 0.0009, 0.0007, 0, 0.0001, -0.001, -0.0004, 0, -0.0005, 0.0001, -0.0003, 0.0004, -0.0005, -0.0001, -0.0011, 0.0002, 0, 0.0001, 0.0008, 0.0008, 0, -0.0007, -0.0008, 0, 0.0002, -0.0001, 0.001, 0.0003, 0.0004, -0.0002, 0, 0.0005, 0.0018, -0.0001], expression: [0, -0.0004, 0.0028, 0.0036, -0.0008, -0.0026, -0.0015, -0.0008, 0.0003, 0.0075, -0.0608, 0.025, 0.0019, -0.0076, 0.0033, 0.0379, -0.0437, 0.0335, 0.0964, -0.2452, 0.1233, 0.0368, -0.0251, 0.0253, 0.0033, 0.0097, -0.0021, -0.0095, 0.1171, -0.0475, -0.064, 0.1548, -0.0718, 0.0228, -0.0831, 0.0343, -0.1924, 0.6206, -0.2771, 0.0021, -0.0143, 0.0056, -0.0705, 0.2522, -0.1116, -0.0692, 0.4229, -0.1592, -0.0093, 0.05, -0.0185, 0.0948, -0.3196, 0.1437, -0.0184, 0.0194, -0.0131, 0.0205, -0.0353, 0.0201, 0.0676, -0.135, 0.0672, 0.0137, -0.0311, 0.0118, 0.0003, -0.0077, -0.0002, -0.0151, 0.0004, -0.0058, 0.029, -0.0139, 0.0163, 0.1324, 0.1819, -0.0039, 0.0406, 0.0501, 0.0017, 0.0331, 0.0161, 0.0062, -0.0235, -0.0446, 0.0047] } };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
package/lib/facemesh.js
CHANGED
|
@@ -1,26 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.FaceMesh = exports.getFaceMesh = exports.destroyFaceMesh = exports.createFaceMesh = void 0;
|
|
4
|
-
const gl_matrix_1 = require("gl-matrix");
|
|
5
|
-
const loglevel_1 = require("./loglevel");
|
|
1
|
+
import { vec3 } from "gl-matrix";
|
|
2
|
+
import { zcout } from "./loglevel";
|
|
6
3
|
let latestFaceMesh = 1;
|
|
7
4
|
let faceMeshById = new Map();
|
|
8
|
-
function createFaceMesh() {
|
|
5
|
+
export function createFaceMesh() {
|
|
9
6
|
let ret = (latestFaceMesh++);
|
|
10
7
|
faceMeshById.set(ret, new FaceMesh());
|
|
11
|
-
|
|
8
|
+
zcout("face_mesh_t initialized");
|
|
12
9
|
return ret;
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
function destroyFaceMesh(m) {
|
|
11
|
+
export function destroyFaceMesh(m) {
|
|
16
12
|
faceMeshById.delete(m);
|
|
17
13
|
}
|
|
18
|
-
|
|
19
|
-
function getFaceMesh(m) {
|
|
14
|
+
export function getFaceMesh(m) {
|
|
20
15
|
return faceMeshById.get(m);
|
|
21
16
|
}
|
|
22
|
-
|
|
23
|
-
class FaceMesh {
|
|
17
|
+
export class FaceMesh {
|
|
24
18
|
constructor() {
|
|
25
19
|
this.render_mean_ = new Float32Array();
|
|
26
20
|
this.render_identity_ = new Float32Array(50);
|
|
@@ -193,8 +187,8 @@ class FaceMesh {
|
|
|
193
187
|
w[0] = vertices[vertexStart2] - vertices[vertexStart0];
|
|
194
188
|
w[1] = vertices[vertexStart2 + 1] - vertices[vertexStart0 + 1];
|
|
195
189
|
w[2] = vertices[vertexStart2 + 2] - vertices[vertexStart0 + 2];
|
|
196
|
-
|
|
197
|
-
let length =
|
|
190
|
+
vec3.cross(out, v, w);
|
|
191
|
+
let length = vec3.length(out);
|
|
198
192
|
faceNormals[i] = out[0] / length;
|
|
199
193
|
faceNormals[i + 1] = out[1] / length;
|
|
200
194
|
faceNormals[i + 2] = out[2] / length;
|
|
@@ -220,7 +214,7 @@ class FaceMesh {
|
|
|
220
214
|
v[0] = normals[indx];
|
|
221
215
|
v[1] = normals[indx + 1];
|
|
222
216
|
v[2] = normals[indx + 2];
|
|
223
|
-
|
|
217
|
+
vec3.normalize(w, v);
|
|
224
218
|
normals[indx] = w[0];
|
|
225
219
|
normals[indx + 1] = w[1];
|
|
226
220
|
normals[indx + 2] = w[2];
|
|
@@ -228,4 +222,3 @@ class FaceMesh {
|
|
|
228
222
|
this.normalsCalculated_ = true;
|
|
229
223
|
}
|
|
230
224
|
}
|
|
231
|
-
exports.FaceMesh = FaceMesh;
|