A Scanning App that uses IBM's Watson to perform dynamic analysis on any photos it is given.
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.
- 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.
- CocoaPods
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.
- Navigate to the Scanner directory in Terminal and enter
pod install
to install Realm into the Scanner app. - Open the
Scanner.xcworkspace
file in Xcode.
- In the command line, go to the
Android
directory and run./gradlew installDebug
- Download the Professional Edition of the Realm Mobile Platform from the Realm website.
- Start the Mobile Platform by running the
start-object-server.command
. Take note of the admin access token that is displayed. - If your web browser doesn't open automatically, open it, and navigate to 'http://localhost:9080'.
- Register a user account with the username
[email protected]
and the passwordpassword
.
- Open
Server/index.js
and replace theREALM_ACCESS_TOKEN
value with the access token you previously noted. - Navigate to the
Server
directory in Terminal, and runnpm install
to unpackage the Global Listener. - Run
node .
to start the Global Listener. The Mobile Platform Terminal window should print an authorized connection.
- 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.
- Tap the camera icon to take a photo of some text.
- The app will then start uploading the image, and will return the results when it is complete.
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].
Distributed under the Apache license. See LICENSE
for more information.