Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 581ed00

Browse files
Add custom (TensorFlow Lite) models support to the ML Kit feature #702
1 parent 92a0403 commit 581ed00

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/ML_KIT.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ firebase.mlkit.landmarkrecognition.recognizeLandmarksCloud({
367367
368368
[Firebase documentation 🌎](https://firebase.google.com/docs/ml-kit/use-custom-models)
369369
370-
⚠️ *Please take note of the following:*
370+
⚠️ **Please take note of the following:**
371371
372372
- Currently only models bundled with your app can be used (not ones hosted on Firebase). That may change in the future.
373373
- Prefix the `localModelFile` and `labelsFile` below with `~/` so they point to your `app/` folder. This is for future compatibility, because I'd like to support loading models from the native bundle as well.
@@ -403,8 +403,6 @@ import { registerElement } from "nativescript-angular/element-registry";
403403
registerElement("MLKitCustomModel", () => require("nativescript-plugin-firebase/mlkit/custommodel").MLKitCustomModel);
404404
```
405405
406-
> ⚠️ Make sure to specify `modelInputShape` without the `[` and `]` characters.
407-
408406
```html
409407
<MLKitCustomModel
410408
width="100%"
@@ -420,3 +418,4 @@ registerElement("MLKitCustomModel", () => require("nativescript-plugin-firebase/
420418
</MLKitCustomModel>
421419
```
422420
421+
> ⚠️ Make sure to specify `modelInputShape` without the `[` and `]` characters. Spaces are allowed.

0 commit comments

Comments
 (0)