Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Salesforce Einstein

You're reading from  Learning Salesforce Einstein

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787126893
Pages 334 pages
Edition 1st Edition
Languages

Table of Contents (10) Chapters

Preface 1. Introduction to AI 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 $15.99/month. Cancel anytime}