Intro: Microsoft Azure Machine Learning Studio

 
 
 
#Getting Your Hands Dirty With AI
 

I have managed to have played around with a few AI services and am confident in saying that Microsoft Azure’s Computer Vision produces the best results.

The services offered by Google and IBM certainly have their advantages and can still identify images and proper results, but Microsoft’s is so good and so accurate that it’s not worth settling for something else, at least in my opinion.

 

Creating your own image recognition plugin is pretty straightforward. First, head down to Microsoft Azure Computer Vision. You’ll need to login or create an account in order to grab an API key for the plugin.

 

Once you’re on the dashboard, search and select Computer Vision and fill in the necessary details.

 

 

Wait for the platform to finish spinning up an instance of your computer vision. The API keys for development will be available once it’s done.

 

 

 

 

 

​​Note: Keys Also known as the Subscription Key in the official documentation

 

Let the interesting and tricky parts begin! I will be using vanilla JavaScript for the sake of demonstration. For other languages, you can check out the documentation. Below is a straight-up copy and paste of the code and you can use to replace the placeholders.

 

 

 

Alright, let’s run through some key terminology of the AI service.

​​

⚫    Location: This is the subscription location of the service that was selected prior to getting the subscription keys. If you can’t remember the location for some reason, you can go to the Overview screen and find it under Endpoint.
 
 
 
 
 
 
 

Overview > Endpoint : To get the location value

  • ​​Subscription Key: This is the key that unlocks the service for our plugin use and can be obtained under Keys. There’s two of them, but it doesn’t really matter which one is used.
  • ​​Image URL: This is the path for the image that’s getting the alt​ text. Take note that the images that are sent to the API must meet specific requirements:
 
⚫    File type must be JPEG, PNG, GIF, BMP
​  File size must be less than 4MB
⚫    ​​Dimensions should be greater than 50px by 50px
 

 

 

In a world where there are „What You See Is What You Get“ editors for practically everything, have you ever wondered why there isn’t a drag-and-drop web app for machine learning?

 

 

Well, actually there is: Azure Machine Learning Studio. Today, I want to give you a personal tour of ML Studio and give you an idea of just how much you can do without writing a lick of code.