GithubHelp home page GithubHelp logo

jbexx / docswap Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 3.0 11.22 MB

React-Native App using Google Cloud Services for Optical Character Recognition integrating language translation

JavaScript 79.91% Python 4.33% Java 4.69% Objective-C 11.07%

docswap's Introduction

DocSwap

Optical Character Recognition Integrating Language Translation

WireFrames

screen shot 2017-09-08 at 10 38 10

Summary

The Idea for this app came from my interaction with newly arriving refugee families to the U.S. One of the struggles they face is reading documentation they recieve through mail; whether bills, court documents or financial assitance documents, they struggle to read and understand them.

This is a Mobile App built in React-Native that implements the Camera functionality to allow the user to take a picture of a document. It is then posted to the Google Cloud Vision API where the Optical Character Recognition functionality of the API is used to read the document and returns the text of that document.

The user can then select a language they wish to translate the document into. Another post is made to the Google Cloud Translation API where it is translated and returned to be displayed to the user in the language they chose.

I have also incorporated text messaging functionality. Because the share functionality allows the user to send a text message with the translated text, I wanted to build out a way to write a text message, translate it, and then be able to send that text all within one application.

Use

You will need to get a google cloud api key, as mine is not available on this repo. Once you have gotten an api key, create a key.js file in your root and export that key from the file.
  • Clone this repo

    in your terminal run these commands

    git clone [email protected]:jbexx/DocSwap.git
    
    cd DocSwap
    
    npm install
    
  • you will need to have xcode installed on your machine or some other simulator to run the app

    to download xcode go to this page

    you will need to login with your Apple ID and Password

    once you have this installed, then in your terminal run

    react-native start
    

    to run the local server

  • then run...

    react-native run-ios
    

    ...and this will open your simulator and run the app in it

Theoretically this is a cross platform app, though it has not been tested on an Android machine

Screenshots

docswapss

docswap's People

Contributors

jbexx avatar

Stargazers

Razak Wasiu avatar Rutul Patel avatar Johan Guse avatar Alex Le avatar Andre Vinicius avatar Antonio Santos avatar Moses Paul R avatar

Watchers

James Cloos avatar

docswap's Issues

navigation

nav buttons on last page dont work properly if coming from the 'message' button

fix keyboard

from popping up whenever you touch the screen

Follow-up

@jbexx here are your deliverables following today's eval:

TO DO:

  • Last screen needs another option

    • Home button (or another nav option so I am not dead-ended)
    • Header to indicate what language I'm seeing
  • Write a couple tests!

  • Button to handle next step at final screen

    • Save to Images
    • Copy Text (that then opens list of options like email, message, save, etc.)
    • Toggle Button to see original translation vs translated text toggle
  • Change gitHub pic to something of YOU, possibly match your LinkedIn pic?

text functionality

make a new button on the Media Type page that will just navigate to the verify page to edit text. Then you can type in a text message, translate it, and send it as a text msg

Translate Button Clarity

toggle a function on 'translate text' button or show a "go" button or "translate" button that makes the post

Activity Indicator on fetch

while waiting for response from the fetch post, I need to indicate to the user that its working. Consider an activityIndicator or a statusBar

Handle Full Page

when taking a picture of a page with lots of text, it overflows and the action bar at the bottom is lost

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.