React Native + Google Vision API mobile application to identify objects in pictures taken using an android phone. Technically could also be compiled into an ios app but needs testing.
I wrote about it at hazlanrozaimi.com
First, install dependencies by running
npm install
Get an API key for Google Cloud Vision here, then replace it in config.json
"apiKey": "please_enter_your_api_key_here"
To run in debug mode (youd need to connect an actual android device that can be found with adb)
react-native run-android
You'd need
- Android SDK (Easiest to download everything with Android Studio)
- npm or yarn
- Your own Google Cloud Vision Api key. Get one here
You'd want to generate a signing key and build the apk like here
-
create-react-native-app - Create a React Native app on any OS with no build config.
-
Google Cloud Vision API - Allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.
-
react-native-camera - A Camera component for React Native.
-
react-native-image-resizer - Resize local images with React Native
-
react-native-image-to-base64 - React Native module to get Image's base64 string
-
react-native-spinkit - A collection of animated loading indicators
I'm open to reasonable pull requests to just play around with the application for fun
- Hazlan Rozaimi - Initial work - dividezero
This project is licensed under the MIT License