React (https://facebook.github.io/react/) is one of the fastest maturing frontend JavaScript libraries for building component-based single page applications. This section will cover a hands-on tutorial to build a user interface using React to upload a file and get prediction using Einstein Vision on Heroku. We will use Express as a middleware to authenticate to the Prediction API and make API calls to the Einstein Vision Services. The final product can be viewed at https://powerful-bastion-25704.herokuapp.com/. It's a public Node.js app sitting on Heroku that accepts a flower image (at this point, it loads only roses, lilies, and lotuses of size less than 1 MB) and recognizes the image intelligently.
The app uses the model we built in the Explore Einstein Vision APIs section, which is trained to understand...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand