3.0.0 • Published 11 months ago

@nativescript/mlkit-face-detection v3.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

@nativescript/mlkit-face-detection

A plugin that is used with @nativescript/mlkit-core to enable face detection and provide the FaceResult type for the data of the face detection event.

Contents

Installation

Install @nativescript/mlkit-face-detection by running the following command:

npm install @nativescript/mlkit-face-detection

Use @nativescript/mlkit-face-detection

For more details, read use @nativescript/mlkit-core and @nativescript/mlkit-core

API

FaceResult

The Face Detection event data type.

interface FaceResult {
    smilingProbability: number;
    leftEyeOpenProbability: number;
    rightEyeOpenProbability: number;
    trackingId: number;
    bounds: Bounds;
    headEulerAngleZ: number;
    headEulerAngleY: number;
    headEulerAngleX: number;
}

Bounds

interface Bounds {
    origin: Origin;
    size: Size;
}

Origin

interface Origin {
    x: number;
    y: number;
}

Size

interface Size {
    width: number;
    height: number;
}

License

Apache License Version 2.0

3.0.0-alpha.7

1 year ago

3.0.0

11 months ago

3.0.0-alpha.6

1 year ago

3.0.0-alpha.5

1 year ago

3.0.0-alpha.4

1 year ago

3.0.0-alpha.1

2 years ago

3.0.0-alpha.0

2 years ago

3.0.0-alpha.3

2 years ago

3.0.0-alpha.2

2 years ago

2.1.0

2 years ago

1.0.8

3 years ago

2.0.0-alpha.0

3 years ago

2.0.0-alpha.1

3 years ago

2.0.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0-alpha.7

4 years ago

1.0.0-alpha.6

4 years ago

1.0.0-alpha.5

4 years ago

1.0.0-alpha.8

4 years ago

1.0.0-alpha.4

4 years ago

1.0.0-alpha.3

4 years ago

1.0.0-alpha.2

4 years ago

1.0.0-alpha.1

4 years ago

1.0.0-alpha.0

4 years ago