Skip to content

luajunan/TeamTitan_R.E.D_SCDFXIBM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeamTitan_R.E.D_SCDFXIBM

Contents

  1. Short Description
  2. Pitch Video
  3. The Architecture
  4. Long Description
  5. Project Roadmap
  6. Getting Started
  7. Trial Run
  8. Built with

Short Description

Problem:

Manually assessing photos of onsite information before pushing out notifications to CFRs can be faster.

How can technology help:

Speed up photo classification and assessment, pushing out notifications simultaneously. Visual Recognition of the photos will allow quicker assessment, resulting in simultaneous notification of SCDF personnel, CFRs and non-CFRs, bridging the time lag of manually assessing and pushing out notifications thereafter.

The Idea:

Visual Recognition Tool to reduce assessment time and to reduce burden on emergency hotline.

Pitch Video

Watch the video

The Architecture

Video transcription/translation app

  1. User reports a fire with a picture using an app
  2. App interface receives image and queries Google Maps for geolocation
  3. Google Maps finds geolocation of user and replies to app interface
  4. App interface receives geolocation and calls IBM Watson Visual Recognition service
  5. Visual Recognition service uses machine learning to classify fire immage
  6. Visual Recognition queries and classify using available fire images
  7. Geolocation of user and classification of fire is sent to SCDF for appropriate response
  8. App interface receives completion of task from Visual Recognition and broadcast message to nearby civilians and user
  9. User receives appropriate notification from app interface informing of completion of request, and evacuation message
  10. Nearby civilians receives appropriate notification from app interface

Long Description

More details regarding our application

Project Roadmap

Roadmap

Getting Started

Image Classification Setup

Visit this link to create your own image classification bucket.

Setup

git clone the repo and cd into it by running the following command:

git clone https://github.com/cloud-annotations/classification-ios.git
cd classification-ios

Add your model files to the project

Copy the model_ios directory generated from the classification walkthrough and paste it into the classification-ios/Core ML Classification folder of this repo.

Install Xcode

In order to develop for iOS we need to first install the latest version of Xcode, which can be found on the Mac App Store

Open the project with Xcode

Launch Xcode and choose Open another project...

Then in the file selector, choose classification-ios.

Test the application in the simulator

Now we’re ready to test! First we’ll make sure the app builds on our computer, if all goes well, the simulator will open and the app will display.

To run in the simulator, select an iOS device from the dropdown and click run.

Or run the app on an iOS device

Since the simulator does not have access to a camera, and the app relies on the camera to test the classifier, we should also run it on a real device.

  1. Select the project editor (The name of the project with a blue icon)
  2. Under the Signing section, click Add Account
  3. Login with your Apple ID and password
  4. You should see a new personal team created
  5. Close the preferences window

Now we have to create a certificate to sign our app with

  1. Select General
  2. Change the bundle identifier to com.<YOUR_LAST_NAME>.Core-ML-Vision
  3. Select the personal team that was just created from the Team dropdown
  4. Plug in your iOS device
  5. Select your device from the device menu to the right of the build and run icon
  6. Click build and run
  7. On your device, you should see the app appear as an installed appear
  8. When you try to run the app the first time, it will prompt you to approve the developer
  9. In your iOS settings navigate to General > Device Management
  10. Tap your email, tap trust

Now you're ready to run the app!

Trial Run

The classification-ios file in this repository contains the trained model that we did. You may download and try to run it on your Xcode platform to see how our app works.

Built with

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages