Commit Graph

451 Commits (9cc61ae65f2f63e15a1962d22040012df7774e5a)

Author SHA1 Message Date
Vladimir Mandic e0c43098dd initial automated browser tests 2021-09-20 17:17:13 -04:00
Vladimir Mandic 2695b215df enhanced automated test coverage 2021-09-20 09:42:34 -04:00
Vladimir Mandic ddf5d5f0f2 more automated tests 2021-09-19 14:20:22 -04:00
Vladimir Mandic d7cdda2e1b added configuration validation 2021-09-19 14:07:53 -04:00
Vladimir Mandic f59250bde6 updated build platform and typedoc theme 2021-09-18 19:09:02 -04:00
Vladimir Mandic 6ced256a42 prevent validation failed on some model combinations 2021-09-17 14:30:57 -04:00
Vladimir Mandic ab53f1cde7 webgl exception handling 2021-09-17 14:07:44 -04:00
Vladimir Mandic 06ab47f941 experimental webgl status monitoring 2021-09-17 11:23:00 -04:00
Vladimir Mandic 1e8a932a2b redefine draw helpers interface 2021-09-15 18:58:54 -04:00
Vladimir Mandic 4febbc1d3e add simple webcam and webrtc demo 2021-09-15 13:59:18 -04:00
Vladimir Mandic 9ace39fdab reorganize tfjs bundle 2021-09-14 22:07:13 -04:00
Vladimir Mandic 71b08aa8f8 add platform and backend capabilities detection 2021-09-13 23:24:04 -04:00
Vladimir Mandic 36150c0730 enable canvas patching for nodejs 2021-09-13 13:30:08 -04:00
Vladimir Mandic 6796a9a1ba fix multiple memory leaks 2021-09-13 13:28:35 -04:00
Vladimir Mandic edc719cc9e modularize human class and add model validation 2021-09-12 18:37:06 -04:00
Vladimir Mandic fd0df97d94 add dynamic kernel op detection 2021-09-12 13:17:33 -04:00
Vladimir Mandic b492ce5c40 added human.env diagnostic class 2021-09-12 12:42:17 -04:00
Vladimir Mandic c03b7b3f4c minor typos 2021-09-12 08:49:56 -04:00
Vladimir Mandic 259036e8ca release candidate 2021-09-12 00:30:11 -04:00
Vladimir Mandic f423bfe9e3 parametrize face config 2021-09-12 00:05:06 -04:00
Vladimir Mandic 6c8faf7de2 mark all config items as optional 2021-09-11 23:59:41 -04:00
Vladimir Mandic eef2b43852 redefine config and result interfaces 2021-09-11 23:54:35 -04:00
Vladimir Mandic 7b284f63f6 fix usge of string enums 2021-09-11 23:08:18 -04:00
Vladimir Mandic 4d2ca7dd2d start using partial definitions 2021-09-11 16:11:00 -04:00
Vladimir Mandic cc864891bf implement event emitters 2021-09-11 16:00:16 -04:00
Vladimir Mandic f42f64427a change build process 2021-09-10 21:21:29 -04:00
Vladimir Mandic 43074a660c add benchmark info 2021-09-05 16:42:11 -04:00
Vladimir Mandic e6f004dbf9 update hand detector processing algorithm 2021-09-02 08:50:16 -04:00
Vladimir Mandic 90a21de40e simplify canvas handling in nodejs 2021-08-31 18:22:16 -04:00
Vladimir Mandic eaaa71df07 added demo node-canvas 2021-08-31 14:48:55 -04:00
Vladimir Mandic 9cd8a433fe dynamically generate default wasm path 2021-08-31 13:00:06 -04:00
Vladimir Mandic 21d4af9235 updated wiki 2021-08-23 08:41:50 -04:00
Vladimir Mandic e5821563a1 implement finger poses in hand detection and gestures 2021-08-20 20:43:03 -04:00
Vladimir Mandic 49c547d698 implemented movenet-multipose model 2021-08-20 09:05:07 -04:00
Vladimir Mandic 5d871f1dd9 add static type definitions to main class 2021-08-19 16:16:56 -04:00
Vladimir Mandic 58fc62e646 fix interpolation overflow 2021-08-18 14:28:31 -04:00
Vladimir Mandic f460eca131 rebuild full 2021-08-17 18:49:49 -04:00
Vladimir Mandic a559d05378 update angle calculations 2021-08-17 18:46:50 -04:00
Vladimir Mandic cf64b3259e strict type checks 2021-08-17 08:51:17 -04:00
Vladimir Mandic 4d3a112985 add webgu checks 2021-08-15 08:09:40 -04:00
Vladimir Mandic f40eb5d380 experimental webgpu support 2021-08-14 18:00:26 -04:00
Vladimir Mandic d0d0aba8fa add experimental webgu demo 2021-08-14 13:39:26 -04:00
Vladimir Mandic 4fd37dfd56 complete async work 2021-08-14 11:16:26 -04:00
Vladimir Mandic af28fff323 switch to async data reads 2021-08-12 09:31:16 -04:00
Vladimir Mandic 0fd7683a56 fix centernet & update blazeface 2021-08-11 18:59:02 -04:00
Vladimir Mandic 958f898d4b minor update 2021-08-05 10:38:04 -04:00
Vladimir Mandic 5c529d5889 update build process to remove warnings 2021-07-31 20:42:28 -04:00
Vladimir Mandic db1502829a enable webgl uniform support for faster warmup 2021-07-29 16:35:16 -04:00
Vladimir Mandic a3dea5a01f fix unregistered ops in tfjs 2021-07-29 16:06:03 -04:00
Vladimir Mandic 80526ee02a updated gesture types 2021-07-29 11:01:50 -04:00
Vladimir Mandic 1de80c9e36 add note on manually disping tensor 2021-06-18 13:39:20 -04:00
Vladimir Mandic b408c47847 modularize model loading 2021-06-18 09:16:21 -04:00
Vladimir Mandic 66615cac76 added multithreaded demo 2021-06-14 10:23:06 -04:00
Vladimir Mandic f0ed4d2cd5 fix centernet box width & height 2021-06-11 16:12:24 -04:00
Vladimir Mandic af3699c769 modularize build platform 2021-06-06 20:34:29 -04:00
Vladimir Mandic 5b81690dc9 custom build tfjs from sources 2021-06-06 19:00:34 -04:00
Vladimir Mandic 7a76f9c065 update wasm to tfjs 3.7.0 2021-06-06 12:58:06 -04:00
Vladimir Mandic 6d728b4e5c modularize build platform 2021-06-05 17:51:46 -04:00
Vladimir Mandic 22c849593e enable body segmentation and background replacement in demo 2021-06-05 16:13:41 -04:00
Vladimir Mandic 4be7fc9294 unified build 2021-06-05 12:59:11 -04:00
Vladimir Mandic 5d42b85084 enable body segmentation and background replacement 2021-06-05 11:54:49 -04:00
Vladimir Mandic 13d82a176a work on body segmentation 2021-06-04 20:22:05 -04:00
Vladimir Mandic f85356843d add meet and selfie models 2021-06-04 13:51:01 -04:00
Vladimir Mandic 835fd8d184 update gaze strength calculations 2021-06-03 09:53:11 -04:00
Vladimir Mandic e4cdd3ffca update build with automatic linter 2021-06-03 09:41:53 -04:00
Vladimir Mandic c100d03405 switch worker from module to iife importscripts 2021-06-02 16:46:07 -04:00
Vladimir Mandic 9d7b7dcdce update tests and demos 2021-06-02 13:35:33 -04:00
Vladimir Mandic 375c6f65fc implemented drag & drop for image processing 2021-06-02 12:43:43 -04:00
Vladimir Mandic 92f225d3df release candidate 2021-06-01 08:59:09 -04:00
Vladimir Mandic 47c5c6c822 breaking changes to results.face output properties 2021-06-01 07:37:17 -04:00
Vladimir Mandic c4df466a9a breaking changes to results.object output properties 2021-06-01 07:07:01 -04:00
Vladimir Mandic 616aad6add breaking changes to results.hand output properties 2021-06-01 07:01:59 -04:00
Vladimir Mandic 00f5bd6fde breaking changes to results.body output properties 2021-06-01 06:55:40 -04:00
Vladimir Mandic 23276d522c implemented human.next global interpolation method 2021-05-31 10:40:07 -04:00
Vladimir Mandic 0b62a4f9a3 finished draw buffering and smoothing and enabled by default 2021-05-30 23:21:48 -04:00
Vladimir Mandic 25c45b20c6 update typedoc definitions 2021-05-30 18:45:39 -04:00
Vladimir Mandic 168ad14fda implemented service worker 2021-05-30 17:56:40 -04:00
Vladimir Mandic 60f6f75d35 release candidate 2021-05-30 12:03:34 -04:00
Vladimir Mandic e1ba7ef942 quantize handdetect model 2021-05-29 18:29:57 -04:00
Vladimir Mandic 30df35ec7c added experimental movenet-lightning and removed blazepose from default dist 2021-05-29 09:20:01 -04:00
Vladimir Mandic b9a8d27d9c added experimental face.rotation.gaze 2021-05-28 15:53:51 -04:00
Vladimir Mandic ef22c94d62 fix and optimize for mobile platform 2021-05-28 10:43:48 -04:00
Vladimir Mandic 2903adbf37 update all box calculations 2021-05-25 08:58:20 -04:00
Vladimir Mandic 7b4a90cfb5 implemented unified result.persons that combines face, body and hands for each person 2021-05-24 11:10:13 -04:00
Vladimir Mandic 02ba8016e2 update iris distance docs 2021-05-24 07:18:03 -04:00
Vladimir Mandic 33e8a92cd8 update iris distance calculations 2021-05-24 07:16:38 -04:00
Vladimir Mandic 17ae986665 use green weighted for input diff calculation 2021-05-23 13:54:22 -04:00
Vladimir Mandic c70e9817ef implement experimental drawOptions.bufferedOutput and bufferedFactor 2021-05-23 13:52:49 -04:00
Vladimir Mandic 76f624f78f use explicit tensor interface 2021-05-22 21:54:18 -04:00
Vladimir Mandic 2307767161 add tfjs types and remove all instances of any 2021-05-22 21:47:59 -04:00
Vladimir Mandic 24ec73e037 enhance strong typing 2021-05-22 14:53:51 -04:00
Vladimir Mandic f2ac34f4a9 rebuild all for release 2021-05-22 13:17:07 -04:00
Vladimir Mandic 15925dd75d add id and boxraw on missing objects 2021-05-22 12:41:29 -04:00
Vladimir Mandic f0420232c6 restructure results strong typing 2021-05-22 12:33:19 -04:00
Vladimir Mandic 5566c145ea caching improvements 2021-05-20 19:14:07 -04:00
Vladimir Mandic 6b736ebb0d add experimental mb3-centernet object detection 2021-05-19 08:27:28 -04:00
Vladimir Mandic 3463bb302f individual model skipFrames values still max high threshold for caching 2021-05-18 11:38:22 -04:00
Vladimir Mandic 6add9ba386 config.videoOptimized has been removed and config.cacheSensitivity has been added instead 2021-05-18 11:36:57 -04:00
Vladimir Mandic 7cc927cb1c 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 43ec77d71b human 1.9.0 beta with breaking changes regarding caching 2021-05-18 11:26:16 -04:00
Vladimir Mandic c295588cf7 update 2021-05-17 08:56:57 -04:00
Vladimir Mandic 1652300288 fix node build and update model signatures 2021-05-11 07:53:06 -04:00
Vladimir Mandic 36715ba3cd update & fix posenet 2021-05-05 10:07:44 -04:00
Vladimir Mandic a95ca54bbf switch posenet weights 2021-05-04 20:46:33 -04:00
Vladimir Mandic 3fe8807440 add hand labels in draw 2021-04-26 07:37:29 -04:00
Vladimir Mandic 6e2d6dc40f cleanup demo workflow 2021-04-26 07:19:30 -04:00
Vladimir Mandic 66b7272987 convert blazeface to module 2021-04-25 16:56:10 -04:00
Vladimir Mandic f26dae059e remove blazeface-front and add unhandledrejection handler 2021-04-25 14:15:38 -04:00
Vladimir Mandic fab62c6332 major update for 1.8 release candidate 2021-04-25 13:16:04 -04:00
Vladimir Mandic 7b4055e23d enable webworker detection 2021-04-25 07:51:01 -04:00
Vladimir Mandic a05b9e7774 enable cross origin isolation 2021-04-24 18:43:59 -04:00
Vladimir Mandic 01c9bb24b5 rewrite posenet decoder 2021-04-24 16:04:49 -04:00
Vladimir Mandic ead7dc3153 update posenet model 2021-04-24 11:49:26 -04:00
Vladimir Mandic d234e68fc9 update 2021-04-19 16:19:03 -04:00
Vladimir Mandic 197e7dc2ef added filter.flip feature 2021-04-19 16:02:47 -04:00
Vladimir Mandic 9dd168733f update gestures 2021-04-19 09:30:04 -04:00
Vladimir Mandic 20f61a6b2b mobile demo optimization and iris gestures 2021-04-18 19:33:40 -04:00
Vladimir Mandic b9395af7ae update tfjs 3.4.0 2021-04-14 12:53:00 -04:00
Vladimir Mandic 8aec48d98a experimental node-wasm support 2021-04-13 21:45:45 -04:00
Vladimir Mandic d25d970ef4 fix for safari imagebitmap 2021-04-13 11:32:22 -04:00
Vladimir Mandic 6ff61e8546 refactored human.config and human.draw 2021-04-13 11:05:52 -04:00
Vladimir Mandic fa5f0be769 implement webrtc 2021-04-12 17:48:59 -04:00
Vladimir Mandic e3b5dcb75e added support for multiple instances of human 2021-04-12 08:29:52 -04:00
Vladimir Mandic aaec742c0a exception handling 2021-04-09 10:02:40 -04:00
Vladimir Mandic 57fe43ab5d add modelBasePath option 2021-04-09 08:07:58 -04:00
Vladimir Mandic b5c77fd149 update 2021-04-08 12:10:15 -04:00
Vladimir Mandic 6d814fd6f4 update tslib 2021-04-06 11:38:01 -04:00
Vladimir Mandic 1d6c72318b add dynamic viewport and fix web worker 2021-04-05 11:48:24 -04:00
Vladimir Mandic f55119cd70 input type validation 2021-04-02 08:37:35 -04:00
Vladimir Mandic f0c7cd9b98 normalize all scores 2021-04-01 09:24:56 -04:00
Vladimir Mandic c2dd6fe567 added face3d demo 2021-03-30 09:03:18 -04:00
Vladimir Mandic 3006266060 initial work on face3d three.js demo 2021-03-29 15:59:16 -04:00
Vladimir Mandic 77476652d2 new serve module and demo structure 2021-03-29 14:40:34 -04:00
Vladimir Mandic f9306abac5 move gl flags to correct location 2021-03-28 13:22:22 -04:00
Vladimir Mandic 718ccda645 minor rotation calculation fix 2021-03-28 08:49:56 -04:00
Vladimir Mandic 91e51cf884 remove debug output 2021-03-28 08:44:53 -04:00
Vladimir Mandic 43b4850819 new face rotation calculations 2021-03-28 08:40:39 -04:00
ButzYung ac6b220888 cleanup 2021-03-28 07:32:31 -04:00
ButzYung adbaa24220 rotationMatrixToEulerAngle, and fixes 2021-03-28 07:32:31 -04:00
ButzYung 38581a3a80 face rotation matrix 2021-03-28 07:32:31 -04:00
Vladimir Mandic 23e515d26f experimental: add efficientpose 2021-03-27 15:43:48 -04:00
Vladimir Mandic ae9d6caabc implement nanodet 2021-03-27 10:25:31 -04:00
Vladimir Mandic 1dd860d112 start working on efficientpose 2021-03-26 18:50:19 -04:00
Vladimir Mandic 1419b89f9b updated face description 2021-03-24 11:08:49 -04:00
Vladimir Mandic 4c3e9818c8 improve fact matching 2021-03-23 15:24:58 -04:00
Vladimir Mandic 1a1560cca1 update nanodet and face rotation check 2021-03-23 14:46:44 -04:00
Vladimir Mandic 7fe2e66957 update demos 2021-03-21 17:47:00 -04:00
Vladimir Mandic 35cf845fbf new module: face description 2021-03-21 14:18:51 -04:00
Vladimir Mandic 61633928cf refactor face classes 2021-03-21 07:49:55 -04:00
Vladimir Mandic 7f644a3bde update 2021-03-17 20:26:43 -04:00
Vladimir Mandic fdddebda2a redefine tensor 2021-03-17 20:23:12 -04:00
Vladimir Mandic 714d2b9187 enforce types 2021-03-17 20:16:40 -04:00
Vladimir Mandic 5f28dd09ad update 2021-03-17 18:33:12 -04:00
Vladimir Mandic 55b12a629c type definitions 2021-03-17 18:23:19 -04:00
Vladimir Mandic ad222d8b15 fix box clamping and raw output 2021-03-17 14:35:11 -04:00
Vladimir Mandic eff034e397 hierarchical readme notes 2021-03-17 12:01:54 -04:00
Vladimir Mandic d676bd5310 update 2021-03-17 11:40:31 -04:00
Vladimir Mandic 7b96b04af6 add experimental nanodet object detection 2021-03-17 11:32:37 -04:00
Vladimir Mandic 7cb191a4cd implement human.match and embedding demo 2021-03-15 12:14:48 -04:00
Vladimir Mandic acfd4de403 fix broken build 2021-03-14 13:49:01 -04:00
Vladimir Mandic 8cbd9b6210 update 2021-03-14 13:39:47 -04:00
Vladimir Mandic f65bae05e4 add typedocs and types 2021-03-13 22:31:09 -05:00
Vladimir Mandic a08c0c0061 strong typings 2021-03-13 13:47:45 -05:00
Vladimir Mandic d373f8e121 update embedding and strong typings 2021-03-13 11:26:53 -05:00
Vladimir Mandic 43836ad0a6 distance based on minkowski space and limited euclidean space 2021-03-12 18:24:34 -05:00
Vladimir Mandic a458f29dc7 guard against invalid input images 2021-03-12 16:43:36 -05:00
Vladimir Mandic 1f7b699074 switched face embedding to mobileface 2021-03-12 12:54:08 -05:00
Vladimir Mandic 435030056a add test for face descriptors 2021-03-11 18:26:04 -05:00
Vladimir Mandic 1b53cd4b6b autodetect inputSizes 2021-03-11 10:26:14 -05:00
Vladimir Mandic d9ac78107c enhanced age, gender, emotion detection 2021-03-10 09:44:45 -05:00
Vladimir Mandic 414e512114 remove blazeface-front and faceboxes 2021-03-09 18:32:35 -05:00
Vladimir Mandic ee94119d1e fix for face detector when mesh is disabled 2021-03-09 13:15:40 -05:00
Vladimir Mandic 2c5b297889 update docs and demo 2021-03-08 07:32:24 -05:00
Vladimir Mandic 282f1e100f implemented 3d face angle calculations 2021-03-06 17:22:47 -05:00
Vladimir Mandic b9dddcdd0a add curve draw output 2021-03-06 10:38:04 -05:00
Vladimir Mandic d030efda21 fix human.draw 2021-03-05 14:30:09 -05:00
Vladimir Mandic 250207e67e update human.draw helper methods 2021-03-05 11:43:50 -05:00
Vladimir Mandic 98db269b2f added blazepose-upper 2021-03-05 07:39:37 -05:00
Vladimir Mandic efbb152bc5 implement blazepose and update demos 2021-03-04 10:33:08 -05:00
Vladimir Mandic 4ad2552322 fine tuning age and face models 2021-03-03 09:59:04 -05:00
Vladimir Mandic 4d05c4f604 add debug logging flag 2021-03-02 11:27:42 -05:00
Vladimir Mandic 23205e8173 added skipInitial flag 2021-03-01 17:20:02 -05:00
Vladimir Mandic cd5e43ae17 rebuild 2021-02-26 09:04:15 -05:00
Vladimir Mandic 971f8508bb updated model defaults 2021-02-22 09:13:11 -05:00
Vladimir Mandic 6128a027c2 build fix 2021-02-21 14:06:13 -05:00
Vladimir Mandic 7c0f122abb fix imagefx and add dev builds 2021-02-21 07:20:58 -05:00
Vladimir Mandic 5c336f60d3 update imagefx 2021-02-19 08:35:41 -05:00
Vladimir Mandic c70b621d67 update tfjs to 3.1.0 2021-02-17 10:22:38 -05:00
Vladimir Mandic 34fca6fc1c update lint rules 2021-02-13 09:21:48 -05:00
Vladimir Mandic e7c1f95dd2 updated lint rules 2021-02-13 09:16:41 -05:00
Vladimir Mandic 4130ddb32f updated typings 2021-02-08 12:47:38 -05:00
Vladimir Mandic bfe688251b convert to typescript 2021-02-08 11:39:09 -05:00
Vladimir Mandic 16854c097d added faceboxes alternative model 2021-02-06 17:41:53 -05:00
Vladimir Mandic a5c03e0c6a added warmup for nodejs 2021-01-30 13:23:07 -05:00
Vladimir Mandic 13094b337a added humangl custom backend 2021-01-13 09:35:31 -05:00
Vladimir Mandic 1932977224 code cleanup and enable minification 2021-01-12 09:55:08 -05:00
Vladimir Mandic b6e9fb04dc fix safari incopatibility 2021-01-12 08:24:00 -05:00
Vladimir Mandic aa10a36350 work on blazepose 2021-01-11 14:35:57 -05:00
Vladimir Mandic c099c1006f added iris gesture 2021-01-11 09:02:02 -05:00
Vladimir Mandic a33f2cb41b fix emotion labels 2021-01-06 06:51:20 -05:00