mirror of https://github.com/vladmandic/human
4
Result
Vladimir Mandic edited this page 2023-04-03 10:41:38 -04:00
Table of Contents
Outputs
Result of humand.detect()
method is a single object that includes data for all enabled modules and all detected objects
persons
property is a special getter which when invokes sorts results according to person that particular body part belongs toperformance
property is set of performance counters used to monitorHuman
performancecanvas
property is optional property that returns input after processing, as suitable for screen draw
Result
object can also be generated as smoothened time-based interpolation from last known Result
using human.next()
method
Full documentation:
Overview of Result
object type:
interface Result {
/** {@link FaceResult}: detection & analysis results */
face: FaceResult[],
/** {@link BodyResult}: detection & analysis results */
body: BodyResult[],
/** {@link HandResult}: detection & analysis results */
hand: HandResult[],
/** {@link GestureResult}: detection & analysis results */
gesture: GestureResult[],
/** {@link ObjectResult}: detection & analysis results */
object: ObjectResult[]
/** global performance object with timing values for each operation */
performance: Record<string, number>,
/** optional processed canvas that can be used to draw input on screen */
canvas?: OffscreenCanvas | HTMLCanvasElement | null | undefined,
/** timestamp of detection representing the milliseconds elapsed since the UNIX epoch */
readonly timestamp: number,
/** getter property that returns unified persons object */
persons: PersonResult[],
}
Human Library Wiki Pages
3D Face Detection, Body Pose, Hand & Finger Tracking, Iris Tracking, Age & Gender Prediction, Emotion Prediction & Gesture Recognition