This is an Image Search Engine using MATLAB developed as a part of IvLabs Technoseason 2020 Task, which is the recruitment test of IvLabs. The search engine takes an image address as input and outputs similar images from the dataset. The search engine uses classical Computer Vision methods.
- The RGB color histogram of all dataset images is calculated and concatenated to form a feature vector of size 256*3.
- The RGB color histogram of the input image is calculated in the same way to form a feature vector.
- The Cosine Similarity test is applied between the input image feature vector and all the dataset image feature vectors.
- If the Cosine Similarity between the images is greater than or equal to 0.935(determined experimentally), then the dataset image is shown as an output.
- If the Cosine Similarity between the images is exactly 1, ie the image is the same one present in the dataset, it ignores the image.
- The similarity test runs through all the images and then the program exits.
The dataset used in this project is a custom dataset containing 29 images of size 400*166. The images are taken from 4 popular TV/Movie Series, namely The Big Bang Theory, HouseMD, The Hobbit and The Simpsons.