'How to use `.bin` and `.json` output model from Tensorflow.js on React-Native Project
I want to create an application that have a camera which can detect object from what I trained.
I already have the model that contain .bin and .json files by following this repo : https://github.com/ultralytics/yolov5
which the result look like this:
The question is, how can I use this files on React-Native Project? Or any suggestion tutorial? . I already try to find tutorial about it but can't find one. Thanks
Solution 1:[1]
you load them just like you would without react-native. i suggest to start with pure js project and get the hang of tfjs and then move to react-native. the only difference between standard tfjs and tfjs-react-native are couple of platform-specific apis listed at https://js.tensorflow.org/api_react_native/0.8.0/
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Vladimir Mandic |
