diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fa3a7cb..c40c7618 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,14 +9,16 @@ Repository: **** ## Changelog -### **HEAD -> main** 2021/06/01 mandic00@live.com +### **HEAD -> main** 2021/06/02 mandic00@live.com +- implemented drag & drop for image processing + +### **origin/main** 2021/06/01 mandic00@live.com + +- breaking changes to results.face output properties - breaking changes to results.object output properties - breaking changes to results.hand output properties - breaking changes to results.body output properties - -### **origin/main** 2021/05/31 mandic00@live.com - - implemented human.next global interpolation method - finished draw buffering and smoothing and enabled by default - implemented service worker diff --git a/README.md b/README.md index 89544fd8..9b02e364 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Check out [**Live Demo**](https://vladmandic.github.io/human/demo/index.html) ap - To start video detection, simply press *Play* - To process images, simply drag & drop in your Browser window - Note: For optimal performance, select only models you'd like to use +- Note: If you have modern GPU, WebGL (default) backend is preferred, otherwise select WASM backend
diff --git a/demo/facematch-faces.json b/demo/facematch-faces.json index 3385ddc1..de046d3d 100644 --- a/demo/facematch-faces.json +++ b/demo/facematch-faces.json @@ -1,5 +1,5 @@ [ - {"name":"sample ai","source":"/assets/human-sample-face.jpg","embedding":[0.1232,0,0.0067,0.0198,0.0845,0.0875,0.4951,0,0,0,1.0145,0.3449,0.7097,1.1171,0.2059,0.7577,0.0785,0.0068,0.339,0.0051,0,0.5667,0.3367,0.9547,0,0,0.4303,0.0073,0.0789,0.9271,0.1529,0.3483,0.2102,0.4867,0.7644,0.1418,0,0.1495,0.9777,0.1739,0.1213,0.0069,0.04,0.396,1.0272,0,0.222,0.0415,0,0.0158,0.7524,0,0.4029,0.0236,0.8142,0.0878,0,0.2158,0,0,0,0.1887,0.1183,0,1.0864,0.3259,0,0.0629,0.1044,0.0412,0,0,0.0255,0.682,0.0641,1.1505,0.0438,0.031,0,0.0734,0.1236,0.9703,0,0.773,0.2065,0.3095,0.0161,0.2689,0.0052,0,0.0784,0.8499,0,0.8815,0,0,0.4367,0,0.5452,1.9337,0.0256,1.3663,0.3909,0.0749,0.3943,0.127,0.0319,0,0,0.0478,0,0.1323,0.2307,0.2001,0.2887,0.0352,0.3442,0.6434,0.2862,0,0,0.4045,0,0,0.0218,0,0.3484,0.0999,0.1921,0,0.2446,0,0.5872,0,0.0461,0.4727,0,0.1456,0.2456,0,0.555,0,0,0.1637,0.3174,0.0164,0.6562,0.2371,0,0.0451,0.1585,1.1707,0,0,0.6289,0,0.2976,0.0914,0,0.321,0.2409,0,0.0461,0,0.7502,0.1054,0,0.6575,0,1.2196,0.5556,0.6198,0,0.0049,0.5241,0.3105,0.0917,1.0896,0.3881,0,0.1909,0,1.3099,0.4001,0.9213,0.4734,0,0,0.0299,0,0.3392,0.1196,0.0175,0.0264,0.4004,0,0.2435,0.1789,0.0748,0.0376,0.8955,0.0042,0,0.0096,0.6747,0.0299,0,0.0641,0.4249,0.3807,0.0787,0.3487,0.0692,0.5218,0,0,0.9451,0.0165,0.1336,0.6064,0,0,0,0.2,0.3052,0.6205,0.0052,0,0.1563,0.1376,0.2529,0.0024,0,0,0,0.0356,0.2252,0.8726,0.0018,0.0023,0.8642,0.0375,0.2863,0.0826,0.1819,0,0.2113,0,0.0643,0.3732,0.5289,0.031,0.2561,0,0.3689,0,0.2594,1.2816,0,0.7563,0.7785,0.0252,0.0998,0.0575,0.0341,0.9232,0.0025,0.3996,0.6835,0,0.0109,0.4062,0.0521,0.0026,0,0.0322,0,0.0649,0,0,0.0523,0.0614,0,0.5244,0,0.306,0.2011,0,0.2563,0.2435,0.2991,0.1874,0.3121,0.7873,0.3175,0,0,0.2382,0.2946,0.2138,0.7619,0.0136,0,0.0546,0.1012,0.5906,0.4763,0.133,0.2623,0.0483,0.1419,0.1447,0,0.7862,0,0.4227,0.0352,0.0846,0.5083,0.2501,0,0.1535,0.1411,1.1401,0.0769,0.039,0,0.0191,0.1877,0.0585,0,0.0737,0,0.5423,0,0,0.274,0.0948,0.01,0.0032,0.0169,0,0.0074,0,0,0.5672,0.4112,0.0725,0.0549,0.0312,0,0.0203,0.6477,0,0.554,0.6807,0,0,0.0646,0,0.8765,0,0.0894,0,0.1006,0,0.0028,0.4271,0.2321,0,0.5871,1.2252,0.2147,0,1.1365,0.0027,0.0593,0,0.0148,0.7159,0,0.3951,0.6284,0.0238,0.0482,0.7847,0.3772,0.4747,0.0323,0.0036,0,0,0.2403,0.2206,0,0.1906,0,0.5917,0.5052,0,0.5083,0.3452,0.061,0.2724,0.5038,0,0.1775,0.8562,0.0003,0.1522,0.4456,0.0203,0.4387,0.0138,0.0178,0,0,0.111,0.1458,0,0.7519,0,0.0006,0.0045,0.8159,0.3804,0,0.0464,0.0954,0.2774,0.0128,0,0.3133,0,0,0,1.0064,0,0.4473,0,0.0198,0,0,0.3305,1.0207,0.8744,0.3664,0,0.7085,0.1148,0,0,0.2125,2.0086,0.0503,0.8763,0.0183,0.0169,0,0.7785,0.5294,0,0.3554,0.0028,0,0.3945,0.3227,0,0,0.4842,0,0.3307,0.075,0.1649,0.0099,0.8472,0.0118,0.9508,0.0287,0.4813,0.1394,0.1791,1.1116,0.052,0.576,0.022,0.0233,0.0162,0.0315,0.008,0.0803,0.2867,0.1974,0.0308,0,0.1392,0,0.0212,0,0,0.7451,0,0,0,0.1115,0.0534,0,0.079,0,0.3542,0,0,0.4928,0,0.1715,0.0531,0.1165,0.0415,1.7836,0,0,0.6996,0.0237,0.0282,0,0.3381,0,0,1.0686,0,0,0.6337,0.2821,0.6426,0.008,0.0031,0.2687,0.0063,0.0033,0.1806,0.1714,0,0.0354,0,0.2697,0.048,0.0394,0.4011,0.4401,0,0.3369,0,0.1785,0,0.2092,0.0776,0,0,0,0.3646,0,0,0,0,0.335,0.0732,0.041,0.664,0.159,0.0567,0.0664,0.0055,0.4999,0,0.0551,0.5779,0.0577,0.0187,0.0802,0.0911,0.0293,0,0.269,0.1465,0,0.5426,0.2235,0.006,0.1027,0.1726,0.1712,0.1234,0,0.3701,0.1596,0.3858,1.3867,0.0527,0.4665,0.1931,0.1315,0,0.2081,0.358,0.2276,0.0877,0.1719,0.0402,0.1926,0,0.0666,1.0669,0,0,1.327,0,0.2317,0,0.2234,0,0.14,0.0158,0.9595,0,0.0225,0.584,0,1.0107,0.5236,0.0593,0.0455,0.295,0.0183,0.0383,0,0.0756,0,0,0,0.0006,0.0549,0.3545,0.5742,0.1951,0.1728,0.5436,0.1703,0.4542,0,0.2062,1.3331,0.0258,0.0309,0.028,1.3694,0.8425,0.0587,0.0789,0.0693,0.4894,0.0913,0.4555,0.1454,0,0.0894,0.0025,0,0.0353,0,0.2568,0.0883,0,0,0.0636,1.4631,0.4569,0.1548,1.1196,0.1712,0.1088,0.6217,0.0799,0.0094,0.0087,1.06,0.0333,0.0206,0.3872,0.1297,0.219,0.0199,0,0.079,0,0.71,0.0619,0.0453,0.1972,0.1304,0.341,0.1694,0.1819,0.0041,0.8453,0.0809,0.781,0.2105,0.0128,0.8613,0.3314,0.4865,0.1617,0,0,0,0,0,0.0422,0,0,0.0549,0.5138,0.6911,0,0.1216,0.4698,0.4418,0.1725,0.6141,0.8057,1.098,0.2095,0.4863,0,0.8769,0.0761,0.3716,1.0523,0.4506,0.161,0.0163,0.5064,0,0.0503,0.7198,1.2274,1.9704,0.0332,0,0.1064,0,0.0961,0.208,0.0851,0.1571,0.139,0,0.2894,1.0112,1.196,0.0054,0.014,0.0179,0.1025,0,0,0,0.0042,0,1.3378,0.8352,0.0321,0,0,0.1758,0,0,0,0.2028,0.0062,0.1089,0.0743,0.8095,0.728,0,0.2977,0,0.1248,0,0.0818,0,0,0,0,0.5188,0.0567,0.0335,0,0.1582,0,0.1166,0.8837,0,0,0,0,0.1544,0.6083,0.2241,0.4519,0.9429,0.1645,0.2327,0.3576,0,0,0.0067,0.6996,0.0392,0.0217,0,0,0,0,0,1.1516,0,0.9789,0.0966,0.2598,1.3692,0,0.8535,0,0.1086,0.244,0.2732,0.0562,0.6065,0.4084,0.6495,0.3556,0.2461,0.5271,0.1125,0.0495,0.019,0,0.0165,0.1747,0.0448,0.6345,0.059,0.0928,0,0.036,0,0.0079,1.0454,0.0037,0.3119,0,0.0091,0.533,0,0.056,0.68,0.252,0.0116,0.1294,0,0.18,0.5371,0,0.092,0,0.0382,0.6656,0,0.0683,0.0077,0.3351,0.4723,0,0.0378,0.0307,0.5272,0.3074,0.1518,0.2458,0,0.7162,0.098,0.2511,0.0341,0.1999,0.3761,0.2089,0.1508,0,0,0.0287,0.7286,0.3315,0.9907,0.5994,0,0,0.0125,0.2273,0.0342,0.043,1.6058,0.1256,0.0032,0.1311,0.2422,0.5739,0.9659,0.1234,0,0,0.2218,0.0321,0.4684,0.3458,0.3533,0.0887,0.017,0.1735,0.2145,0,0.0596,0.2447,0.6419,0,1.0469,0.0212,0.0126,0.1069,0.9629,0.0248,0.1593,0.0002,0.2906,0,0,0.3113,0.686,0.1133,0.4475,0.3005,0.0153,0.6213,0,0.1014,0.2095,0,0,0.3902,0.8519,1.6587,0.4534,0.1347,0.0491,0.8076,0.1046,0.0308,0.2399,0.1184,1.0538,0.2909,0.1381,0.0366,0.7223,0.0033,0.0831,0,0,0,0.0323,0.2726,0.426,0.0054,0.0865,0.3789,0,0,0.0428,0.2061,0.2246,0.1496,0,0.0903,0.0364,0.2332,0,0.2954,0.0822,0.2169,0.0661,0,0.851,0.2137,0.4075,0,0.1645,0,0.1044,0,0,0.1143,0.3507,0,0.9408,0.5404,0,0.5454,0.014,0,0.009,0,0.5092,0]}, + {"name":"sample ai","source":"/samples/ai-face.jpg","embedding":[0.1232,0,0.0067,0.0198,0.0845,0.0875,0.4951,0,0,0,1.0145,0.3449,0.7097,1.1171,0.2059,0.7577,0.0785,0.0068,0.339,0.0051,0,0.5667,0.3367,0.9547,0,0,0.4303,0.0073,0.0789,0.9271,0.1529,0.3483,0.2102,0.4867,0.7644,0.1418,0,0.1495,0.9777,0.1739,0.1213,0.0069,0.04,0.396,1.0272,0,0.222,0.0415,0,0.0158,0.7524,0,0.4029,0.0236,0.8142,0.0878,0,0.2158,0,0,0,0.1887,0.1183,0,1.0864,0.3259,0,0.0629,0.1044,0.0412,0,0,0.0255,0.682,0.0641,1.1505,0.0438,0.031,0,0.0734,0.1236,0.9703,0,0.773,0.2065,0.3095,0.0161,0.2689,0.0052,0,0.0784,0.8499,0,0.8815,0,0,0.4367,0,0.5452,1.9337,0.0256,1.3663,0.3909,0.0749,0.3943,0.127,0.0319,0,0,0.0478,0,0.1323,0.2307,0.2001,0.2887,0.0352,0.3442,0.6434,0.2862,0,0,0.4045,0,0,0.0218,0,0.3484,0.0999,0.1921,0,0.2446,0,0.5872,0,0.0461,0.4727,0,0.1456,0.2456,0,0.555,0,0,0.1637,0.3174,0.0164,0.6562,0.2371,0,0.0451,0.1585,1.1707,0,0,0.6289,0,0.2976,0.0914,0,0.321,0.2409,0,0.0461,0,0.7502,0.1054,0,0.6575,0,1.2196,0.5556,0.6198,0,0.0049,0.5241,0.3105,0.0917,1.0896,0.3881,0,0.1909,0,1.3099,0.4001,0.9213,0.4734,0,0,0.0299,0,0.3392,0.1196,0.0175,0.0264,0.4004,0,0.2435,0.1789,0.0748,0.0376,0.8955,0.0042,0,0.0096,0.6747,0.0299,0,0.0641,0.4249,0.3807,0.0787,0.3487,0.0692,0.5218,0,0,0.9451,0.0165,0.1336,0.6064,0,0,0,0.2,0.3052,0.6205,0.0052,0,0.1563,0.1376,0.2529,0.0024,0,0,0,0.0356,0.2252,0.8726,0.0018,0.0023,0.8642,0.0375,0.2863,0.0826,0.1819,0,0.2113,0,0.0643,0.3732,0.5289,0.031,0.2561,0,0.3689,0,0.2594,1.2816,0,0.7563,0.7785,0.0252,0.0998,0.0575,0.0341,0.9232,0.0025,0.3996,0.6835,0,0.0109,0.4062,0.0521,0.0026,0,0.0322,0,0.0649,0,0,0.0523,0.0614,0,0.5244,0,0.306,0.2011,0,0.2563,0.2435,0.2991,0.1874,0.3121,0.7873,0.3175,0,0,0.2382,0.2946,0.2138,0.7619,0.0136,0,0.0546,0.1012,0.5906,0.4763,0.133,0.2623,0.0483,0.1419,0.1447,0,0.7862,0,0.4227,0.0352,0.0846,0.5083,0.2501,0,0.1535,0.1411,1.1401,0.0769,0.039,0,0.0191,0.1877,0.0585,0,0.0737,0,0.5423,0,0,0.274,0.0948,0.01,0.0032,0.0169,0,0.0074,0,0,0.5672,0.4112,0.0725,0.0549,0.0312,0,0.0203,0.6477,0,0.554,0.6807,0,0,0.0646,0,0.8765,0,0.0894,0,0.1006,0,0.0028,0.4271,0.2321,0,0.5871,1.2252,0.2147,0,1.1365,0.0027,0.0593,0,0.0148,0.7159,0,0.3951,0.6284,0.0238,0.0482,0.7847,0.3772,0.4747,0.0323,0.0036,0,0,0.2403,0.2206,0,0.1906,0,0.5917,0.5052,0,0.5083,0.3452,0.061,0.2724,0.5038,0,0.1775,0.8562,0.0003,0.1522,0.4456,0.0203,0.4387,0.0138,0.0178,0,0,0.111,0.1458,0,0.7519,0,0.0006,0.0045,0.8159,0.3804,0,0.0464,0.0954,0.2774,0.0128,0,0.3133,0,0,0,1.0064,0,0.4473,0,0.0198,0,0,0.3305,1.0207,0.8744,0.3664,0,0.7085,0.1148,0,0,0.2125,2.0086,0.0503,0.8763,0.0183,0.0169,0,0.7785,0.5294,0,0.3554,0.0028,0,0.3945,0.3227,0,0,0.4842,0,0.3307,0.075,0.1649,0.0099,0.8472,0.0118,0.9508,0.0287,0.4813,0.1394,0.1791,1.1116,0.052,0.576,0.022,0.0233,0.0162,0.0315,0.008,0.0803,0.2867,0.1974,0.0308,0,0.1392,0,0.0212,0,0,0.7451,0,0,0,0.1115,0.0534,0,0.079,0,0.3542,0,0,0.4928,0,0.1715,0.0531,0.1165,0.0415,1.7836,0,0,0.6996,0.0237,0.0282,0,0.3381,0,0,1.0686,0,0,0.6337,0.2821,0.6426,0.008,0.0031,0.2687,0.0063,0.0033,0.1806,0.1714,0,0.0354,0,0.2697,0.048,0.0394,0.4011,0.4401,0,0.3369,0,0.1785,0,0.2092,0.0776,0,0,0,0.3646,0,0,0,0,0.335,0.0732,0.041,0.664,0.159,0.0567,0.0664,0.0055,0.4999,0,0.0551,0.5779,0.0577,0.0187,0.0802,0.0911,0.0293,0,0.269,0.1465,0,0.5426,0.2235,0.006,0.1027,0.1726,0.1712,0.1234,0,0.3701,0.1596,0.3858,1.3867,0.0527,0.4665,0.1931,0.1315,0,0.2081,0.358,0.2276,0.0877,0.1719,0.0402,0.1926,0,0.0666,1.0669,0,0,1.327,0,0.2317,0,0.2234,0,0.14,0.0158,0.9595,0,0.0225,0.584,0,1.0107,0.5236,0.0593,0.0455,0.295,0.0183,0.0383,0,0.0756,0,0,0,0.0006,0.0549,0.3545,0.5742,0.1951,0.1728,0.5436,0.1703,0.4542,0,0.2062,1.3331,0.0258,0.0309,0.028,1.3694,0.8425,0.0587,0.0789,0.0693,0.4894,0.0913,0.4555,0.1454,0,0.0894,0.0025,0,0.0353,0,0.2568,0.0883,0,0,0.0636,1.4631,0.4569,0.1548,1.1196,0.1712,0.1088,0.6217,0.0799,0.0094,0.0087,1.06,0.0333,0.0206,0.3872,0.1297,0.219,0.0199,0,0.079,0,0.71,0.0619,0.0453,0.1972,0.1304,0.341,0.1694,0.1819,0.0041,0.8453,0.0809,0.781,0.2105,0.0128,0.8613,0.3314,0.4865,0.1617,0,0,0,0,0,0.0422,0,0,0.0549,0.5138,0.6911,0,0.1216,0.4698,0.4418,0.1725,0.6141,0.8057,1.098,0.2095,0.4863,0,0.8769,0.0761,0.3716,1.0523,0.4506,0.161,0.0163,0.5064,0,0.0503,0.7198,1.2274,1.9704,0.0332,0,0.1064,0,0.0961,0.208,0.0851,0.1571,0.139,0,0.2894,1.0112,1.196,0.0054,0.014,0.0179,0.1025,0,0,0,0.0042,0,1.3378,0.8352,0.0321,0,0,0.1758,0,0,0,0.2028,0.0062,0.1089,0.0743,0.8095,0.728,0,0.2977,0,0.1248,0,0.0818,0,0,0,0,0.5188,0.0567,0.0335,0,0.1582,0,0.1166,0.8837,0,0,0,0,0.1544,0.6083,0.2241,0.4519,0.9429,0.1645,0.2327,0.3576,0,0,0.0067,0.6996,0.0392,0.0217,0,0,0,0,0,1.1516,0,0.9789,0.0966,0.2598,1.3692,0,0.8535,0,0.1086,0.244,0.2732,0.0562,0.6065,0.4084,0.6495,0.3556,0.2461,0.5271,0.1125,0.0495,0.019,0,0.0165,0.1747,0.0448,0.6345,0.059,0.0928,0,0.036,0,0.0079,1.0454,0.0037,0.3119,0,0.0091,0.533,0,0.056,0.68,0.252,0.0116,0.1294,0,0.18,0.5371,0,0.092,0,0.0382,0.6656,0,0.0683,0.0077,0.3351,0.4723,0,0.0378,0.0307,0.5272,0.3074,0.1518,0.2458,0,0.7162,0.098,0.2511,0.0341,0.1999,0.3761,0.2089,0.1508,0,0,0.0287,0.7286,0.3315,0.9907,0.5994,0,0,0.0125,0.2273,0.0342,0.043,1.6058,0.1256,0.0032,0.1311,0.2422,0.5739,0.9659,0.1234,0,0,0.2218,0.0321,0.4684,0.3458,0.3533,0.0887,0.017,0.1735,0.2145,0,0.0596,0.2447,0.6419,0,1.0469,0.0212,0.0126,0.1069,0.9629,0.0248,0.1593,0.0002,0.2906,0,0,0.3113,0.686,0.1133,0.4475,0.3005,0.0153,0.6213,0,0.1014,0.2095,0,0,0.3902,0.8519,1.6587,0.4534,0.1347,0.0491,0.8076,0.1046,0.0308,0.2399,0.1184,1.0538,0.2909,0.1381,0.0366,0.7223,0.0033,0.0831,0,0,0,0.0323,0.2726,0.426,0.0054,0.0865,0.3789,0,0,0.0428,0.2061,0.2246,0.1496,0,0.0903,0.0364,0.2332,0,0.2954,0.0822,0.2169,0.0661,0,0.851,0.2137,0.4075,0,0.1645,0,0.1044,0,0,0.1143,0.3507,0,0.9408,0.5404,0,0.5454,0.014,0,0.009,0,0.5092,0]}, {"name":"sample ai","source":"/assets/human-sample-upper.jpg","embedding":[0.0418,0,0.0075,0.6018,0,0.5454,0.6623,0,0.0079,0.045,1.0518,0.2292,0.3333,1.1736,0.1061,0.5161,0,0.0458,0.7855,0.0665,0.0091,0.6724,0.7904,0,0.1882,0.0453,0.7279,0.0205,0.2697,1.0447,1.2109,0.3526,0.3633,0,0.0816,0.0521,0.7363,0.3425,0.94,0.0247,0,0,0.3558,0.1845,1.2559,0,0.2069,0.2147,0,0.0521,0.4046,0,0.1458,0.0696,0.9321,0,0.3113,0,0.0211,0.1485,0,0.1167,0.4359,0.0316,0.1238,0.0284,0,0.011,0.0797,0.0286,0,0.0287,0.373,0.7456,0,0.3027,0.3605,0.1064,0.0184,0.1395,0,0.7769,0.0374,0.002,1.2215,0.2521,0,0.2148,0,0.0445,0.0851,0.3042,0.0377,0.6262,0.2836,0.163,0.637,0.0262,0.9336,1.5181,0.0767,0.7505,0.2964,0.1721,0.592,0.0735,0,0,0,0.1836,0.0168,0.2565,0,0.0196,0.0108,0.1568,0.3433,0,0.6033,0.0198,1.1622,0.3164,0.7968,0,0.099,0.3857,0.503,0,0.612,0.1272,0,0,0.6284,0,0.0329,0.1135,0,0.044,0.0867,0,0.5703,0.2013,0.0138,0,0.2335,0,0.3328,0.9021,0,0.3339,0.0852,1.1603,0,0.8079,1.0685,0.0054,0.1954,0.0283,0,0.0467,0.0936,0,0.1391,0,0.3792,0.1837,0.0242,0.0551,0,1.1769,0.1387,0.0285,0.0214,0.3451,0.3874,0.2578,0.1288,0.9794,0.3918,0.9239,0.2356,0,0.8922,0.0124,0.1622,0.4644,0.0055,0.6735,0.6984,0.1172,0,0.6142,0.2451,0.017,0.3198,0.136,0.8079,0.4069,0.0401,0,0.5723,0.1401,0.0859,0,0.3721,0.1158,0.1452,0.0296,0.6646,0.192,0.264,0.2495,0.0074,0.6793,0,0,0.9708,0.0116,0.143,0.096,0.0089,0,0,0.0263,0.4417,0.2595,0.0811,0.031,0.2131,0.0788,0.1222,0,0,0,0,0.9002,0.0893,0.7089,0.0166,0,0,0.6362,0.4967,0.0583,0.0018,0,0.0513,0,1.1015,0.831,0.0649,0,0.3981,0,0.9148,0,0.0929,1.5711,0.0282,0.8361,0.2036,0.0146,0.119,0.2971,0.0398,0.293,0.0115,0.0141,0,0,0,1.224,0.8074,0.7403,0,0.0053,0,0.2178,0,0,0.0241,0.0531,0,0.8846,0.0109,1.5731,0.1896,0.2504,0.0017,0,1.0819,0.0249,0.2171,0.8273,0.159,0,0.02,0.0086,0.5386,0.7299,1.1452,0.2377,0,0.2723,0.5199,1.4716,0.4039,0.11,0.1207,0.7023,0.1004,0.0461,0.262,0.1032,0,0.9283,0.1029,0.0144,0,0.1382,0,0.0913,0.0716,1.2993,0.8548,0.0847,0,0.4677,0,0,0,0.163,0.2593,0.1449,0.0159,0.1123,0,0.2982,0,0.0199,0,0,0,0,0.0412,0.5682,0.8792,0.1706,0.1664,0.0095,0,0.0702,0.7808,0.1518,0.5347,1.0775,0.0206,0,0.2921,0,0.7571,0,0.2254,0.9782,0.3306,0.3552,0,0.2917,0.396,0.288,0.1264,0.1901,0.7313,0.0404,1.1899,0.1925,0.3654,0.0368,0,0.7661,0.2258,0.5498,0.5322,0.3047,0,0.5226,0.0493,0.1469,0.8649,0,0,0.1611,0.3853,0.557,0.0216,0.6417,0,0.5621,0.4227,0.021,0.3302,0.0017,0.1249,0.3256,0.1794,0,0.0121,0.134,0.117,1.1586,1.068,0.0133,0.5231,0.0171,0.0774,0.0721,0,0.1401,0.1205,0,0.8531,0.0626,0,0,0.6907,0.0269,0,0.1687,0.0287,0,0,0.1964,0.5739,0.0552,0,0.1846,0.2587,0,0.6338,0.0276,0.0693,0,0.0972,0.9299,1.0222,0.2315,0.0241,0.0408,0.5103,0,0.0898,0.062,0.4078,1.6166,0,0.9688,0.2871,0.3079,0.1383,0.1831,0.1588,0,0.1655,0.1502,0.5924,0.0169,0.4218,0.0773,0,0.6191,0.111,0.2118,0,0.0567,0.073,0.7142,0.1967,0.2213,0.2567,0.2205,0.0892,0.3746,0.018,0.0098,0.2873,0.7299,0,0,0.5845,0.1578,0.0179,0.3469,0.5665,0,0.119,0,0,0.0341,0,0,0,0,0,0.067,0.3523,0,0.1351,0.6054,0,0.1063,0.0195,0.0156,0.8261,0,0.0764,0,0,0.1916,1.3688,0.0061,0.1344,0.6518,0,0.7028,0.0054,0.0226,0,0,0.3753,0,0.2805,0.8828,0.1765,0.4803,1.1388,0.1473,0.1323,0.0251,0.0063,0.3609,0,0,0.0451,0.0465,0.0678,0.6554,0.0779,1.5214,0,0,1.1221,0,0,0.1548,0.042,0.0837,0.4158,0,0.1569,0,0,0,0,0,0.3066,0.2838,0,0.2375,0,1.214,0.0192,0.7629,0.7148,0,0,0.444,0.0532,0.1005,0.1781,0.06,0.057,0.121,0.0006,0.0033,0.0163,0.9755,0.3192,0.0145,0,0,0.4531,0.4713,0,0.0821,0.0366,0.0514,0.2337,0.01,0.1251,0,0.0947,0.5961,0.1115,0,0.9395,0,0,0.3166,0,0,0.4309,0.5704,0.1265,0,1.6836,0,0.0849,0,0,0,0.6469,0,1.2293,0,0.3255,0.9763,0.3478,0.9181,0.7594,0,0.0268,0.0091,0,0.0074,0.0568,0,0.1474,0,0,0.1406,0,0.6573,0.4791,0.8472,0.2531,0.0609,0.0403,0.3974,0.2559,0.0194,0.8766,0.102,0,0.0044,1.9812,1.1258,0.0616,0,1.0604,0.2785,0.0163,0.2186,0.1881,0,0.3477,0,0,0,0.0424,0.0973,0.0673,0,0.0392,0.353,1.208,0.3138,0.0121,0.226,0.1924,0.1133,0.3758,0.2259,0.0323,0,0.4129,0.4589,0.2536,0.0956,0.1384,0.2736,0.2391,0.0599,0.3228,0.2917,0.0597,0.2112,0.5118,0.6282,0.5638,0.0579,0.1038,0,0.4234,0.8339,0.0106,0.2447,0.4461,0.1293,0.2948,0.412,1.1189,0.6185,0.0781,0,0.0307,0,0.0616,0,0.0672,0,0.1262,0.1627,0.5216,0.013,1.3841,0.4802,0.0345,0.004,0.0654,0.264,0.3382,0.2803,0.3032,0,0.7716,0.0256,1.826,0.4813,0.8102,0.5102,0.6781,0.001,0,0,1.3655,1.0991,2.0032,0.6016,0,0.3383,0.0257,0.1327,0.7323,0.2627,0.3239,0,0.0533,0.5702,1.2228,1.2359,0,0,0.148,1.0803,0,0,0,0.0513,0,0.2974,0.5358,0,0.0118,0,0.0081,0.0271,0,0,0.3073,0,0.9204,0.0609,0,0.9168,0.1708,0.2127,0,0.5675,0.6731,0.0384,0.1874,0,0,0,0.3865,0.0983,0.5258,0.3812,0.0531,0,0.0501,0.3409,0,0,0,0,0,0.8978,0,0.3281,1.0533,1.3875,0.1639,0.4686,0.0706,0,0,0.088,0,0,0,0.0386,0.0286,0.0081,0,1.038,0,0.2606,0.3755,0,1.1312,0.2099,0.3215,0,0.1935,0.635,1.1675,0.0264,0.451,0.4965,0.3784,0.4202,0.0636,0.2997,0.0521,0.0431,0,0,0,0.4933,0.0614,0.8659,0.0086,0.5909,0,0.0282,0,0.7378,1.2317,0,0.2558,0,0.1542,1.0283,0,0.0362,0.8276,0.5798,0.0732,0,0.0618,0.6329,0.4209,0,0.0198,0.2755,0.1428,0.4897,0,0,0,0.2895,1.1246,0.0967,0.2449,0.06,0.0761,0.3715,0,0,0.2409,0.8595,0,0.214,0.0201,0.4205,0.3541,0,0.0553,0,0.223,0.1135,0.799,0.703,0.4238,0.5715,0,0.0141,0.0102,0.6389,0.0918,0.205,1.4504,0,0.0186,0.1578,0.329,0.4732,0.1929,0.901,0,0,0.4346,0.0413,0.003,0,0.8283,1.1398,0.4381,0.1928,0.3487,0,0,0.573,0.2299,0,0.6056,0.093,0,0.3394,0.4664,0,0.4005,0.762,0.2199,0,0,0.3051,0.6654,0,0,0.0452,0.5967,0.7311,0,0.1532,0,0.001,0.048,1.0351,0.5673,1,0.1138,0.1257,0,0.0661,0.3799,0.5711,0.0038,0.4196,0.9754,0.0082,0,0.1282,0.5481,0.1465,0.535,0,0,0.2846,0,0.003,0.2338,0,0.6401,0,0.1257,0,0.0867,0.3942,0.002,0.0012,0.2059,0,1.0926,0.2825,0,0,0.0509,0.2412,0.1364,0,0.4856,0,1.4203,0,0.396,0,0,0,0.0143,0.0472,0.5021,0.0315,0.2756,0.4384,0,0.035,0.8925,0.1531,0,0,0.4004,0.0604]}, {"name":"vlado","source":"/private/me/me (10).jpg","embedding":[0.455,0,0,0.0931,0,0.0399,0.3274,0.5365,1.2691,0.2401,0,0,0.0505,1.6733,0.0279,0.7667,0.0357,0.02,0,0,0,0,0.6241,0,0,0.2275,0.3596,0.6699,0.2811,0.1022,0.3623,1.4376,0,1.88,0.5612,0.0525,0.0844,0,0.0144,0,0,0.1265,0.1981,0,0,0,0,0.1272,0.0632,0.9906,0.1008,0,0.8085,1.3667,0.1423,0.2263,0.5865,0.9136,0.0308,0.0254,1.267,0.1186,0.067,0.1985,0.2141,0,0.0239,0,0.003,0.6623,1.3433,1.1957,0.1652,0,0,0.0017,1.3538,0.0242,0.0264,0,0,0.2496,0,0,0.0717,0,0.1043,0.268,0,1.1607,0.0125,0,0.2408,0.818,0.0633,0,0.0791,0.2402,1.1437,0.0861,0,1.56,0.0145,0,0.579,0,0.3362,0.0065,0.0656,0.5799,0.0048,0,0.2186,0,0.2458,0.0033,0.4707,0,0.0417,0.4356,0.2969,0.8756,0.7765,1.4471,0.3919,0.0129,0.995,0,0,0.3044,0,0.4376,0.1407,0,0.669,0.0578,0,0,0,0.0005,0.0235,0.0515,0.095,0.8966,0.0212,1.0887,0,0.8837,0.0153,0,0,0.2183,0,0,1.1183,0,0,0.3173,0,0,0.0143,0,0.4285,0,0.2455,0.3936,0,0.3703,0,0.0292,0.1868,0,0.0248,0.9135,0,0.2146,0.4596,0.3417,0.1181,0.0903,0,0.6513,0.296,1.1603,0.26,0.2064,0,0.8945,0.0788,0.1498,0,2.0299,0.0537,0,1.7853,0,0.058,0.0613,0.5624,0.0279,0,0,0,0.5017,0.1595,1.0133,0.6654,0.6869,0.9146,0.1626,0.0762,0.0731,0.1093,0.4599,0,0.3941,0.0178,0.0855,1.1356,0.0125,0.2345,0,0.0358,0,0.2525,0.0967,0.604,0.3094,0.369,0.6858,0,0.1094,0,0.2917,0.0456,0.4897,0.1136,0.3169,0.1975,0,0.6087,0,0.0121,0.1513,0.0142,0.1049,0,0,0.5454,0.5776,0.218,0,0,0,0.0735,0.0907,0.7229,0.6814,0.3519,0.4123,0.0054,0.5209,0.1246,0.0422,0.4078,0,0.2343,0,0,0.3069,0,0,0.6745,0,0.2384,0.6892,0,0,0.9483,0.6687,0.7269,0,0,0.0008,0.0134,1.2916,0.3646,0,0,0.0098,1.3571,0.8973,0,0.1983,0.061,0.3598,0.5887,0.4014,0.0349,0.0899,0.6801,0,0.1277,0.0002,1.3881,0.8472,1.1111,0.0015,0,0.4564,0.1983,0,0,0.3447,0,0,0.4239,0.6237,0.0162,0.0448,0.0869,0,0,0,0,1.0586,0,0,0.6869,0.8213,0,0,0.8749,0,0.5186,0.0162,0,0,0,0.0236,0.0496,0,0.2057,0.2763,0,1.2287,0,0.6946,0.9016,0.3079,0.2111,0.0383,0,0.9625,0.6642,1.1574,0,0.0158,0,0.7267,0,0.0047,0,1.1282,0.2532,0.7829,0.0777,0.6075,0.4579,0.2679,0.0204,0.3137,0,0.4506,1.5154,0.835,0.5072,0.4026,0.0892,0.1157,0,0,1.0628,0.2837,0.2495,1.0632,0.034,0.2443,0.9619,0.8549,0,0.0347,0.0468,1.1878,0.3054,0.042,0.0739,0.3077,0.5493,0,0,0.3006,0.1114,0.2979,0.0038,0,0.1098,0,0.0469,0.7594,0.3215,0.3934,0.9636,1.0896,0.0173,0,0,0,0.6717,0.9488,0.0494,0.4862,0.0505,0.2692,0.1316,0.5335,0,0.9822,0.981,0,0,0.0588,0.0269,0.2294,0.468,0.1832,0.0111,0.8852,0.6201,0.4007,0.0702,0,0.2652,0,1.7103,0,0,0.1406,0.0439,0,0.1251,0.1074,0.0582,0.8744,0.0018,0.0022,0.2546,1.858,1.0366,0,0,0.6882,0.0115,1.5567,0.0097,0,0.9629,0.0087,0.2686,0.0896,0.2263,1.0871,0.1876,0,0.2554,0.1655,0.0498,0.0404,0,0.0154,0,0.1946,0,0.0047,0.0122,0.4804,1.7244,0.0265,0.0578,0.1609,0,0.0477,0,0.7624,0,0,0.2846,0,0,0,0.7464,0.1954,0,1.2885,0.0011,0.8367,0.872,0.2612,0.2504,0.2463,0.0352,0.036,0.0166,0.0713,0.0263,0.017,0.0197,0.1537,0,0.7666,0.0746,0.2642,1.4006,0.4573,0.7003,0.2925,0,0.5209,0.0636,0.0313,0.4363,0.3668,0.1254,0.9085,1.0639,0,0,0,0.3845,0,0,0,0,0.1745,1.3316,0.1285,1.0453,0.1979,0,0.5996,1.1258,0,0.1204,0.0267,0.458,0,0.1592,1.1604,0,0.0346,0.2534,0,0.317,0.4017,0,0.6949,0.0492,0.4213,0,0.0305,0,1.2164,0.017,0.3843,0.1177,0.078,0.3394,0.1095,0.0956,0.4965,0,0.0547,0.3391,0.0176,0,1.7427,1.22,0.6558,0.6123,0.0335,1.2369,0.3319,0,0.0087,0,0,0,0,1.0594,0,0,0.4867,0,0,0.4255,0,1.0369,0,0.1446,0.9099,0.4825,0.0554,0.3655,0,0.0061,0.0307,0.1099,0,0,0,0.7989,0.0189,0.0139,0.1363,0.5755,0.0145,0.8923,0.0117,0.0003,0.4876,0,0.0405,0,0.1238,0.8355,0.1189,1.3903,0,0.0274,0,0.5297,1.0592,0.0676,0.2433,1.2116,0.7,0.072,0.6373,0,0,0.1834,0,0.0934,0,0.0242,0.0303,0.1498,0.0103,1.5799,0.414,0,0,0.1941,0,1.2931,0.285,0.0502,0,0.722,0,0.0726,0.0093,0.1611,0.2031,0.4733,1.0392,0,0,0.7431,0.9329,0.0216,0,0,0.4156,0,0.3016,1.8117,0.4578,0.0155,0,0.1965,0,0.4619,0.0074,0,0,1.4873,0.6204,0.3365,0.2369,0.0467,0,0.2357,1.8343,1.0051,0,0,0,0.0122,0.0397,0.0674,0.5857,0,0,0.4951,0.6032,0.0613,1.0268,0.2178,0,0.1914,0.2446,0,0.712,0.7943,0.8803,0.1292,0.1546,0.4756,0.204,0.0118,0.5587,0.3136,0.0113,0.2808,0.1605,0,0.562,0.1741,0.0786,0.5101,0.6371,0.0654,0,1.2674,0.6651,0.0576,0.1075,0.0025,0.0469,0.7567,0.0094,0.0825,0.0254,0.8258,0.4404,1.3501,0.0085,1.1433,0,0,0.0011,0.1295,1.1122,0.0443,0,0,0,0.1041,0.0561,0.392,0.3143,0,0.0611,1.0396,0.0555,0.0124,0,0.0276,0.0145,0.573,0.0446,0.0296,1.1501,0.0223,0,0,0,0.3099,0,0,0.4244,0.1243,0.6678,0.174,0,0.4637,0.9266,0.135,0,0.696,0,0,0,1.4319,0,0.2315,0.434,0.1744,0.1379,0.0099,0.0045,0.0892,0,0.0011,0,0,0.024,0.8935,0.0659,0,0.1232,0.682,0.6559,0.587,0.3642,0,0.2504,0.0344,0.3601,0,0.3634,0,0.2359,0,0.2466,0.4798,1.1948,0.2275,0.8481,0,0.0733,0.0218,0,0.4437,0,0,0.0709,0,1.1313,0.9783,0.3301,0.3288,0.4656,0,0.0768,0.0099,1.2024,1.3946,0.0318,1.4747,0,0,0.8406,0,0.0417,0.0058,1.2849,0.2114,0.0322,0.2147,0,0,1.0151,0.0152,0.106,0.0713,0,0.3323,0.6707,1.502,0.1196,1.0723,0.7325,0.1583,1.102,0,0.0975,0.2732,0,0.0315,0.0828,0.0154,0.0838,0.5027,1.0843,0.1605,0,0.4095,0.1911,1.6444,0,0.0687,0.1207,0,0.2317,0,0.0206,0,0.354,0.0083,0,0.0016,0.0486,0.7611,1.4935,0.8539,0.0036,0.0447,0.8938,0.0476,0.1176,0,0,0.0533,0.0117,0.6544,0.0197,0.7518,0.6565,0.129,0.0402,0,0.2305,0.4312,0,0.0067,0,0,0.0972,0.3136,0.4254,0.2538,0.4317,0,0,0,0.1388,0.5016,0.629,0,0.2404,0.6102,0.031,0,0,0,0,0,0.3361,0,0,0,0.1846,0.1421,0,0.1046,1.4505,0.0382,0.6455,1.3525,0.3856,0,0.0632,0.4487,0.8815,0.1761,0.0222,0.0651,1.0937,0,0.1768,0.0015,0.0254,0.1528,0.1832,0.0566,1.0029,0.8725,0.1045,0,0,0,0,1.4618,0.0125,0.0084,0,0,0.1069,0.1833,0,0,0,1.1689,0.271,0.1496,0,0,0,1.0816,0.9834,0.0346,0.2114,0.6592,0.033,0.1916,0,0.1119,0.6905,0.0225,0.0632,0,0]}, {"name":"vlado","source":"/private/onedrive/Ana/20191018_141344.jpg","embedding":[0,0.4763,0,0,0,0,0,0.2673,0.4449,0.1633,0,0.0029,0,0.1602,0.1198,0,0.0081,0.2419,0.349,0,0.5051,0,0,0,0.048,0,0,0.0019,0.0022,0.0212,0.2734,0,0.0984,0.189,0.0959,0.0221,0,0.6567,0,0,0.1004,0.1008,0,0,0,0,0.1644,0,0.2715,0.1878,0,0.0099,0.1603,0,0,0,0.0302,0,0,0.0108,0.3925,0.0551,0,0,0,0,0,0,0.7768,0,0.0648,0,0,0,0,0,0,0.0456,0,0,0,0,0.2634,0,0.0405,0,0,0.0078,0.0088,0,0,0,0,0,0,0,0.0579,0,0,0,0.3782,0,0.0002,0.013,0,0,0.0101,0.028,0.0106,0,0.0282,0.08,0,0.3618,0.1676,0,0.0175,0.0148,0,0.0546,0.0142,0,0,0.1538,0.471,0,0.0131,0,0.12,0.3864,0,0,0.5615,0.1354,0,0,0.0824,0.0028,0,0,0.0133,0,0.034,0.0251,0,0.2436,0.0127,0.2134,0,0,0,0,0.1796,0,0.1434,0.2646,0,0.0139,0,0,0.0489,0,0.0775,0,0,0.105,0,0,0,0,0.1592,0.3031,0.1606,0.0589,0,0,0,0.1009,0,0,0,0,0,0.0513,0,0,0,0,0,0,0,0.3306,0,0.0026,0,0.0574,0,0.1836,0,0,0,0,0.0171,0.3397,0,0,0.0023,0.2599,0,0.1198,0.026,0,0.0005,0,0,0.222,0.0155,0,0,0.0055,0,0,0,0.0001,0,0.8113,0,0.1926,0,0,0,0,0.1049,0.2033,0,0.0139,0.0074,0.3371,0.421,0.0323,0.0168,0.0067,0,0,0.011,0.0613,0,0,0.017,0,0,0,0,0,0.1293,0,0.0049,0,0.0569,0.0029,0,0,0.0223,0.0691,0,0,0.0133,0.1423,0,0,0,0,0.0034,0.2896,0.01,0,0,0.197,0,0.0591,0,0,0,0.0502,0.0344,0.008,0.0385,0.0109,0,0.3712,0.0075,0.1682,0,0,0,0,0.0108,0,0.004,0.1126,0.0034,0,0,0.0042,0.0432,0.0038,0,0,0,0.0025,0,0.0157,0,0.0034,0,0,0,0.1702,0,0,0.006,0.261,0.0118,0,0.0199,0,0.1179,0,0.2986,0.1145,0.0336,0,0,0,0.1325,0,0,0,0,0,0.3642,0,0,0,0,0,0.1802,0.2936,0.077,0.062,0.1271,0,0.0426,0,0.0263,0,0,0,0,0.3582,0.309,0.0512,0,0,0,0,0.0052,0.0958,0,0.0548,0,0,0,0,0,0,0.2836,0,0.0973,0,0,0,0.0259,0,0.173,0.051,0.1075,0.0914,0.0563,0,0,0.1986,0,0,0,0,0,0.1177,0.0481,0,0,0.1554,0.4423,0.5005,0,0.1502,0,0,0.0674,0.0322,0,0.0546,0.0343,0,0,0.3772,0.0017,0.0357,0,0,0.0569,0.0337,0.0372,0.079,0.5141,0.0855,0.1595,0.2282,0,0.1225,0.0136,0.002,0,0,0,0,0.0109,0,0.0453,0.066,0.0143,0,0.6645,0,0.0018,0.119,0,0,0,0,0,0.4294,0,0,0,0.3227,0.2225,0.3698,0.0321,0.3064,0.1198,0,0,0.2125,0,0,0.0054,0,0,0.0798,0.0111,0.3665,0,0,0.0692,0.1909,0,0,0.0095,0.3938,0,0,0,0,0.017,0,0,0.0102,0,0,0,0,0.0046,0,0,0.8315,0,0.0201,0,0,0,0.0405,0.0485,0.0247,0,0,0,0,0,0,0,0.2475,0.0015,0,0,0.0659,0,0.0391,0,0,0.0996,0.082,0,0,0,0.1795,0,0.1474,0,0.1452,0,0,0.2901,0.5099,0,0,0,0,0,0.0024,0,0,0,0.2052,0.0022,0,0.0038,0,0.0488,0,0,0.2317,0.0551,0,0,0,0,0.0412,0,0.0008,0,0,0.0441,0.1205,0,0,0.0311,0.0007,0,0.1364,0.0055,0.3631,0,0,0,0,0.0518,0.0612,0,0.5136,0,0.0052,0.1299,0.0466,0.3557,0,0,0.3747,0,0.0016,0,0,0,0.2188,0.1544,0.0783,0,0.0995,0,0.0481,0.0238,0.0147,0,0.009,0,0,0,0.0023,0,0,0.0252,0.0518,0,0,0.0227,0,0,0,0.0776,0,0.2083,0,0.0849,0,0.03,0.0301,0,0.0809,0.0512,0,0,0,0,0.0202,0.0194,0,0,0,0,0.0202,0,0,0,0,0,0.2055,0,0,0,0.2862,0,0,0.0275,0,0,0,0.1739,0,0.0163,0.0531,0.0069,0.1815,0.0426,0.0076,0.0589,0.003,0.0053,0.0202,0,0,0,0.0228,0,0.4311,0.0258,0,0.2686,0,0.0913,0.0883,0,0.0067,0.0905,0.0254,0,0.4094,0,0,0.1692,0,0.0338,0,0.0749,0,0,0.0561,0,0,0.1642,0.0453,0.1247,0,0.0235,0.2903,0,0,0,0.077,0.1032,0,0,0,0.0461,0,0,0,0.0164,0,0,0.0844,0.181,0,0,0,0,0.014,0.0301,0,0.4428,0.022,0.1792,0.1803,0,0,0.372,0,0.054,0,0.1352,0.0087,0,0,0,0,0.022,0.0599,0,0.1808,0.5207,0.0061,0.0941,0,0,0,0.0164,0,0.0792,0.0793,0.159,0.0151,0.0051,0.0605,0.1863,0.0834,0,0,0,0,0.0094,0,0,0,0.0117,0,0.0156,0.0589,0,0,0.2971,0,0,0,0,0,0,0.6946,0.0761,0,0.4666,0,0.0674,0,0,0.296,0,0,0.0238,0.2527,0.339,0.0006,0.1479,0.0638,0.038,0,0.0781,0,0,0,0.0014,0.1579,0.0168,0.1195,0,0.0202,0,0,0,0.0009,0,0,0,0.222,0,0.0545,0,0,0,0.0357,0,0.3129,0.0851,0.2193,0.0221,0.1222,0,0,0.0546,0.0185,0,0.255,0.3806,0,0.0937,0.0061,0,0,0,0.0315,0,0.109,0,0.0571,0,0.1035,0,0.0041,0.3888,0.5457,0.3478,0,0.0948,0.0648,0,0,0.293,0,0.3995,0,0.1014,0.0153,0,0.4279,0,0,0.321,0,0,0.0217,0.1271,0.0173,0.0167,0.027,0,0,0.438,0.0216,0,0.0177,0.0044,0,0.2,0,0,0.2147,0,0.8678,0.0587,0,0,0,0.1052,0,0,0,0.0233,0.7659,0.0269,0,0,0,0,0,0,0.0288,0.2415,0.3423,0.0193,0.3649,0.0112,0.3225,0.1096,0.2672,0,0,0,0.15,0.1396,0.5056,0.0117,0.0055,0.0534,0.0713,0.0134,0,0.1234,0.6298,0,0.0364,0,0.0815,0,0.0867,0,0,0,0,0.4668,0,0.1956,0,0.092,0,0,0.0894,0,0,0,0,0,0,0,0,0.0206,0,0,0,0.0198,0,0,0,0.0195,0.0216,0.4057,0,0,0.0096,0,0.3122,0.0611,0.0975,0,0.3123,0.0019,0,0,0.1188,0,0.3126,0.0897,0,0,0,0,0.1028,0.0056,0.0782,0,0,0,0.0342,0,0,0.0119,0.0083,0.0094,0,0,0.1368,0.4512,0,0,0.6124,0.0126,0,0.2854,0,0.3883,0,0,0.1753,0.0168,0,0,0]}, diff --git a/demo/facematch.js b/demo/facematch.js index 9bc93b9f..dcaffc78 100644 --- a/demo/facematch.js +++ b/demo/facematch.js @@ -183,44 +183,36 @@ async function main() { // pre-load human models await human.load(); - let res; let images = []; let dir = []; // load face descriptor database await getFaceDB(); // enumerate all sample images in /assets - res = await fetch('/assets'); + const res = await fetch('/samples/groups'); dir = (res && res.ok) ? await res.json() : []; images = images.concat(dir.filter((img) => (img.endsWith('.jpg') && img.includes('sample')))); - // enumerate additional private test images in /private, not includded in git repository - res = await fetch('/private/me'); - dir = (res && res.ok) ? await res.json() : []; - images = images.concat(dir.filter((img) => (img.endsWith('.jpg')))); - - // enumerate additional error images, not includded in git repository - res = await fetch('/private/err'); - dir = (res && res.ok) ? await res.json() : []; - images = images.concat(dir.filter((img) => (img.endsWith('.jpg')))); - log('Enumerated:', images.length, 'images'); // could not dynamically enumerate images so using static list if (images.length === 0) { images = [ - 'sample1.jpg', - 'sample2.jpg', - 'sample3.jpg', - 'sample4.jpg', - 'sample5.jpg', - 'sample6.jpg', - 'sample6.jpg', - 'sample-me.jpg', - 'human-sample-face.jpg', - 'human-sample-upper.jpg', - 'human-sample-body.jpg', + 'groups/group1.jpg', + 'groups/group2.jpg', + 'groups/group3.jpg', + 'groups/group4.jpg', + 'groups/group5.jpg', + 'groups/group6.jpg', + 'groups/group7.jpg', + 'groups/group8.jpg', + 'groups/group9.jpg', + 'groups/group10.jpg', + 'groups/group11.jpg', + 'groups/group12.jpg', + 'groups/group13.jpg', + 'groups/group14.jpg', ]; // add prefix for gitpages - images = images.map((a) => `/human/assets/${a}`); + images = images.map((a) => `/samples/${a}`); log('Adding static image list:', images.length, 'images'); } diff --git a/samples/README.md b/samples/README.md new file mode 100644 index 00000000..168a8b79 --- /dev/null +++ b/samples/README.md @@ -0,0 +1,4 @@ +# Human Library: Sample Images + +Sample Images used by `Human` library demos and automated tests +Not required for normal funcioning of library diff --git a/src/config.ts b/src/config.ts index b194c75c..f58e2f74 100644 --- a/src/config.ts +++ b/src/config.ts @@ -244,7 +244,7 @@ const config: Config = { rotation: true, // use best-guess rotated face image or just box with rotation as-is // false means higher performance, but incorrect mesh mapping if face angle is above 20 degrees // this parameter is not valid in nodejs - maxDetected: 5, // maximum number of faces detected in the input + maxDetected: 15, // maximum number of faces detected in the input // should be set to the minimum number for performance skipFrames: 15, // how many max frames to go without re-running the face bounding box detector // only used when cacheSensitivity is not zero diff --git a/src/face.ts b/src/face.ts index 0fee78fd..53db54b8 100644 --- a/src/face.ts +++ b/src/face.ts @@ -211,7 +211,6 @@ export const detectFace = async (parent /* instance of human */, input: Tensor): : 0; // combine results - if (faces[i].image) delete faces[i].image; faceRes.push({ ...faces[i], id: i, @@ -226,6 +225,8 @@ export const detectFace = async (parent /* instance of human */, input: Tensor): }); // dispose original face tensor tf.dispose(faces[i].image); + // delete temp face image + if (faces[i].image) delete faces[i].image; parent.analyze('End Face'); } diff --git a/test/README.md b/test/README.md index 93de9897..bfa18c60 100644 --- a/test/README.md +++ b/test/README.md @@ -2,6 +2,8 @@ ## Automatic Tests +Not required for normal funcioning of library + ### NodeJS using TensorFlow library - Image filters are disabled due to lack of Canvas and WeBGL access diff --git a/test/test-main.js b/test/test-main.js index 28e30a46..5c010315 100644 --- a/test/test-main.js +++ b/test/test-main.js @@ -140,22 +140,22 @@ async function test(Human, inputConfig) { log('info', 'test body variants'); config.body = { modelPath: 'posenet.json', enabled: true }; - await testDetect(human, 'assets/human-sample-body.jpg', 'posenet'); + await testDetect(human, 'samples/ai-body.jpg', 'posenet'); config.body = { modelPath: 'movenet-lightning.json', enabled: true }; - await testDetect(human, 'assets/human-sample-body.jpg', 'movenet'); + await testDetect(human, 'samples/ai-body.jpg', 'movenet'); await testDetect(human, null, 'default'); log('info', 'test: first instance'); - await testDetect(human, 'assets/sample-me.jpg', 'default'); + await testDetect(human, 'samples/ai-upper.jpg', 'default'); log('info', 'test: second instance'); const second = new Human(config); - await testDetect(second, 'assets/sample-me.jpg', 'default'); + await testDetect(second, 'samples/ai-upper.jpg', 'default'); log('info', 'test: concurrent'); await Promise.all([ - testDetect(human, 'assets/human-sample-face.jpg', 'default'), - testDetect(second, 'assets/human-sample-face.jpg', 'default'), - testDetect(human, 'assets/human-sample-body.jpg', 'default'), - testDetect(second, 'assets/human-sample-body.jpg', 'default'), + testDetect(human, 'samples/ai-face.jpg', 'default'), + testDetect(second, 'samples/ai-face.jpg', 'default'), + testDetect(human, 'samples/ai-body.jpg', 'default'), + testDetect(second, 'samples/ai-body.jpg', 'default'), ]); const t1 = process.hrtime.bigint(); log('info', 'test complete:', Math.trunc(Number(t1 - t0) / 1000 / 1000), 'ms');