Mobile

Distribute CoreML Models Securely Using Mobile Foundation Service

Share this post:

What is CoreML?

CoreML is a framework by Apple which helps to integrate machine learning models into your IOS apps. The model can execute on the device and is optimized for performance, minimizes memory footprint and reduces power consumption. Adding ML to mobile apps opens new capabilities for client-side mobile applications.

Building models on CoreML with Watson Studio

Traditionally, most visual recognition applications rely on API calls made over HTTP to the server. With the advent of CoreML, this capability can move to the device as models can be executed locally. The trained model deployed on the device can be built using Watson Studio.

Managing distribution of CoreML models

In IBM Mobile Foundation we are introducing a feature to manage the distribution of models. The capabilities include the following:

  • Distribute models securely from server to client.
  • Support the update of a model from a CDN (Content Delivery Network). CDN removes network overhead from the Mobile server and offers higher transfer rates.
  • Manage using the administration console.
  • Update the model on the server and publish to client devices.

An example use case

Let’s look at an example use case from an insurance company which uses a mobile app to assess vehicle damage. The advisors of the company primarily use this app when they meet customers. The app can work offline as some locations do not have network connectivity. Using the app, an advisor can take images of the vehicle and assess the damage. The backend server receives the data from the mobile app to process claims.

The ML capability is provided by a Watson Visual recognition model which is available on the device. This model can identify damages like flat tire, broken windshield, scratches on the car body, and dents. The app uses the model to assess the damage and sends a report to the server. Whenever there is a new version of the model, the administrator uploads the same to the server and it gets published to the client devices.

You can easily add ML capabilities to your IOS apps using CoreML and using Mobile Foundation Service ensure security and management of the models.

Try out this feature

Create a new instance of Mobile Foundation service or update your existing instance to get this feature.

More Mobile stories
April 30, 2019

Introducing IBM Analytics Engine v1.2 and Announcing the Deprecation of IBM Analytics Engine v1.0

We are excited to inform you about the new version of IBM Analytics Engine v1.2 that will be available starting May 15, 2019. Along with this release, Analytics Engine v1.0 will be retired.

Continue reading

April 29, 2019

Transforming Customer Experiences with AI Services (Part 1)

This is an experience from a recent customer engagement on transcribing customer conversations using IBM Watson AI services.

Continue reading

April 26, 2019

Updated Tutorial: Database-Driven Chatbot

The tutorial on how to build a database-driven chatbot has been updated. It's now simpler to deploy and and offers more options—Slack, Facebook Messenger, Wordpress, and more.

Continue reading