New
Human Release v3.0
Optimizations:
- Enabled high-resolution optimizations
Internal limits are increased from 2k to 4k - Enhanced device capabilities detection
Seehuman.env.[agent, wasm, webgl, webgpu]for details - If
config.backendis not set, Human will auto-select best backend
based on device capabilities - Enhanced support for
webgpu - Reduce build dependencies
Humanis now 30% smaller :)
As usual,Humanhas zero runtime dependencies,
all devDependencies are only to rebuildHumanitself - Default hand skeleton model changed from
handlandmark-fulltohandlandmark-lite
Both models are still supported, this reduces default size and increases performance
Features:
- Add draw label templates
Allows easy customization of results labels drawn on canvas - Add
config.filter.autoBrightness(enabled by default)
Per-frame video on-the-fly brightness adjustments
Which significantly increases performance and precision in poorly lit scenes - Add new demo face detect
- Improved
config.filter.equalization(disabled by default)
Image and video on-demand histogram equalization - Support selecting specific video source when multiple cameras are present
Seehuman.webcam.enumerate() - Updated algorithm to determine distance from camera based on iris size
Seehuman.result.face[n].distance
Architecture:
- Upgrade to TFJS 4.1 with strong typing
see notes on how to use TypeDefrefactoring- Re-architect
human.modelsnamespace for better dynamic model handling
Added additional methodsload,list,loaded,reset - Repack external typedefs
Removes all external typedef dependencies - Refactor namespace exports
Better TypeDoc specs - Add named export for improved bundler support when using non-default imports
- Cleanup Git history for
dist/typedef/types - Cleanup
@vladmandic/human-models - Support for NodeJS v19
- Upgrade to TypeScript 4.9
- Support for dynamic module load in NodeJS
See https://vladmandic.github.io/human/demo/nodejs/node-bench
Breaking changes:
- Replaced
result.face[n].iriswithresult.face[n].distance - Replaced
human.getModelStats()withhuman.models.stats() - Moved
human.similarity,human.distanceandhuman.matchto namespacehuman.match.* - Obsolete
human.enhance() - Obsolete
human.gl - Renamed model
mb3-centernettocenternet