2.5.1

vladmandic/human2.5.1Nov 8, 2021by vladmandic

Full Release Notes

## New
- New frame change detection algorithm used for [cache determination](https://vladmandic.github.io/human/typedoc/interfaces/Config.html#cacheSensitivity)  
  based on temporal input difference  
- New built-in Tensorflow profiling [human.profile](https://vladmandic.github.io/human/typedoc/classes/Human.html#profile)
- New optional input histogram equalization [config.filter.equalization](https://vladmandic.github.io/human/)  
  auto-level input for optimal brightness/contrast
- New event-baseed interface [human.events](https://vladmandic.github.io/human/typedoc/classes/Human.html#events)  
- New configuration validation [human.validate](https://vladmandic.github.io/human/typedoc/classes/Human.html#validate)  
- New input compare function [human.compare](https://vladmandic.github.io/human/typedoc/classes/Human.html#compare)  
  this function is internally used by `human` to determine frame changes and cache validation  
- New [custom built TFJS](https://github.com/vladmandic/tfjs) for browser bundled version  
  result is a pure module with reduced bundle size and include built-in support for all backends  
  note: **nobundle** and **node** versions link to standard `@tensorflow` packages  

## Changed
- [Default configuration values](https://github.com/vladmandic/human/blob/main/src/config.ts#L262) have been tuned for precision and performance
- Supports all built-in modules on all backends  
  via custom implementation of missing kernel ops  
- Added additional [hand gestures](https://github.com/vladmandic/human/blob/main/src/hand/fingergesture.ts)
- Performance and precision improvements  
  - **face**, **hand**
  - **gestures** modules  
  - **face matching**
- 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  
  <https://vladmandic.github.io/human/demo/typescript/>