Custom Vision API – Train and Test (No Coding is Required)

ByDr. SubraMANI Paramasivam

Custom Vision API – Train and Test (No Coding is Required)

Custom vision is one of the API from Azure cognitive services. It is coming under vision category. We have a bunch of API under vision which are like a pre-built one and we can use them inside our application without modifying the algorithms.

In case, if we want to create our own vision API, we can start using the custom vision API. It has the capability to train your model and publish it. Like other APIs, you can easily integrate with your application. In simple terms, you have the control to the API start from train, test and publish.

Follow the below steps to create a custom vision API.

Visit, https://www.customvision.ai/

If you don’t have an account, then you can easily signup and get an account.

Once you logged in then you can create a new project.

Provide the name and category of the project that you want to start. Fill the details and click create a project.

Once the project is created then you can see the window as like below.

Scenario

As we are dealing with the vision API, we need to upload the images and tag them (group them). For example, if you are uploading some dog images and you want to test whether the new image is a dog then the system will say that is dog otherwise it will say it is not a dog. To achieve this solution, you need to upload different dog images and train the system.

Follow the below steps.

Click Add images button and upload all the image files as like below.

Once it is uploaded and click done.

While adding the images, you can tag them or tag later.

Select all the images and click “Tag Images” and tag them.

Once it is tagged then you can see the images under the tagged section.

Now click the “Train” button and train the model. It will take few seconds to train and you see the results. Also, you have the option to set up the probability threshold.

Now, click quick test button and upload some other image and see the outcome.

Embed Custom Vision API

Check settings page and you could see the training and prediction keys. Refer the below documentation to proceed further.

Ref: https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/python-tutorial

 

 

About the Author

Dr. SubraMANI Paramasivam administrator

Dr.SubraMANI Paramasivam is a Data Platform MVP, Power BI Group Leader, International Speaker, Microsoft Certified Trainer and Principal Solutions Architect at DAGEOP Ltd, having 20+ years of DB, BI & Analytics experience. Dr.SubraMANI Paramasivam is a frequent speaker in SQLBITS, PASS Summit, PASS SQL Saturdays, SQLRelay, Data Platform Summit, MCT Summit, SQLServerGeeks Summit, INSIDESQL UK, Data Awareness Programmes, Data Day Events. He likes to enlighten the education & data and started his own journey with FREE Data Awareness Programme (www.dataap.org), in remote areas who are in need. Mani speaks a lot about Visualization, Data Science, R Analytics, Azure concepts, Performance Tuning, DB & SQL Server Architecture, DBA, Partitioning, Resource Governor, Disaster Recovery, High Availability, Development, T-SQL Programming and Microsoft certifications.

Comments Are Closed!!!