Commit Graph

403 Commits (2b4fe6c78e39042c78f96b79398ee7cde0f1dfdf)

Author SHA1 Message Date
Vladimir Mandic 956e4743c7 caching determination is now dynamic based on detection of input change and not based on input types 2021-05-18 11:36:24 -04:00
Vladimir Mandic 8741695dbd human 1.9.0 beta with breaking changes regarding caching 2021-05-18 11:26:16 -04:00
Vladimir Mandic 0131b10767 update 2021-05-17 08:56:57 -04:00
Vladimir Mandic 4f9d5c7b09 fix node build and update model signatures 2021-05-11 07:53:06 -04:00
Vladimir Mandic 48351b1539 update & fix posenet 2021-05-05 10:07:44 -04:00
Vladimir Mandic 0120290047 switch posenet weights 2021-05-04 20:46:33 -04:00
Vladimir Mandic 2546e7b7e9 add hand labels in draw 2021-04-26 07:37:29 -04:00
Vladimir Mandic b41d4783ef cleanup demo workflow 2021-04-26 07:19:30 -04:00
Vladimir Mandic 88b646b283 convert blazeface to module 2021-04-25 16:56:10 -04:00
Vladimir Mandic 5e089f1f12 remove blazeface-front and add unhandledrejection handler 2021-04-25 14:15:38 -04:00
Vladimir Mandic 3c11ef4189 major update for 1.8 release candidate 2021-04-25 13:16:04 -04:00
Vladimir Mandic 439a7af2e4 enable webworker detection 2021-04-25 07:51:01 -04:00
Vladimir Mandic 437f2f914e enable cross origin isolation 2021-04-24 18:43:59 -04:00
Vladimir Mandic 4dba6b29cb rewrite posenet decoder 2021-04-24 16:04:49 -04:00
Vladimir Mandic e060f1947a update posenet model 2021-04-24 11:49:26 -04:00
Vladimir Mandic a363a08633 update 2021-04-19 16:19:03 -04:00
Vladimir Mandic c4a353787a added filter.flip feature 2021-04-19 16:02:47 -04:00
Vladimir Mandic d270a45492 update gestures 2021-04-19 09:30:04 -04:00
Vladimir Mandic e0666cebe2 mobile demo optimization and iris gestures 2021-04-18 19:33:40 -04:00
Vladimir Mandic e42465d004 update tfjs 3.4.0 2021-04-14 12:53:00 -04:00
Vladimir Mandic e231e68d2d experimental node-wasm support 2021-04-13 21:45:45 -04:00
Vladimir Mandic 43f564a978 fix for safari imagebitmap 2021-04-13 11:32:22 -04:00
Vladimir Mandic 0af73ab567 refactored human.config and human.draw 2021-04-13 11:05:52 -04:00
Vladimir Mandic de2b82e45d implement webrtc 2021-04-12 17:48:59 -04:00
Vladimir Mandic 6e0fe556e8 added support for multiple instances of human 2021-04-12 08:29:52 -04:00
Vladimir Mandic 0e20bfe665 exception handling 2021-04-09 10:02:40 -04:00
Vladimir Mandic b572858b97 add modelBasePath option 2021-04-09 08:07:58 -04:00
Vladimir Mandic 0788b049b3 update 2021-04-08 12:10:15 -04:00
Vladimir Mandic 7022c265a7 update tslib 2021-04-06 11:38:01 -04:00
Vladimir Mandic 9b5ced8f62 add dynamic viewport and fix web worker 2021-04-05 11:48:24 -04:00
Vladimir Mandic 34f01f2053 input type validation 2021-04-02 08:37:35 -04:00
Vladimir Mandic 5931a6f541 normalize all scores 2021-04-01 09:24:56 -04:00
Vladimir Mandic 49a9717b90 added face3d demo 2021-03-30 09:03:18 -04:00
Vladimir Mandic b4c4364953 initial work on face3d three.js demo 2021-03-29 15:59:16 -04:00
Vladimir Mandic 1d715dfead new serve module and demo structure 2021-03-29 14:40:34 -04:00
Vladimir Mandic 6d978c0b9b move gl flags to correct location 2021-03-28 13:22:22 -04:00
Vladimir Mandic 957872e5a1 minor rotation calculation fix 2021-03-28 08:49:56 -04:00
Vladimir Mandic 9cdae38de1 remove debug output 2021-03-28 08:44:53 -04:00
Vladimir Mandic 491ebe018f new face rotation calculations 2021-03-28 08:40:39 -04:00
ButzYung e8d082f6ad cleanup 2021-03-28 07:32:31 -04:00
ButzYung 395b72680b rotationMatrixToEulerAngle, and fixes 2021-03-28 07:32:31 -04:00
ButzYung 749fc56646 face rotation matrix 2021-03-28 07:32:31 -04:00
Vladimir Mandic 8b9374c09b experimental: add efficientpose 2021-03-27 15:43:48 -04:00
Vladimir Mandic 9bb0769637 implement nanodet 2021-03-27 10:25:31 -04:00
Vladimir Mandic dc7abbb459 start working on efficientpose 2021-03-26 18:50:19 -04:00
Vladimir Mandic cece9f71fc updated face description 2021-03-24 11:08:49 -04:00
Vladimir Mandic 13ea73e650 improve fact matching 2021-03-23 15:24:58 -04:00
Vladimir Mandic 272985bb25 update nanodet and face rotation check 2021-03-23 14:46:44 -04:00
Vladimir Mandic ca511a5385 update demos 2021-03-21 17:47:00 -04:00
Vladimir Mandic 64adb7ebd8 new module: face description 2021-03-21 14:18:51 -04:00
Vladimir Mandic 0e15a5e846 refactor face classes 2021-03-21 07:49:55 -04:00
Vladimir Mandic 13a2472f75 update 2021-03-17 20:26:43 -04:00
Vladimir Mandic c1c6b66315 redefine tensor 2021-03-17 20:23:12 -04:00
Vladimir Mandic de0fffbfdc enforce types 2021-03-17 20:16:40 -04:00
Vladimir Mandic 2464b8c0ef update 2021-03-17 18:33:12 -04:00
Vladimir Mandic b0ed511405 type definitions 2021-03-17 18:23:19 -04:00
Vladimir Mandic 8523da07b5 fix box clamping and raw output 2021-03-17 14:35:11 -04:00
Vladimir Mandic aa79cd3b20 hierarchical readme notes 2021-03-17 12:01:54 -04:00
Vladimir Mandic 7738c2ad3d update 2021-03-17 11:40:31 -04:00
Vladimir Mandic c356b02625 add experimental nanodet object detection 2021-03-17 11:32:37 -04:00
Vladimir Mandic 5e082a5294 implement human.match and embedding demo 2021-03-15 12:14:48 -04:00
Vladimir Mandic 6294882ea8 fix broken build 2021-03-14 13:49:01 -04:00
Vladimir Mandic 1da76b4adc update 2021-03-14 13:39:47 -04:00
Vladimir Mandic 43d283125b add typedocs and types 2021-03-13 22:31:09 -05:00
Vladimir Mandic fc8e5bf258 strong typings 2021-03-13 13:47:45 -05:00
Vladimir Mandic 896cb0aac0 update embedding and strong typings 2021-03-13 11:26:53 -05:00
Vladimir Mandic 75f3e3c269 distance based on minkowski space and limited euclidean space 2021-03-12 18:24:34 -05:00
Vladimir Mandic 8de79a92b2 guard against invalid input images 2021-03-12 16:43:36 -05:00
Vladimir Mandic 12b0058a1b switched face embedding to mobileface 2021-03-12 12:54:08 -05:00
Vladimir Mandic c3ecdf5486 add test for face descriptors 2021-03-11 18:26:04 -05:00
Vladimir Mandic d5b620dbe8 autodetect inputSizes 2021-03-11 10:26:14 -05:00
Vladimir Mandic 74ad5a2837 enhanced age, gender, emotion detection 2021-03-10 09:44:45 -05:00
Vladimir Mandic f8b13a8bba remove blazeface-front and faceboxes 2021-03-09 18:32:35 -05:00
Vladimir Mandic 9fd20393be fix for face detector when mesh is disabled 2021-03-09 13:15:40 -05:00
Vladimir Mandic 36451ea918 update docs and demo 2021-03-08 07:32:24 -05:00
Vladimir Mandic cd949deec9 implemented 3d face angle calculations 2021-03-06 17:22:47 -05:00
Vladimir Mandic 18a4789639 add curve draw output 2021-03-06 10:38:04 -05:00
Vladimir Mandic de2ff38ff8 fix human.draw 2021-03-05 14:30:09 -05:00
Vladimir Mandic c2e74d2ba1 update human.draw helper methods 2021-03-05 11:43:50 -05:00
Vladimir Mandic 95519c45b7 added blazepose-upper 2021-03-05 07:39:37 -05:00
Vladimir Mandic 75161c9127 implement blazepose and update demos 2021-03-04 10:33:08 -05:00
Vladimir Mandic b77b98e8d4 fine tuning age and face models 2021-03-03 09:59:04 -05:00
Vladimir Mandic 7969623849 add debug logging flag 2021-03-02 11:27:42 -05:00
Vladimir Mandic 278cc818af added skipInitial flag 2021-03-01 17:20:02 -05:00
Vladimir Mandic b7e0674abe rebuild 2021-02-26 09:04:15 -05:00
Vladimir Mandic 87e0559706 updated model defaults 2021-02-22 09:13:11 -05:00
Vladimir Mandic 8aa92fad2c build fix 2021-02-21 14:06:13 -05:00
Vladimir Mandic 1a5d5cb37e fix imagefx and add dev builds 2021-02-21 07:20:58 -05:00
Vladimir Mandic e24882f472 update imagefx 2021-02-19 08:35:41 -05:00
Vladimir Mandic 3ca1773e12 update tfjs to 3.1.0 2021-02-17 10:22:38 -05:00
Vladimir Mandic a8ccee95bf update lint rules 2021-02-13 09:21:48 -05:00
Vladimir Mandic 17c9aa6583 updated lint rules 2021-02-13 09:16:41 -05:00
Vladimir Mandic 402ef8ae32 updated typings 2021-02-08 12:47:38 -05:00
Vladimir Mandic 3824deba29 convert to typescript 2021-02-08 11:39:09 -05:00
Vladimir Mandic 60b817ba4c added faceboxes alternative model 2021-02-06 17:41:53 -05:00
Vladimir Mandic fbd1eb94c2 added warmup for nodejs 2021-01-30 13:23:07 -05:00
Vladimir Mandic 2a041305e9 added humangl custom backend 2021-01-13 09:35:31 -05:00
Vladimir Mandic 61c4d7ae6d code cleanup and enable minification 2021-01-12 09:55:08 -05:00
Vladimir Mandic 44ae1b517a fix safari incopatibility 2021-01-12 08:24:00 -05:00
Vladimir Mandic 872fb5fdb2 work on blazepose 2021-01-11 14:35:57 -05:00
Vladimir Mandic 98bd96426a added iris gesture 2021-01-11 09:02:02 -05:00
Vladimir Mandic 049facf72b fix emotion labels 2021-01-06 06:51:20 -05:00
Vladimir Mandic 6ba9cda7bb remove iris coords if iris is disabled 2021-01-05 16:41:54 -05:00
Vladimir Mandic f7a51349bf update iris objects 2021-01-05 16:33:43 -05:00
Vladimir Mandic 79ac90f684 stricter linting, fix face annotations 2020-12-27 08:12:22 -05:00
ButzYung 94fb9408ad Variable name changes, setting .rawCoords only if necessary 2020-12-22 12:20:36 -05:00
ButzYung 2eb0578501 Option to return raw data (mesh, box) for Facemesh / "preserve aspect ratio" fix from Facemesh upstream 2020-12-22 12:20:36 -05:00
Vladimir Mandic 253030830f add z axis scaling 2020-12-16 19:16:54 -05:00
Vladimir Mandic ab87288e7d republish due to tfjs 2.8.0 issues 2020-12-16 14:49:14 -05:00
Vladimir Mandic 5921d14bfe added custom webgl backend 2020-12-12 18:34:30 -05:00
Vladimir Mandic 4d43356d73 improved caching and warmup 2020-12-11 10:11:49 -05:00
Vladimir Mandic a1aaa44e8d conditional hand rotation 2020-12-10 15:46:45 -05:00
Vladimir Mandic 5c6e610a37 implemented face and hand boundary checks 2020-12-08 10:50:26 -05:00
Vladimir Mandic 7a0e5a555d embedded sample for warmup 2020-12-08 09:58:30 -05:00
Vladimir Mandic f65effc69d switch to central logger 2020-12-08 09:00:44 -05:00
Vladimir Mandic 40e0f1c4c4 minor compatibility fixes 2020-11-26 10:37:04 -05:00
Vladimir Mandic e1b3fff07c update for node v15 2020-11-25 09:13:19 -05:00
Vladimir Mandic 4679b859b8 implement multi-person gestures 2020-11-23 23:36:04 -05:00
Vladimir Mandic 2978b319c3 modularize pipeline models 2020-11-23 22:55:01 -05:00
Vladimir Mandic 853745512e changed build for optimized node & browser 2020-11-21 12:21:47 -05:00
Vladimir Mandic a84c26c781 camera exception handling 2020-11-20 07:52:50 -05:00
Vladimir Mandic 41f7386583 force f16 textures 2020-11-19 16:16:51 -05:00
Vladimir Mandic ef13c1e560 ui redesign 2020-11-19 14:45:59 -05:00
Vladimir Mandic adcb55c83a completed tfjs wrapper 2020-11-18 08:26:28 -05:00
Vladimir Mandic d81a8bdc1e fix serious performance bug around skipframes 2020-11-17 17:42:44 -05:00
Vladimir Mandic 01ad1809f2 swtich to custom tfjs bundle 2020-11-17 12:38:48 -05:00
Vladimir Mandic a773b9e2b9 swtich to tfjs source import 2020-11-17 10:18:15 -05:00
Vladimir Mandic c7671ef89d switched to minified build 2020-11-16 15:51:46 -05:00
Vladimir Mandic a8d52c45d8 web worker fixes 2020-11-15 09:28:57 -05:00
Vladimir Mandic 86321b2523 fix camera restart on resize 2020-11-14 07:02:05 -05:00
Vladimir Mandic 9d80512e36 implemented face embedding 2020-11-13 16:13:35 -05:00
Vladimir Mandic ea88b72c52 updated face uv coordinates 2020-11-12 14:52:32 -05:00
Vladimir Mandic bfbb3042af updated packages 2020-11-12 12:58:55 -05:00
Vladimir Mandic 1b0a037d3f reduced bundle size 2020-11-12 12:17:57 -05:00
Vladimir Mandic a3fa102a77 implemented buffered processing 2020-11-12 09:21:26 -05:00
Vladimir Mandic 17a8e20a53 fix for conditional model loading 2020-11-11 22:40:05 -05:00
Vladimir Mandic fcdb076549 added performance notes 2020-11-11 15:02:49 -05:00
Vladimir Mandic ec19579e53 update dependencies 2020-11-10 09:54:07 -05:00
Vladimir Mandic 53b4542140 fix bug in async ops and change imports 2020-11-10 08:57:39 -05:00
Vladimir Mandic de2819a96e add wasm bundle 2020-11-09 20:13:38 -05:00
Vladimir Mandic 57a93768f9 reimplemented blazeface processing 2020-11-09 14:26:10 -05:00
Vladimir Mandic 4dba0c7247 added additional gestures 2020-11-09 09:31:11 -05:00
Vladimir Mandic a24c6e134b implemented blink detection 2020-11-09 08:57:24 -05:00
Vladimir Mandic 22d847311e fix wasm module 2020-11-09 06:32:11 -05:00
Vladimir Mandic d2c6b6560d optimizations 2020-11-08 12:26:45 -05:00
Vladimir Mandic 11d3f76df0 update hand model 2020-11-08 09:56:02 -05:00
Vladimir Mandic cd6f1f7e7a update hand algorithm 2020-11-08 01:17:25 -05:00
Vladimir Mandic 90abc61e4f updated ui 2020-11-07 11:34:09 -05:00
Vladimir Mandic 50c2648711 fix hand detection performance 2020-11-07 11:25:03 -05:00
Vladimir Mandic c9649d7397 optimized model loader 2020-11-07 10:37:19 -05:00
Vladimir Mandic 0670083e92 fix nms sync call 2020-11-06 19:25:37 -05:00
Vladimir Mandic c3cf00b583 model tuning 2020-11-06 15:35:58 -05:00
Vladimir Mandic eb3dbea2ca cache invalidation improvements 2020-11-06 13:50:16 -05:00
Vladimir Mandic 6f22d2a3d3 full async operations 2020-11-06 11:39:39 -05:00
Vladimir Mandic e15e80302e fix canvas size on different orientation 2020-11-05 15:59:28 -05:00
Vladimir Mandic 02ba731a60 updated emotion models 2020-11-05 15:38:09 -05:00
Vladimir Mandic 91ddc0c57d fixed worker and filter compatibility 2020-11-05 08:21:23 -05:00
Vladimir Mandic 9fa7e3d467 major work on handpose model 2020-11-04 14:59:30 -05:00
Vladimir Mandic 37321af4ae changed demo build process 2020-11-04 11:43:51 -05:00
Vladimir Mandic d94aa0362c implemented simple gesture recognition 2020-11-04 10:18:22 -05:00
Vladimir Mandic 6653cff104 remove debug code 2020-11-04 01:13:40 -05:00
Vladimir Mandic 430a950112 redo hand detection 2020-11-04 01:11:24 -05:00
Vladimir Mandic 9b0b8cf390 enhanced processing resolution 2020-11-03 10:55:33 -05:00
Vladimir Mandic 2b5901ff55 complete model refactoring 2020-11-03 09:34:36 -05:00
Vladimir Mandic 161f168bba optimized demo 2020-11-02 22:15:37 -05:00
Vladimir Mandic eb3bd3dae9 major performance improvements for all models 2020-11-02 18:54:03 -05:00
Vladimir Mandic 0d99113f77 Revert "optimized canvas handling"
This reverts commit 80d7133a8e.
2020-11-02 17:31:37 -05:00
Vladimir Mandic 80d7133a8e optimized canvas handling 2020-11-02 17:25:35 -05:00
Vladimir Mandic 5e3193bf54 minor optimization to imagefx 2020-11-02 12:21:30 -05:00
Vladimir Mandic 813d052ea8 implemented memory profiler 2020-11-01 13:07:53 -05:00
Vladimir Mandic cc3d5f939e improved debug logging 2020-10-30 11:57:23 -04:00
Vladimir Mandic e39831224d added wasm and webgpu backends 2020-10-30 10:23:49 -04:00
Vladimir Mandic b6ed98dde8 fix firefox compatibility bug 2020-10-27 11:56:41 -04:00
Vladimir Mandic 9be15515b5 updated samples 2020-10-27 10:30:28 -04:00
Vladimir Mandic 4664228d4b implelented input resizing 2020-10-27 10:06:01 -04:00
Vladimir Mandic 2566a9633f log initialization 2020-10-20 07:58:20 -04:00
Vladimir Mandic 36675c5152 breaking change: convert to object class 2020-10-19 11:03:48 -04:00
Vladimir Mandic dfc67f0188 compatibility notes 2020-10-18 14:14:05 -04:00
Vladimir Mandic 362ee4441e implemented image filters 2020-10-18 12:12:09 -04:00
Vladimir Mandic f5f3a2c1d5 pure tensor pipeline without image converts 2020-10-18 09:21:53 -04:00
Vladimir Mandic 7a6741e3b4 autodetect skipFrames 2020-10-18 08:07:45 -04:00
Vladimir Mandic 08101e4c45 added diagnostics output 2020-10-17 11:43:04 -04:00
Vladimir Mandic 0411ed1371 parallelized agegender operations 2020-10-17 11:38:24 -04:00
Vladimir Mandic 8643a2191a fixed memory leaks and added scoped runs 2020-10-17 10:06:02 -04:00
Vladimir Mandic f3bf35533e added state handling 2020-10-17 07:15:23 -04:00
Vladimir Mandic 9f86c24fe3 refactored package file layout 2020-10-17 06:30:00 -04:00
Vladimir Mandic 45730a07a6 updated examples plus bugfixes 2020-10-16 15:04:51 -04:00
Vladimir Mandic 93b5aa16ed optimized blazeface anchors 2020-10-16 10:48:10 -04:00
Vladimir Mandic fc0940a481 added error handling 2020-10-16 10:12:12 -04:00
Vladimir Mandic 03db7fd8da added blazeface back and front models 2020-10-15 20:20:37 -04:00
Vladimir Mandic ff386b6e64 added debugging and versioning 2020-10-15 15:25:58 -04:00
Vladimir Mandic 567966a162 optimized demos and added scoped runs 2020-10-15 09:43:16 -04:00
Vladimir Mandic 38d02819d3 added emotion backend 2020-10-14 18:22:38 -04:00
Vladimir Mandic 420607c490 module parametrization and performance monitoring 2020-10-14 13:23:02 -04:00
Vladimir Mandic 9e1776906f implemented multi-hand support 2020-10-14 11:43:33 -04:00
Vladimir Mandic 251c75d553 added node build and demo 2020-10-13 20:52:30 -04:00
Vladimir Mandic a1adaf3599 updated demo 2020-10-13 09:59:21 -04:00
Vladimir Mandic f81e183950 fixed memory leak 2020-10-12 22:01:35 -04:00
Vladimir Mandic fa702d47f6 updated model path 2020-10-12 10:20:51 -04:00
Vladimir Mandic ce33614987 updated model path 2020-10-12 10:14:26 -04:00
Vladimir Mandic df80506b43 updated iife and esm demos 2020-10-12 10:08:00 -04:00
Vladimir Mandic 5516daf2d6 updated demo 2020-10-11 21:21:41 -04:00
Vladimir Mandic c018daee34 initial public commit 2020-10-11 19:22:43 -04:00