mirror of https://github.com/vladmandic/human
update wiki
parent
c90beadaf7
commit
7ea124ad02
12
Result.md
12
Result.md
|
@ -21,15 +21,15 @@ Overview of `Result` object type:
|
||||||
```ts
|
```ts
|
||||||
interface Result {
|
interface Result {
|
||||||
/** {@link FaceResult}: detection & analysis results */
|
/** {@link FaceResult}: detection & analysis results */
|
||||||
face: Array<FaceResult>,
|
face: FaceResult[],
|
||||||
/** {@link BodyResult}: detection & analysis results */
|
/** {@link BodyResult}: detection & analysis results */
|
||||||
body: Array<BodyResult>,
|
body: BodyResult[],
|
||||||
/** {@link HandResult}: detection & analysis results */
|
/** {@link HandResult}: detection & analysis results */
|
||||||
hand: Array<HandResult>,
|
hand: HandResult[],
|
||||||
/** {@link GestureResult}: detection & analysis results */
|
/** {@link GestureResult}: detection & analysis results */
|
||||||
gesture: Array<GestureResult>,
|
gesture: GestureResult[],
|
||||||
/** {@link ObjectResult}: detection & analysis results */
|
/** {@link ObjectResult}: detection & analysis results */
|
||||||
object: Array<ObjectResult>
|
object: ObjectResult[]
|
||||||
/** global performance object with timing values for each operation */
|
/** global performance object with timing values for each operation */
|
||||||
performance: Record<string, number>,
|
performance: Record<string, number>,
|
||||||
/** optional processed canvas that can be used to draw input on screen */
|
/** optional processed canvas that can be used to draw input on screen */
|
||||||
|
@ -37,6 +37,6 @@ interface Result {
|
||||||
/** timestamp of detection representing the milliseconds elapsed since the UNIX epoch */
|
/** timestamp of detection representing the milliseconds elapsed since the UNIX epoch */
|
||||||
readonly timestamp: number,
|
readonly timestamp: number,
|
||||||
/** getter property that returns unified persons object */
|
/** getter property that returns unified persons object */
|
||||||
persons: Array<PersonResult>,
|
persons: PersonResult[],
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue