Creating dataset using Apex

Let's create a simple zip file that has images of laptops, phones, and tablets categorized into folders named laptops, phones, and tablets. You can download the .zip file from https://github.com/PacktPublishing/Learning-Salesforce-Einstein/blob/master/Chapter6/SalesforceEinsteinVision/TrainingData.zip.

Also, to upload the zip file, sign up for a free Cloudinary account at http://cloudinary.com/.

Image uploading on Cloudinary is simple. The following is a screenshot of the user interface:

Notice that to upload files of type .zip, one has to use the Files submenu. Also, Cloudinary provides API client and secret, and ...

Get Learning Salesforce Einstein now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.