React-Native-Mobilenet-App
React-Native-Mobilenet-App copied to clipboard
Something created to test the integration of TFJS with React Native and building a classifier with the help of Mobilenet.
React Native Mobilenet App
Testing Tensorflow.js adapter for React Native to enable on-device computing capabilities with the Mobilenet Pre-trained model.
Resources:
- Image Classification on React Native with TensorFlow.js and MobileNet - Tutorial for this project
- React Native - A framework for building native apps with React
- tfjs-react-native - Platform Adapter for React Native
- @tensorflow-models/mobilenet - Pre-trained TensorFlow.js models
Important:
~Picking an image from the gallery is limited by the tfjs fetch request - Read More~
Fixed by @https://github.com/toketas
Now it can fetch Local Images!
Available Scripts:
In the project directory, you can run: yarn android
The App will open on Simulator or device connected with adb.
Generate a keystore with this guide in the android\app directory, and run:
./gradlew clean
and then ./gradlew assembleRelease
to generate apk.