2.1.0 • Published 4 months ago
@nativescript/mlkit-object-detection v2.1.0
@nativescript/mlkit-object-detection
A plugin that is used with @nativescript/mlkit-core to enable Object Detection and provide the ObjectResult type for the object detection event data.
Contents
Installation
Install @nativescript/mlkit-object-detection
by running the following command:
npm install @nativescript/mlkit-object-detection
Use @nativescript/mlkit-object-detection
For an example, read Use @nativescript/mlkit-core and Object Detection.
API
ObjectResult
The type of object detection event data.
interface ObjectResult {
trackingId?: number
bounds: Bounds
labels: ObjectLabeling[]
}
ObjectLabeling
interface ObjectLabeling {
text?: string
confidence?: number
index?: number
}
Bounds
interface Bounds {
origin: Origin;
size: Size;
}
Origin
export interface Origin {
x: number;
y: number;
}
Size
interface Size {
width: number;
height: number;
}
License
Apache License Version 2.0
2.1.0
4 months ago
1.0.8
1 year ago
2.0.0-alpha.0
1 year ago
2.0.0-alpha.1
1 year ago
2.0.0
1 year ago
1.0.7
1 year ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.0-alpha.7
2 years ago
1.0.0-alpha.6
2 years ago
1.0.0-alpha.5
2 years ago
1.0.0-alpha.8
2 years ago
1.0.0-alpha.4
2 years ago
1.0.0-alpha.3
2 years ago
1.0.0-alpha.2
2 years ago
1.0.0-alpha.1
2 years ago
1.0.0-alpha.0
3 years ago