2021-03-03 18:04:59 +01:00
|
|
|
# To-Do list for Human library
|
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
## Work-in-Progress
|
2021-04-25 19:16:04 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
N/A
|
2021-09-26 16:09:30 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
<hr><br>
|
2021-10-19 13:58:51 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
## Exploring
|
|
|
|
|
|
|
|
- Optical flow for intelligent temporal interpolation
|
|
|
|
<https://docs.opencv.org/3.3.1/db/d7f/tutorial_js_lucas_kanade.html>
|
|
|
|
- Advanced histogram equalization for optimization of badly lit scenes
|
|
|
|
**Adaptive**, **Contrast Limited**, **CLAHE**
|
|
|
|
- TFLite models
|
|
|
|
<https://js.tensorflow.org/api_tflite/0.0.1-alpha.4/>
|
|
|
|
- Body segmentation with temporal analysis
|
|
|
|
<https://github.com/PeterL1n/RobustVideoMatting>
|
|
|
|
|
|
|
|
<hr><br>
|
2021-07-31 13:43:50 +02:00
|
|
|
|
2021-08-12 15:31:16 +02:00
|
|
|
## Known Issues
|
2022-06-02 16:39:53 +02:00
|
|
|
### Face with Attention
|
|
|
|
`FaceMesh-Landmarks` model is supported only with `CPU` and `WebGL` backends due to `TFJS` issues
|
2021-07-31 13:43:50 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
### WASM
|
2021-10-29 21:55:20 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
Support for **WASM SIMD** and **WASM MultiThreading** is still disabled by default in **Chromium** based browsers
|
|
|
|
Suggestion is to enable it manually for major performance boost
|
|
|
|
Enable via <chrome://flags/#enable-experimental-webassembly-features>
|
2021-11-16 19:07:44 +01:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
### WebGPU
|
|
|
|
|
|
|
|
Experimental support only until support is officially added in Chromium
|
|
|
|
Enable via <chrome://flags/#enable-unsafe-webgpu>
|
2021-07-31 13:43:50 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
### Firefox
|
|
|
|
|
|
|
|
Running in **web workers** requires `OffscreenCanvas` which is still disabled by default in **Firefox**
|
|
|
|
Enable via `about:config` -> `gfx.offscreencanvas.enabled`
|
|
|
|
|
|
|
|
### Face Detection
|
2021-07-31 13:43:50 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
Enhanced rotation correction for face detection is not working in **NodeJS** due to missing kernel op in **TFJS**
|
|
|
|
Feature is automatically disabled in **NodeJS** without user impact
|
2021-07-31 13:43:50 +02:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
<hr><br>
|
2021-11-09 20:37:50 +01:00
|
|
|
|
2022-06-02 16:39:53 +02:00
|
|
|
## Pending Release Changes
|
2022-07-18 14:22:19 +02:00
|
|
|
|
2022-07-25 14:30:34 +02:00
|
|
|
- install production-only dependencies by default
|
|
|
|
results in a must faster and smaller `human` installation
|
|
|
|
to install all dependencies use `npm install @vladmandic/human --production=false`
|
2022-07-18 14:22:19 +02:00
|
|
|
- switch to production `@tensorflow/tfjs` for browsers
|
2022-07-25 14:30:34 +02:00
|
|
|
`tfjs` has stabilized in recent versions so its not necessary to run a custom bundle anymore
|
|
|
|
- add **webview** support
|
|
|
|
- add `getModelStats` method
|
|
|
|
- extract model stats in build process
|
|
|
|
- typedoc fixes
|
|
|
|
- add face contours to results
|
|
|
|
- improve face compare in demo app
|
|
|
|
- update dependencies and `tfjs`
|
|
|
|
- `gear` model fixes
|