Giter VIP home page Giter VIP logo

realm-scanner's Introduction

Realm Scanner

A Scanning App that uses IBM's Watson to perform dynamic analysis on any photos it is given.

Realm Scanner

Scanner is an app that demonstrates the event handling capabilities of the Realm Mobile Platform. Combining the deep machine learning capabilities of IBM's Bluemix technology, it is able to take any photograph, and return a textual analysis of the contents in that photograph.

Features

  • Powered by the Realm Mobile Platform Professional Edition.
  • Performs subject analysis on any photos loaded into it.
  • Uses RMP as a transport mechanism for sending the data to Watson.

Run The Demo

Dependencies

iOS

  • CocoaPods
  • Xcode 8.1 or higher

Steps To Run

For a fully in-depth tutorial on running the Scanner app along with the Realm Object Server, please see the Scanner tutorial on the Realm website.

1. Setting up the Mobile App

iOS
  1. Navigate to the Scanner directory in Terminal and enter pod install to install Realm into the Scanner app.
  2. Open the Scanner.xcworkspace file in Xcode.
Android
  1. In the command line, go to the Android directory and run ./gradlew installDebug

2. Setting up the Realm Mobile Platform

  1. Download the Professional Edition of the Realm Mobile Platform from the Realm website.
  2. Start the Mobile Platform by running the start-object-server.command. Locate and copy the server "Admin Token" -- on macOS the admin access token is displayed in the Terminal window opened when you launch the server; on Linux it is located in the file /etc/realm/admin_token.base64.
  3. If your web browser doesn't open automatically, open it, and navigate to 'http://localhost:9080'.
  4. Register a user account with the username [email protected] and the password password.

3. Running the Scanner Global Listener

  1. Open Server/index.js and replace the REALM_ADMIN_TOKEN, REALM_ACCESS_TOKEN, and BLUEMIX_API_KEY values with the token and key values that you've previously acquired.
  2. Navigate to the Server directory in Terminal, and run npm install to install the Global Listener and the required supporting modules for the IBM Bluemix service.
  3. Run node index.js to start the Global Listener. The Mobile Platform Terminal window should print an authorized connection.

4. Running the Scanner app

  1. Build and run the Scanner app from Xcode / Android Studio on the Mac that is currently running the Mobile Platform and the Global Listener processes.
  2. Tap the camera icon to take a photo of something (people, places, etc).
  3. The app will then start uploading the image, and will return annotations to the image when it is complete.

Contributing

See CONTRIBUTING.md for more details!

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].

License

Distributed under the Apache license. See LICENSE for more information. analytics

realm-scanner's People

Contributors

chipotle avatar dalinaum avatar dhmspector avatar ericmaxwell2003 avatar ianpward avatar mgeerling avatar timoliver avatar

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

Watchers

 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

realm-scanner's Issues

App stuck on uploading

Followed the setup process and got app and server to run locally. When i try to analyze a pic, it is stuck on uploading... with simulator and real hardware. Ideas?

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.