Distribute CoreML Models Securely Using Mobile Foundation Service

5 min read

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 Serviceensure 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.

Be the first to hear about news, product updates, and innovation from IBM Cloud