πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement

View on GitHub

@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:

cli
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.

ts
interfaceObjectResult {
trackingId?:number
bounds:Bounds
labels:ObjectLabeling[]
}

ObjectLabeling ​

ts
interfaceObjectLabeling {
text?:string
confidence?:number
index?:number
}

Bounds ​

ts
interfaceBounds {
origin:Origin
size:Size
}

Origin ​

ts
exportinterfaceOrigin {
x:number
y:number
}

Size ​

ts
interfaceSize {
width:number
height:number
}

License ​

Apache License Version 2.0

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /