2.9.1

vladmandic/human2.9.1Jul 25, 2022by vladmandic

AI Summary

Optimized installation size and performance by switching to production dependencies and improving browser compatibility.

Key Highlights

  • Switched to production-only dependencies for faster/smaller install
  • Switched to production @tensorflow/tfjs for browsers
  • Added webview support and face contours to results

New Features

  • Production-only dependencies
  • WebGPU support
  • Webview support
  • getModelStats method
  • Face contours in results
  • Improved face compare in demo app

Full Release Notes

- 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`  
- Switch to production `@tensorflow/tfjs` for browsers  
  `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