Duplicate Image Detection with Cloud REST API

Share on FacebookTweet about this on TwitterShare on LinkedIn

Reverse Image Search is a technique that helps you search visually similar images based upon your sample image. There may be a lot of use cases to apply the reverse image search engine. The most common use cases are the following:

  • Search for duplicate image and remove the duplicates
  • Search for content similar images
  • Search for inappropriate content
  • Search for digitally signed images

There are many applications available for image searching based on reverse image search technique. However, if yo’re looking for a REST API solution for reverse image search, then you’ve landed at the right place. Aspose.Imaging Cloud provides a powerful search engine that helps developers to add reverse image search feature in their application on any platform seamlessly. It compares the source image set, containing at least one image, with several other images. As a result of this comparison you get a list of most similar images according to the following conditions:

  • Degree of similarity
  • The minimal threshold of similarity
  • Algorithm of comparison

Currently Aspose.Imaging Cloud search engine supports content-based image search, duplicate image search, image search by custom registered tags, image comparison and similarity detection and Image features extraction operations.

Here, we’ll give you a quick walk through the feature to find duplicate images using Aspose.Imaging Cloud REST API. However, you can check Aspose.Imaging Cloud documentation for a complete list of features and their details.

How to Find Duplicate Images?

Duplicate image detection, this is the most common use of the reverse image search engine. Many customers need to sort out their photo libraries by finding similar photo images and leaving one or several shots while deleting the rest ones.

We’ll show you, how easily you can find duplicate images using Aspose.Imaging Cloud API. We’re using AKAZE algorithm for features detection and RandomBinaryTree algorithm for feature matching in the example. We’ll follow these steps to find the duplicate images:

  • Upload source images to storage
  • Create search context
  • Extract image features
  • Find duplicate images

Upload images to storage

Create search context

Extract image features

Find duplicate images

You can check complete example code from Aspose.Imaging Cloud SDK for .NET GitHub repository.

To learn more about Aspose.Imaging Cloud using a free trial, all you need is to sign up with the aspose.cloud. Once you’ve signed up, you may go through the following useful resources of Aspose.Imaging Cloud.

Got a question or a Bug? Please feel free to drop us a comment below or post a question in the support forum. It helps us to continually improve and refine our API.