Coder Social home page Coder Social logo

vigzmv / what_the_thing Goto Github PK

View Code? Open in Web Editor NEW
548.0 21.0 75.0 1.11 MB

:camera: Point your camera at things to learn how to say them in a different language. Android app built with React Native.

Home Page: https://vigzmv.github.io/what_the_thing/

License: MIT License

JavaScript 64.07% Python 7.10% Java 9.75% Objective-C 19.08%
image-recognition translation react-native android clarifai thing camera

what_the_thing's Introduction

What the Thing ?

Open Source Love    license    contributions welcome

Point camera at things to learn how to say them in a different language.

Native Android App built with React Native.

Made it as a part of my learning process of React and React Native.

Inspired by Thing Translator by dmotz.

ezgif-2-c2d47b51b0      58e4ef22e1d7d646107794

How it works ?

Concepts present in captured image are extracted and translated to the given language.

It uses

Download Signed Release for Android

what_the_thing_1.1.0-release.apk

Try it ?

Get the signed release apk for android from here or follow the steps to build it yourself.

Have a look at the React-native Docs to set up a development environment for React-native and Android.

# Install react-native
$ sudo npm install -g react-native-cli

# Clone repository
$ git clone https://github.com/vigzmv/what_the_thing.git
$ cd what_the_thing

Get your free API keys from Clarifai and Yandex. It is easy and free.

Place them in ./apiKeys.json.

# Install required packages
$ yarn install || npm install

# Install the application on a running Android emulator or a connected Android device
$ react-native run-android

# Run the server/bundler
$ react-native start

# Done !

For a build that doesn't reqire the development server:

# Bundle debug build
$ react-native bundle --dev false --platform android --entry-file index.android.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/debug

# Create debug build
$ cd android && ./gradlew assembleDebug

# Generated apk will be located at android/app/build/outputs/apk. Install it with
$ adb install app/build/outputs/apk/app-debug.apk

I would be releasing a signed apk package soon which could be installed directly to device for usage.

Contribute ?

  • Fork the repository
  • Commit your changes
  • Submit a pull request

Follow Github Flow to collaborate!

Licence

MIT Licence © Vignesh M

what_the_thing's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

what_the_thing's Issues

Issue with Clarifai

Clarifai has recently switched to API Keys replacing Access Tokens/Client ID & Secret. Read about it here.

Access Tokens/Client ID & Secret can no longer be created. Clarifai only issues API keys now. But the new API key feature isn't completely compatible with the clarifai javascript client yet.

Hence those who want to build this themselves have to wait till clarifai fixes this issues. (And also this issue with react native). This is really frustrating.

However you can get the signed release apk for android from here to try it.

How to import into Android-Studio?

I get this error when importing:

Error:(68, 0) Could not read script 'D:\android\Android studio Projects\what_the_thing\node_modules\react-native\react.gradle' as it does not exist.
Open File

Error in building apk file

{
"clarifaiID": "34430776426c40768f7ad16d1158b9eb",
"clarifaiSecret": "b2213e40d6bd4690b2ec9e025deae044",
"yandexTranslateKey": "trnsl.1.1.20191208T081242Z.35bb82c536024e75.b94db5107cb6a54d44ff71dd9df6fbe7d045ecbb"
}

this is my API keys can anyone able to build an unsigned apk file for me.
send me apk file my mail- [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.