Commit Graph

494 Commits (b72d59264780e6e4448fe71cee7a71adb0d46343)

Author SHA1 Message Date
Vladimir Mandic 8372469e6c strong type for string enums 2021-12-15 09:26:32 -05:00
Vladimir Mandic 67c60a77b7 fix node detection in electron environment 2021-12-07 17:02:33 -05:00
Vladimir Mandic 5ed2e15a4e add offscreencanvas typedefs 2021-11-26 11:55:52 -05:00
Vladimir Mandic a90e8ee723 update blazepose and extend hand annotations 2021-11-24 16:17:03 -05:00
Vladimir Mandic c919784f68 release preview 2021-11-23 10:40:40 -05:00
Vladimir Mandic 7924518151 fix face box scaling on detection 2021-11-23 08:36:32 -05:00
Vladimir Mandic 1db4783611 cleanup 2021-11-22 14:44:25 -05:00
Vladimir Mandic cf304bc514 prototype blazepose detector 2021-11-22 14:33:40 -05:00
Vladimir Mandic 02d883c00f minor fixes 2021-11-21 16:55:17 -05:00
Vladimir Mandic 67667160cb add body 3d interpolation 2021-11-19 18:30:57 -05:00
Vladimir Mandic 9fd7ea723e edit blazepose keypoints 2021-11-19 16:11:03 -05:00
Vladimir Mandic c3a5e1f802 new build process 2021-11-18 10:10:06 -05:00
Vladimir Mandic 7517ac2d8f update typescript 2021-11-17 16:50:21 -05:00
Vladimir Mandic eb65cabf31 create typedef rollup 2021-11-17 15:45:49 -05:00
Vladimir Mandic 8d05c1089e optimize centernet 2021-11-16 20:16:49 -05:00
Vladimir Mandic 7deb9694e7 cache frequent tf constants 2021-11-16 18:31:07 -05:00
Vladimir Mandic 54b492b987 add extra face rotation prior to mesh 2021-11-16 13:07:44 -05:00
Vladimir Mandic 798d842c4b improve error handling 2021-11-14 11:22:52 -05:00
Vladimir Mandic 296c52fed4 fix mobilefacenet module 2021-11-13 17:26:19 -05:00
Vladimir Mandic 1c228c70bf fix gear and ssrnet modules 2021-11-13 12:23:32 -05:00
Vladimir Mandic b93ea7314c fix for face crop when mesh is disabled 2021-11-12 15:17:08 -05:00
Vladimir Mandic 4f2993a2f5 implement optional face masking 2021-11-12 15:07:23 -05:00
Vladimir Mandic 1e4ceeb1e8 add similarity score range normalization 2021-11-11 17:01:10 -05:00
Vladimir Mandic 474db8bf01 add faceid demo 2021-11-11 11:30:55 -05:00
Vladimir Mandic ea6eb0b9c9 documentation overhaul 2021-11-10 12:21:45 -05:00
Vladimir Mandic adb358fe98 auto tensor shape and channels handling 2021-11-09 19:39:18 -05:00
Vladimir Mandic d1545c8740 add liveness module and facerecognition demo 2021-11-09 14:37:50 -05:00
Vladimir Mandic b9e0c1faf4 initial version of facerecognition demo 2021-11-09 10:39:23 -05:00
Vladimir Mandic 50eff29056 disable humangl backend if webgl 1.0 is detected 2021-11-08 11:35:35 -05:00
Vladimir Mandic 37f62f47fa add additional hand gestures 2021-11-08 07:36:26 -05:00
Vladimir Mandic 7d58d02ca2 new human.compare api 2021-11-07 10:03:33 -05:00
Vladimir Mandic 4c3ea44199 new frame change detection algorithm 2021-11-06 10:21:51 -04:00
Vladimir Mandic db63a70c8a add histogram equalization 2021-11-05 15:09:54 -04:00
Vladimir Mandic 0fa9498afe implement wasm missing ops 2021-11-05 13:36:53 -04:00
Vladimir Mandic c2dc38793e performance and memory optimizations 2021-11-05 11:28:06 -04:00
Vladimir Mandic b64e9ae69f fix react compatibility issues 2021-11-04 06:34:13 -04:00
Vladimir Mandic 3a0436bc54 improve box rescaling for all modules 2021-11-03 16:32:07 -04:00
Vladimir Mandic cd1c8fd003 improve precision using wasm backend 2021-11-02 11:42:15 -04:00
Vladimir Mandic 26f6bba361 refactor predict with execute 2021-11-02 11:07:11 -04:00
Vladimir Mandic 0c4978310f update hand landmarks model 2021-10-31 09:06:33 -04:00
Vladimir Mandic 355529b074 patch tfjs type defs 2021-10-31 08:03:42 -04:00
Vladimir Mandic da7f4300b2 start 2.5 major version 2021-10-30 12:21:54 -04:00
Vladimir Mandic f3411437a0 build and docs cleanup 2021-10-29 15:55:20 -04:00
Vladimir Mandic 8ea9a89642 update tfjs 2021-10-28 14:40:31 -04:00
Vladimir Mandic 59058a0b93 additional human.performance counters 2021-10-27 09:45:38 -04:00
Vladimir Mandic 4fa71659e7 add ts demo 2021-10-27 08:16:06 -04:00
Vladimir Mandic 81d5336498 switch to custom tfjs for demos 2021-10-26 15:08:05 -04:00
Vladimir Mandic b395a74701 refactoring plus jsdoc comments 2021-10-25 13:09:00 -04:00
Vladimir Mandic 2bd59f1276 increase face similarity match resolution 2021-10-25 09:44:13 -04:00
Vladimir Mandic 2923c6b5af time based caching 2021-10-23 09:38:52 -04:00
Vladimir Mandic 87465f99fd initial work on skipTime 2021-10-22 16:09:52 -04:00
Vladimir Mandic c3dab75414 enhanced typing exports 2021-10-22 13:49:40 -04:00
Vladimir Mandic 974a295407 add optional autodetected custom wasm path 2021-10-21 12:42:08 -04:00
Vladimir Mandic 975d7fb477 fix for human.draw labels and typedefs 2021-10-21 10:54:51 -04:00
Vladimir Mandic 37672d6460 refactor human.env to a class type 2021-10-21 10:26:44 -04:00
Vladimir Mandic 715f2dbfb5 update handtrack boxes and refactor handpose 2021-10-20 09:10:57 -04:00
Vladimir Mandic 5d5876e749 update demos 2021-10-19 11:28:59 -04:00
Jimmy Nyström c1243b96e4 Removed direct usage of performance.now
Switched to using the utility function that works in both nodejs and browser environments
2021-10-19 09:58:14 -04:00
Vladimir Mandic 5ef6158cb1 minor blazepose optimizations 2021-10-15 09:34:40 -04:00
Vladimir Mandic 761a636c2c enhanced movenet postprocessing 2021-10-14 12:26:59 -04:00
Vladimir Mandic 37a8892cfe update handtrack skip algorithm 2021-10-13 14:49:41 -04:00
Vladimir Mandic b4e6fda31b add optional anti-spoofing module 2021-10-13 10:56:56 -04:00
Vladimir Mandic b509489ed7 package updates 2021-10-12 14:17:33 -04:00
Vladimir Mandic 0f92e3023e optimize image preprocessing 2021-10-12 11:39:18 -04:00
Vladimir Mandic d23fb162a9 update imagefx 2021-10-12 09:48:00 -04:00
Vladimir Mandic 224f3d26c0 set webgpu optimized flags 2021-10-11 09:22:39 -04:00
Vladimir Mandic 7e7cba2168 major precision improvements to movenet and handtrack 2021-10-10 22:29:20 -04:00
Vladimir Mandic 924a0b24f0 image processing fixes 2021-10-10 17:52:43 -04:00
Vladimir Mandic 110f4999a4 redesign body and hand caching and interpolation 2021-10-08 18:39:04 -04:00
Vladimir Mandic 293eba8379 improve gaze and face angle visualizations in draw 2021-10-07 10:33:10 -04:00
Vladimir Mandic c47b72c56b workaround for chrome offscreencanvas bug 2021-10-06 11:30:34 -04:00
Vladimir Mandic 0e9195dca3 fix backend conflict in webworker 2021-10-04 17:03:36 -04:00
Vladimir Mandic e0ef7c5b1e add blazepose v2 and add annotations to body results 2021-10-04 16:29:15 -04:00
Vladimir Mandic 6bbbeaf452 fix backend order initialization 2021-10-03 08:12:26 -04:00
Vladimir Mandic 49112e584b breaking change: new similarity and match methods 2021-09-30 14:28:16 -04:00
Vladimir Mandic 07eb238490 update movenet-multipose and samples 2021-09-28 17:07:34 -04:00
Vladimir Mandic 3e61cb083e tweaked default values 2021-09-28 13:48:29 -04:00
Vladimir Mandic 8e801a2af5 enable handtrack as default model 2021-09-28 12:02:17 -04:00
Vladimir Mandic 156e857d32 redesign face processing 2021-09-28 12:01:48 -04:00
Vladimir Mandic 28a957316b update types and dependencies 2021-09-27 14:39:54 -04:00
Vladimir Mandic 6be1b062fb refactoring 2021-09-27 13:58:13 -04:00
Vladimir Mandic a21e3c95ed define app specific types 2021-09-27 09:19:43 -04:00
Vladimir Mandic 561d25cfc9 implement box caching for movenet 2021-09-27 08:53:41 -04:00
Vladimir Mandic 5c507ad8f3 autodetect number of bodies and hands 2021-09-25 19:14:03 -04:00
Vladimir Mandic ad2866bab6 new samples gallery and major code folder restructure 2021-09-25 11:51:15 -04:00
Vladimir Mandic 894dde3edd new release 2021-09-24 09:55:27 -04:00
Vladimir Mandic 8bbfb9615a optimize model loading 2021-09-23 14:09:41 -04:00
Vladimir Mandic c52f1c979c support segmentation for nodejs 2021-09-22 19:27:12 -04:00
Vladimir Mandic d3113d6baf update todo and docs 2021-09-22 16:00:43 -04:00
Vladimir Mandic 8a4b498357 redo segmentation and handtracking 2021-09-22 15:16:14 -04:00
Vladimir Mandic 9186e46c57 prototype handtracking 2021-09-21 16:48:16 -04:00
Vladimir Mandic a5977e3f45 automated browser tests 2021-09-20 22:06:49 -04:00
Vladimir Mandic ded141a161 support for dynamic backend switching 2021-09-20 21:59:49 -04:00
Vladimir Mandic 04fcbc7e6a initial automated browser tests 2021-09-20 17:17:13 -04:00
Vladimir Mandic 384d94c0cb enhanced automated test coverage 2021-09-20 09:42:34 -04:00
Vladimir Mandic 57f5fd391f more automated tests 2021-09-19 14:20:22 -04:00
Vladimir Mandic ccd5ba1e46 added configuration validation 2021-09-19 14:07:53 -04:00
Vladimir Mandic cb1ff858e9 updated build platform and typedoc theme 2021-09-18 19:09:02 -04:00
Vladimir Mandic 79f95aa39f prevent validation failed on some model combinations 2021-09-17 14:30:57 -04:00
Vladimir Mandic 64c6195342 webgl exception handling 2021-09-17 14:07:44 -04:00
Vladimir Mandic 8dba39245d experimental webgl status monitoring 2021-09-17 11:23:00 -04:00
Vladimir Mandic 42e6a25294 redefine draw helpers interface 2021-09-15 18:58:54 -04:00
Vladimir Mandic 5f68153af7 add simple webcam and webrtc demo 2021-09-15 13:59:18 -04:00
Vladimir Mandic 246415b8cc reorganize tfjs bundle 2021-09-14 22:07:13 -04:00
Vladimir Mandic 6eaea226da add platform and backend capabilities detection 2021-09-13 23:24:04 -04:00
Vladimir Mandic ddf9239ccd enable canvas patching for nodejs 2021-09-13 13:30:08 -04:00
Vladimir Mandic a0f5922b9a fix multiple memory leaks 2021-09-13 13:28:35 -04:00
Vladimir Mandic fd0f85a8e9 modularize human class and add model validation 2021-09-12 18:37:06 -04:00
Vladimir Mandic 203dbffa1a add dynamic kernel op detection 2021-09-12 13:17:33 -04:00
Vladimir Mandic 7fa09937b4 added human.env diagnostic class 2021-09-12 12:42:17 -04:00
Vladimir Mandic f6724de956 minor typos 2021-09-12 08:49:56 -04:00
Vladimir Mandic 83b705818d release candidate 2021-09-12 00:30:11 -04:00
Vladimir Mandic b8d594e18d parametrize face config 2021-09-12 00:05:06 -04:00
Vladimir Mandic 81bf83c948 mark all config items as optional 2021-09-11 23:59:41 -04:00
Vladimir Mandic 54c1dfb37a redefine config and result interfaces 2021-09-11 23:54:35 -04:00
Vladimir Mandic 6e8bf0f4f4 fix usge of string enums 2021-09-11 23:08:18 -04:00
Vladimir Mandic 19e4e49c41 start using partial definitions 2021-09-11 16:11:00 -04:00
Vladimir Mandic 34a3a42fba implement event emitters 2021-09-11 16:00:16 -04:00
Vladimir Mandic 52b4310992 change build process 2021-09-10 21:21:29 -04:00
Vladimir Mandic 79bb653409 add benchmark info 2021-09-05 16:42:11 -04:00
Vladimir Mandic 296501cbf8 update hand detector processing algorithm 2021-09-02 08:50:16 -04:00
Vladimir Mandic e97df8d380 simplify canvas handling in nodejs 2021-08-31 18:22:16 -04:00
Vladimir Mandic 2e36f43efb added demo node-canvas 2021-08-31 14:48:55 -04:00
Vladimir Mandic e58ba5e803 dynamically generate default wasm path 2021-08-31 13:00:06 -04:00
Vladimir Mandic 17356e0a4d updated wiki 2021-08-23 08:41:50 -04:00
Vladimir Mandic ac83b3d153 implement finger poses in hand detection and gestures 2021-08-20 20:43:03 -04:00
Vladimir Mandic 54d717bbff implemented movenet-multipose model 2021-08-20 09:05:07 -04:00
Vladimir Mandic e1546e158f add static type definitions to main class 2021-08-19 16:16:56 -04:00
Vladimir Mandic e4293511d0 fix interpolation overflow 2021-08-18 14:28:31 -04:00
Vladimir Mandic 312f51f07e rebuild full 2021-08-17 18:49:49 -04:00
Vladimir Mandic 649a3a17b5 update angle calculations 2021-08-17 18:46:50 -04:00
Vladimir Mandic f9a4f741a9 strict type checks 2021-08-17 08:51:17 -04:00
Vladimir Mandic 71f25a8f12 add webgu checks 2021-08-15 08:09:40 -04:00
Vladimir Mandic f29d85dacd experimental webgpu support 2021-08-14 18:00:26 -04:00
Vladimir Mandic f867d46b85 add experimental webgu demo 2021-08-14 13:39:26 -04:00
Vladimir Mandic eadc65cc5a complete async work 2021-08-14 11:16:26 -04:00
Vladimir Mandic 334bb7061f switch to async data reads 2021-08-12 09:31:16 -04:00
Vladimir Mandic 67b7db377d fix centernet & update blazeface 2021-08-11 18:59:02 -04:00
Vladimir Mandic 7cedebbe89 minor update 2021-08-05 10:38:04 -04:00
Vladimir Mandic b70775caa9 update build process to remove warnings 2021-07-31 20:42:28 -04:00
Vladimir Mandic b387bad3f0 enable webgl uniform support for faster warmup 2021-07-29 16:35:16 -04:00
Vladimir Mandic c7613f93e2 fix unregistered ops in tfjs 2021-07-29 16:06:03 -04:00
Vladimir Mandic e84e421a04 updated gesture types 2021-07-29 11:01:50 -04:00
Vladimir Mandic 9394aaa742 add note on manually disping tensor 2021-06-18 13:39:20 -04:00
Vladimir Mandic 733a6db43e modularize model loading 2021-06-18 09:16:21 -04:00
Vladimir Mandic c10f31ef6c added multithreaded demo 2021-06-14 10:23:06 -04:00
Vladimir Mandic bcce8e8872 fix centernet box width & height 2021-06-11 16:12:24 -04:00
Vladimir Mandic 58d46094aa modularize build platform 2021-06-06 20:34:29 -04:00
Vladimir Mandic f654b89e8a custom build tfjs from sources 2021-06-06 19:00:34 -04:00
Vladimir Mandic ccad4a8c20 update wasm to tfjs 3.7.0 2021-06-06 12:58:06 -04:00