https://github.com/jdpigeon/tfreactnative
A test React Native app with Tensorflow
https://github.com/jdpigeon/tfreactnative
android react-native tensorflow
Last synced: about 1 year ago
JSON representation
A test React Native app with Tensorflow
- Host: GitHub
- URL: https://github.com/jdpigeon/tfreactnative
- Owner: jdpigeon
- Created: 2017-03-01T18:46:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-15T20:37:04.000Z (almost 9 years ago)
- Last Synced: 2025-04-11T22:07:27.514Z (about 1 year ago)
- Topics: android, react-native, tensorflow
- Language: Java
- Size: 18.6 MB
- Stars: 11
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# TFReactNative Demo
Yes! Tensorflow can be integrated with React Native for Android!
In this proof-of-concept exercise, I recreated Omid Alemi's [Build Your First Tensorflow Android App](https://omid.al/posts/2017-02-20-Tutorial-Build-Your-First-Tensorflow-Android-App.html) tutorial in React Native.
Bridging to React Native was easy. I simply put all the Android Tensorflow functions into a Native Module Class.
Harder was making sure all the Tensorflow dependencies were included in the project correctly and playing nice with the rest of the app. I originally coded this using Tensorflow Android nightly [build #44](https://ci.tensorflow.org/view/Nightly/job/nightly-android/44/artifact/) and at the time of writing this the project is up to build # 195 :woah: