Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Salesforce Einstein

You're reading from   Learning Salesforce Einstein Add artificial intelligence capabilities to your business solutions with Heroku, PredictiveIO, and Force

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787126893
Length 334 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Mohit Shrivatsava Mohit Shrivatsava
Author Profile Icon Mohit Shrivatsava
Mohit Shrivatsava
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Introduction to AI FREE CHAPTER 2. Role of AI in CRM and Cloud Applications 3. Building Smarter Apps Using PredictionIO and Heroku 4. Product Recommendation Application using PredicitionIO and Salesforce App Cloud 5. Salesforce Einstein Vision 6. Building Applications Using Einstein Vision and Salesforce Force.com Platform 7. Einstein for Analytics Cloud 8. Einstein and Salesforce IoT Cloud Platform 9. Measuring and Testing the Accuracy of Einstein

Creating Lightning Components to recognize image

Once we have a trained model, we can use the Salesforce Lightning Component to provide a user interface to the end user accessing the Salesforce community, sales, or service cloud to upload the image, and we can use the model to automatically recognize the image.

We will be using Prediction with the image base64 String API (https://metamind.readme.io/docs/prediction-with-image-base64-string). The component can be dropped onto an App Builder or Community Builder, and it will require admins to input modelId.

The Lightning Component code can be found at https://github.com/PacktPublishing/Learning-Salesforce-Einstein/blob/master/Chapter6/SalesforceEinsteinVision/src/aura/EinsteinVisionImagePredictor/EinsteinVisionImagePredictor.cmp.

The backend Apex code can be found at https://github.com/PacktPublishing/Learning-Salesforce-Einstein...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image