From 243826267ae59ad93086958553b7ed8d294c32a5 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Fri, 5 Nov 2021 15:35:53 -0400 Subject: [PATCH] add histogram equalization --- CHANGELOG.md | 8 +++++++- README.md | 1 + TODO.md | 17 +++++++++++++++++ demo/typescript/index.ts | 1 + wiki | 2 +- 5 files changed, 27 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a22fc2be..8f7594d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,14 @@ ## Changelog -### **HEAD -> main** 2021/11/03 mandic00@live.com +### **HEAD -> main** 2021/11/05 mandic00@live.com +- implement wasm missing ops +- performance and memory optimizations + +### **origin/main** 2021/11/04 mandic00@live.com + +- improve box rescaling for all modules - improve precision using wasm backend - refactor predict with execute - patch tfjs type defs diff --git a/README.md b/README.md index 82565dd5..400cec94 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ JavaScript module using TensorFlow/JS Machine Learning library - [**Configuration Details**](https://github.com/vladmandic/human/wiki/Config) - [**Result Details**](https://github.com/vladmandic/human/wiki/Result) - [**Caching & Smoothing**](https://github.com/vladmandic/human/wiki/Caching) +- [**Input Processing**](https://github.com/vladmandic/human/wiki/Image) - [**Face Recognition & Face Description**](https://github.com/vladmandic/human/wiki/Embedding) - [**Gesture Recognition**](https://github.com/vladmandic/human/wiki/Gesture) - [**Common Issues**](https://github.com/vladmandic/human/wiki/Issues) diff --git a/TODO.md b/TODO.md index 41260b76..07003f19 100644 --- a/TODO.md +++ b/TODO.md @@ -38,3 +38,20 @@ MoveNet MultiPose model does not work with WASM backend due to missing F32 broad


+ +### Pending release + +- Supports all modules on all backends + via custom implementation of missing kernel ops +- Performance and precision improvements + **face** and **hand** modules +- Use custom built TFJS for bundled version + reduced bundle size and built-in support for all backends + `nobundle` and `node` versions link to standard `@tensorflow` packages +- Add optional input histogram equalization + auto-level input for optimal brightness/contrast via `config.filter.equalization` +- Fix **ReactJS** compatibility +- Better precision using **WASM** + Previous issues due to math low-precision in WASM implementation +- Full **TS** type definitions for all modules and imports +- Focus on simplified demo diff --git a/demo/typescript/index.ts b/demo/typescript/index.ts index 1fc397ac..44c732bc 100644 --- a/demo/typescript/index.ts +++ b/demo/typescript/index.ts @@ -13,6 +13,7 @@ import Human from '../../dist/human.esm.js'; // equivalent of @vladmandic/human const humanConfig = { // user configuration for human, used to fine-tune behavior modelBasePath: '../../models', + filter: { equalization: true }, // backend: 'webgpu', // async: true, // face: { enabled: false, detector: { rotation: true }, iris: { enabled: false }, description: { enabled: false }, emotion: { enabled: false } }, diff --git a/wiki b/wiki index 6abe315e..0deb501c 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 6abe315e2ae3e3aa457c4c728d9e2959d7e023db +Subproject commit 0deb501cf47e1783e8ca4426b7bf4697196f09e2