With the recent release of offline custom vision for iOS and CoreML https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/09/14/microsoft-custom-vision-api-a...
You can now build offline model to Android devices https://github.com/Azure-Samples/cognitive-services-android-customvision-sample
The following sample application demonstrates how to take a model exported from the Custom Vision Service in the TensorFlow format and add it to an application for real-time image classification.
The model provided with the sample recognizes some fruits. to replace it with your own model exported from the Custom Vision Service do the following, and then build and launch the application:
Make sure the mean values (IMAGE_MEAN_R, IMAGE_MEAN_G, IMAGE_MEAN_B in MSCognitiveServicesClassifier.java) are correct based on your project's domain in Custom Vision:
Project's Domain
Mean Values (RGB)
General (compact)
(123, 117, 104)
Landmark (compact)
(123, 117, 104)
Retail (compact)
(0, 0, 0)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.