Skip to content

Commit 6e31f29

Browse files
committed
chore: update
1 parent 4b0d631 commit 6e31f29

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/mlkit-core/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ The usage of `@nativescript/mlkit-core` has the following flow:
4141

4242
1. Registering and adding [MLKitView](#mlkitview-class) to your markup.
4343

44-
2. Setting the `detectionType` and listening to the `detection` event
44+
2. Setting the `detectionType` and listening to the `detection` event.
45+
46+
To access all the vision APIs at once, set the `detectionType` property to `'all'` and identify them in the `detection` event's handler.
4547

46-
To use all the vision APIs at once, set the `detectionType` property to `'all'` and identify them in the `detection` event's handler.
4748
To access a specific API, Barcode scanning for example, set the `detectionType` property to the API name (`'barcode'` for Barcode scanning), AND import that API's NativeScript plugin(`@nativescript/mlkit-barcode-scanning`).
4849

4950
3. Check if ML Kit is supported
@@ -241,6 +242,7 @@ onDetection(event: DetectionEvent){
241242
For more details, see [@nativescript/mlkit-text-recognition](../mlkit-text-recognition/)
242243

243244
## API
245+
244246
### detectWithStillImage()
245247

246248
```ts

0 commit comments

Comments
 (0)