Object Detector Using SDK - Upload, Train and Test the Model

Learn to build an Object Detector using the Azure Custom Vision SDK for Python.

Let’s continue the implementation. Just to recap, in the previous lesson, we’ve created the training and prediction client objects. We’ve also created a project and added the two image tags that we want our model to identify.

Now, we’re going to upload the images with their coordinates and tags to our Custom Vision project and then we’ll train our custom model.

Uploading the images

When we build an object detection using the Web portal, we’ve tagged the location of the object to train the model. In a similar way, we need to specify the region of each tagged object. Below is the file that contains the coordinates of the two objects “Fork” and “Scissor” in the images. The coordinates are given in the following order: left, top, width, height.

Get hands-on with 1200+ tech skills courses.