add histogram equalization

pull/356/head
Vladimir Mandic 2021-11-05 15:35:53 -04:00
parent db63a70c8a
commit 243826267a
5 changed files with 27 additions and 2 deletions

View File

@ -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

View File

@ -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)

17
TODO.md
View File

@ -38,3 +38,20 @@ MoveNet MultiPose model does not work with WASM backend due to missing F32 broad
<https://github.com/tensorflow/tfjs/issues/5516>
<br><hr><br>
### 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

View File

@ -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 } },

2
wiki

@ -1 +1 @@
Subproject commit 6abe315e2ae3e3aa457c4c728d9e2959d7e023db
Subproject commit 0deb501cf47e1783e8ca4426b7bf4697196f09e2