I am recently working on a project where in I have extracted some features regarding an image, and want to find if there are any similarities between two images using those features. Here are the list of features that I have extracted:
- Aspect ratio (width/height)
- Normalised area (Cropped roi's area to input image area)
- Centre of the cropped image
and other features from a single image
Now, I want to feed these values into a vector, and use that vector to find cosine similarity. In Short, use such vector from two images, and find the similarity between them.
I know how cross product of two vectors works, but
I want help in storing these images into vector and usage of the vector. Any suggestions would be deeply appreciated.