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 9, 2019

IBM Cloud Continuous Delivery is Now Better with Unlimited Insights

Starting this month, we are bundling IBM Continuous Delivery and IBM DevOps Insights to make the build, test, deploy, and learn experience on IBM Cloud even better.

Continue reading

April 5, 2019

IBM Cloud Functions Adds Support for Cloud Object Storage Triggers

IBM Cloud Functions now allows you to create triggers based on Cloud Object Storage bucket changes. With the new package, you can create triggers and rules to fire actions when bucket objects are created, modified, or deleted.

Continue reading

April 3, 2019

Managing IBM Cloud Resources with a Service ID Through the Command Line Interface

We are excited to announce that you can now log into IBM Cloud with a service ID in v0.15.0 of the IBM Cloud CLI. This enables users to manage IBM Cloud resources with a service ID created within an account through the command line interface.

Continue reading