-
-
Notifications
You must be signed in to change notification settings - Fork 330
Result
Vladimir Mandic edited this page Apr 3, 2023
·
4 revisions
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 to -
performance
property is set of performance counters used to monitorHuman
performance -
canvas
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