ML Assisted Image Tagging

Balamurugan Balakreshnan
May 23 · 3 min read

Image Classification Multi-Class, Image Classification Multi-Label, Object Identification (Bounding Box)

Use Case

To Apply Machine learning or Deep Learning on any image or vision based project first images has to be tagged. Tagging image is labor intensive work and take long time. How can we make it much more productive is what we are going to see.

To solve the above we are going to use the Azure Machine learning service — Data Labelling features which has Manual and ML Assited tagging.

What is ML Assisted Tagging?

Lets take like 2000 pictures and take two tags or 1000 images with one tag for example like face mask. For the below tutorial i am using only few images but for ML assit to work we need more images. Once you collected the image then tag around 100 of them for 1000 images manual. Options availble to have multiple people can tag the images.

Once the images are tag then wait until the ML assit does it job. For ML assit we need GPU based cluster and also make sure select a region where GPU based virtual machines are available.

Steps to do

  • Collect images
  • Create a Blob Storage
  • Create a container
  • Upload the images
  • Create a Azure Machine learning Services — i choose WEST US 2 since GPU was available
  • Create a Data Labeling project
  • Create Data Set from Data Store
  • Create project
  • Image Tagging
  • ML Assit tagging

Collect images for the below sample, download images from pubic domain search engines.
Create a Blob Storage
Create a container
Upload the images

Create a Azure Machine learning Services — i choose WEST US 2 since GPU was available Create a Data Labeling project

Create Data Set from Data Store

Add Class or Label

Labelling Instruction

Create project

Select ML Assit

Image Tagging

Select the project

Click Data Label

Start Labeling

ML Assit tagging

Tag all the images until the UI says it says there is no tasks

Go back to Project Screen

Click Details

Wait until remaining is all completed.

In our say if you had 1000 images you need to tag 100 and then it takes time to do ML assisted tagging.


Originally published at https://github.com.

Analytics Vidhya

Analytics Vidhya is a community of Analytics and Data…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store