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

Commit 92a0403

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/ML_KIT.md

Lines changed: 3 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.
@@ -398,13 +398,13 @@ firebase.mlkit.custommodel.useCustomModel({
398398
#### Live camera feed
399399
The basics are explained above for 'Text recognition'.
400400
401-
Make sure to specify `modelInputShape` without the `[` and `]` characters.
402-
403401
```typescript
404402
import { registerElement } from "nativescript-angular/element-registry";
405403
registerElement("MLKitCustomModel", () => require("nativescript-plugin-firebase/mlkit/custommodel").MLKitCustomModel);
406404
```
407405
406+
> ⚠️ Make sure to specify `modelInputShape` without the `[` and `]` characters.
407+
408408
```html
409409
<MLKitCustomModel
410410
width="100%"

0 commit comments

Comments
 (0)