I'm looking for a way to calculate image similarity in Kotlin using cosine similarity.
Does someone know a lib where this algorithm has already been implemented?
The next best thing I was able to fnd is only a
image hashing algorithm in Java which I could rewrite in Kotlin using skija. As far as I understood the cosine similarity algorithm has better results than image hashing, but I'm unfortunately now even able to find a Java implementation of this.