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
February 11, 2019

IBM Cloud Mobile Foundation: Top-10 Features to Boost Your App Rating

The Mobile Foundation service offers many hidden gems that developers often gloss over. In this post, we highlight the top 10 features that increase user engagement as well as improve app ratings. 

Continue reading

November 20, 2018

Size Your Mobile Backend on IBM Cloud Using Mobile Foundation

Mobile apps tend to exhibit high variability; hence, developers often find it difficult to size the mobile backend for their app. This post offers a quick back-of-the-envelope sizing calculation so developers can set up an enterprise-grade backend for their app.

Continue reading