Alexander Kolobov Great question. Yes, it is possible and might actually be a better way to match images. However, the focus of this article was using Azure AI Services. That's why we relied on the image tags generated by Azure Vision API.
At the moment, Azure Vision API does not support clustering of similar images. You can get unified distances between similar tags, but that would require additional processing on top of Azure's services.
Another point is, we are working with a very small set of images as our dataset. If our dataset was 5,000 or 50,000 images instead of 5, then the tags generated by Azure Vision API become far more effective.
Hope this helps.
Alexander Kolobov
FullStack Developer, Team Lead, Product Manager
What "image tags" are? What does ExtractImageTags function do?