Commit Graph

245 Commits (ccad4a8c20596b76fb89fa380c89c8b6308b7268)

Author SHA1 Message Date
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
Vladimir Mandic e63eb072fc remove iris coords if iris is disabled 2021-01-05 16:41:54 -05:00
Vladimir Mandic 34cf0f7fd2 update iris objects 2021-01-05 16:33:43 -05:00
Vladimir Mandic fe0439ec0d stricter linting, fix face annotations 2020-12-27 08:12:22 -05:00
ButzYung 6ae26e14e7 Variable name changes, setting .rawCoords only if necessary 2020-12-22 12:20:36 -05:00
ButzYung 4f40680434 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 cdd10d06b8 add z axis scaling 2020-12-16 19:16:54 -05:00
Vladimir Mandic c7249463b2 republish due to tfjs 2.8.0 issues 2020-12-16 14:49:14 -05:00
Vladimir Mandic 3ad6c824a0 added custom webgl backend 2020-12-12 18:34:30 -05:00
Vladimir Mandic 8df844cd7b improved caching and warmup 2020-12-11 10:11:49 -05:00
Vladimir Mandic 565a8b116a conditional hand rotation 2020-12-10 15:46:45 -05:00
Vladimir Mandic 07b2fa4497 implemented face and hand boundary checks 2020-12-08 10:50:26 -05:00
Vladimir Mandic 2309712bd8 embedded sample for warmup 2020-12-08 09:58:30 -05:00
Vladimir Mandic adf638d306 switch to central logger 2020-12-08 09:00:44 -05:00
Vladimir Mandic 22fc4aec80 minor compatibility fixes 2020-11-26 10:37:04 -05:00
Vladimir Mandic 2be58d94ab update for node v15 2020-11-25 09:13:19 -05:00
Vladimir Mandic b796b4ea06 implement multi-person gestures 2020-11-23 23:36:04 -05:00
Vladimir Mandic 6c6503768a modularize pipeline models 2020-11-23 22:55:01 -05:00
Vladimir Mandic d5b922de02 changed build for optimized node & browser 2020-11-21 12:21:47 -05:00
Vladimir Mandic 217fe1efc8 camera exception handling 2020-11-20 07:52:50 -05:00
Vladimir Mandic 731237df78 force f16 textures 2020-11-19 16:16:51 -05:00
Vladimir Mandic 26fbe21ab0 ui redesign 2020-11-19 14:45:59 -05:00
Vladimir Mandic e08c9e9ab2 completed tfjs wrapper 2020-11-18 08:26:28 -05:00
Vladimir Mandic 3f180cfc5d fix serious performance bug around skipframes 2020-11-17 17:42:44 -05:00
Vladimir Mandic 9391acd72d swtich to custom tfjs bundle 2020-11-17 12:38:48 -05:00
Vladimir Mandic 3451c7b35f swtich to tfjs source import 2020-11-17 10:18:15 -05:00
Vladimir Mandic d8734626d1 switched to minified build 2020-11-16 15:51:46 -05:00
Vladimir Mandic a4da0b7fe2 web worker fixes 2020-11-15 09:28:57 -05:00
Vladimir Mandic b5aac6e016 fix camera restart on resize 2020-11-14 07:02:05 -05:00
Vladimir Mandic 17b079ab39 implemented face embedding 2020-11-13 16:13:35 -05:00
Vladimir Mandic df43e41cb8 updated face uv coordinates 2020-11-12 14:52:32 -05:00
Vladimir Mandic b5dec77ad5 updated packages 2020-11-12 12:58:55 -05:00
Vladimir Mandic 07a794ba81 reduced bundle size 2020-11-12 12:17:57 -05:00
Vladimir Mandic c929c2d1d6 implemented buffered processing 2020-11-12 09:21:26 -05:00
Vladimir Mandic 2a71f81462 fix for conditional model loading 2020-11-11 22:40:05 -05:00
Vladimir Mandic 1c2223ec9e added performance notes 2020-11-11 15:02:49 -05:00
Vladimir Mandic 63258f91ff update dependencies 2020-11-10 09:54:07 -05:00
Vladimir Mandic d3a1e43348 fix bug in async ops and change imports 2020-11-10 08:57:39 -05:00
Vladimir Mandic bc1f987872 add wasm bundle 2020-11-09 20:13:38 -05:00
Vladimir Mandic 250187f259 reimplemented blazeface processing 2020-11-09 14:26:10 -05:00
Vladimir Mandic 6bd064cddf added additional gestures 2020-11-09 09:31:11 -05:00
Vladimir Mandic 63cc122e9b implemented blink detection 2020-11-09 08:57:24 -05:00
Vladimir Mandic 65d045547d fix wasm module 2020-11-09 06:32:11 -05:00
Vladimir Mandic 6af1768fa6 optimizations 2020-11-08 12:26:45 -05:00
Vladimir Mandic 80eeebc8f2 update hand model 2020-11-08 09:56:02 -05:00
Vladimir Mandic 25884ca3e7 update hand algorithm 2020-11-08 01:17:25 -05:00
Vladimir Mandic d029f09dd0 updated ui 2020-11-07 11:34:09 -05:00
Vladimir Mandic c31cf49807 fix hand detection performance 2020-11-07 11:25:03 -05:00
Vladimir Mandic 7666519d32 optimized model loader 2020-11-07 10:37:19 -05:00
Vladimir Mandic 481b89ec9c fix nms sync call 2020-11-06 19:25:37 -05:00
Vladimir Mandic 5ecc072f0f model tuning 2020-11-06 15:35:58 -05:00
Vladimir Mandic f705ce9dce cache invalidation improvements 2020-11-06 13:50:16 -05:00
Vladimir Mandic 4c2bc9a48a full async operations 2020-11-06 11:39:39 -05:00
Vladimir Mandic 8cc256bc93 fix canvas size on different orientation 2020-11-05 15:59:28 -05:00
Vladimir Mandic ceccda54cf updated emotion models 2020-11-05 15:38:09 -05:00
Vladimir Mandic 9578103dd2 fixed worker and filter compatibility 2020-11-05 08:21:23 -05:00
Vladimir Mandic 967877bd76 major work on handpose model 2020-11-04 14:59:30 -05:00
Vladimir Mandic b036205557 changed demo build process 2020-11-04 11:43:51 -05:00
Vladimir Mandic 1af0b13c4b implemented simple gesture recognition 2020-11-04 10:18:22 -05:00
Vladimir Mandic d345afbb6a remove debug code 2020-11-04 01:13:40 -05:00
Vladimir Mandic 039b9356e8 redo hand detection 2020-11-04 01:11:24 -05:00
Vladimir Mandic 0153841891 enhanced processing resolution 2020-11-03 10:55:33 -05:00
Vladimir Mandic 63fb870e86 complete model refactoring 2020-11-03 09:34:36 -05:00
Vladimir Mandic 38b3af1d84 optimized demo 2020-11-02 22:15:37 -05:00
Vladimir Mandic d2bf2aeade major performance improvements for all models 2020-11-02 18:54:03 -05:00
Vladimir Mandic 18ec5f211f Revert "optimized canvas handling"
This reverts commit eaf603aa26.
2020-11-02 17:31:37 -05:00
Vladimir Mandic eaf603aa26 optimized canvas handling 2020-11-02 17:25:35 -05:00
Vladimir Mandic 3072e3a5d2 minor optimization to imagefx 2020-11-02 12:21:30 -05:00
Vladimir Mandic 38be53cb7e implemented memory profiler 2020-11-01 13:07:53 -05:00
Vladimir Mandic f7be2a7ad3 improved debug logging 2020-10-30 11:57:23 -04:00
Vladimir Mandic ce876f8c48 added wasm and webgpu backends 2020-10-30 10:23:49 -04:00
Vladimir Mandic d75f68227e fix firefox compatibility bug 2020-10-27 11:56:41 -04:00
Vladimir Mandic 4a18186f96 updated samples 2020-10-27 10:30:28 -04:00
Vladimir Mandic fedbb1aac4 implelented input resizing 2020-10-27 10:06:01 -04:00
Vladimir Mandic a9c03c111f log initialization 2020-10-20 07:58:20 -04:00
Vladimir Mandic 1b7ab8bdcf breaking change: convert to object class 2020-10-19 11:03:48 -04:00
Vladimir Mandic 827a04e2d0 compatibility notes 2020-10-18 14:14:05 -04:00
Vladimir Mandic aaeb842cf6 implemented image filters 2020-10-18 12:12:09 -04:00
Vladimir Mandic 5884c8cfe4 pure tensor pipeline without image converts 2020-10-18 09:21:53 -04:00
Vladimir Mandic d44ff5dbb2 autodetect skipFrames 2020-10-18 08:07:45 -04:00
Vladimir Mandic 04d0b814c4 added diagnostics output 2020-10-17 11:43:04 -04:00
Vladimir Mandic 2729d9e8bf parallelized agegender operations 2020-10-17 11:38:24 -04:00
Vladimir Mandic 87f8e31344 fixed memory leaks and added scoped runs 2020-10-17 10:06:02 -04:00
Vladimir Mandic d6ad21cb48 added state handling 2020-10-17 07:15:23 -04:00
Vladimir Mandic 2e680ddc2b refactored package file layout 2020-10-17 06:30:00 -04:00
Vladimir Mandic c82b1698d5 updated examples plus bugfixes 2020-10-16 15:04:51 -04:00
Vladimir Mandic c8b705f805 optimized blazeface anchors 2020-10-16 10:48:10 -04:00
Vladimir Mandic ee65aa7588 added error handling 2020-10-16 10:12:12 -04:00
Vladimir Mandic a859dc64d5 added blazeface back and front models 2020-10-15 20:20:37 -04:00
Vladimir Mandic c4f04a4904 added debugging and versioning 2020-10-15 15:25:58 -04:00
Vladimir Mandic 28688025b3 optimized demos and added scoped runs 2020-10-15 09:43:16 -04:00
Vladimir Mandic 3ca9edeaa5 added emotion backend 2020-10-14 18:22:38 -04:00
Vladimir Mandic 23aeb81b76 module parametrization and performance monitoring 2020-10-14 13:23:02 -04:00
Vladimir Mandic 2ab6b08841 implemented multi-hand support 2020-10-14 11:43:33 -04:00
Vladimir Mandic 11137f4523 added node build and demo 2020-10-13 20:52:30 -04:00
Vladimir Mandic 22933c1331 updated demo 2020-10-13 09:59:21 -04:00
Vladimir Mandic fa3a9e5372 fixed memory leak 2020-10-12 22:01:35 -04:00
Vladimir Mandic c223b2cf82 updated model path 2020-10-12 10:20:51 -04:00
Vladimir Mandic f83d13d960 updated model path 2020-10-12 10:14:26 -04:00
Vladimir Mandic f71fbe1873 updated iife and esm demos 2020-10-12 10:08:00 -04:00
Vladimir Mandic 32025cd7f7 updated demo 2020-10-11 21:21:41 -04:00
Vladimir Mandic e2bd9dbc34 initial public commit 2020-10-11 19:22:43 -04:00