Current configuration
Draw helper classes that can draw detected objects on canvas using specified draw
Object containing environment information used for diagnostics
Container for events dispatched by Human
Possible events:
create
: triggered when Human object is instantiatedload
: triggered when models are loaded (explicitly or on-demand)image
: triggered when input image is this.processedresult
: triggered when detection is completewarmup
: triggered when warmup is completeReference face triangualtion array of 468 points, used for triangle references between points
Refernce UV map of 468 values, used for 3D mapping of the face mesh
process input and return tensor and canvas
Performance object that contains values for all recently performed operations
currenty processed image tensor and canvas
Last known result of detect run
Current state of Human library
Current version of Human library in semver format
Enhance method performs additional enhacements to face image previously detected for futher this.processing
Tensor
Load method preloads all configured models on-demand
Math method find best match between provided face descriptor and predefined database of known descriptors
best match
Segmentation method takes any input and returns this.processed canvas with body segmentation Optional parameter background is used to fill the background with specific input Segmentation is not triggered as part of detect this.process
Canvas
Simmilarity method calculates simmilarity between two provided face descriptors (face embeddings)
similarity: number
Human library main class
All methods and properties are available only as members of Human class
Config