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.
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.
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.