Skip to content

Commit 4b0d631

Browse files
committed
chore: update
1 parent 68ce32f commit 4b0d631

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/mlkit-core/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ 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. Set the `detectionType` and listen to the `detection` event
44+
2. Setting the `detectionType` and listening to the `detection` event
4545

4646
To use all the vision APIs at once, set the `detectionType` property to `'all'` and identify them in the `detection` event's handler.
47-
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.
47+
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`).
4848

4949
3. Check if ML Kit is supported
50-
To verify if ML Kit is supported on the device, call the `isAvailable()` method on [MLKitView class](#mlkitview-class).
50+
To verify if ML Kit is supported on the device, call the static `isAvailable()` method on [MLKitView class](#mlkitview-class).
5151

5252
```ts
5353
if(MLKitView.isAvailable()){
@@ -61,7 +61,7 @@ mlKitView.requestCameraPermission().then(()=>{
6161

6262
})
6363
```
64-
The following are example of registering and using `MLKitView` in the different JS flavors.
64+
The following are examples of registering and using `MLKitView` in the different JS flavors.
6565

6666
### Core
6767

0 commit comments

Comments
 (0)