Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Comparing image similarity using OpenCV in Java

How can I compare two images similarity in Java using OpenCV. I must mention that those images may differ by angle, luminosity, etc. I'm not interested in comparing identical images. For example: enter image description here

enter image description here

After processing these 2 images, I want to know that they contain the same object, or that they look 70% similar

like image 544
UnguruBulan Avatar asked Sep 25 '22 17:09

UnguruBulan


1 Answers

This is possible in Java, using ASIFT, implemented in OpenImaj library. Example here

Asift extacts local features from a image and then it's used a matcher in order to detect similar features.

ASIFT online demo here: http://demo.ipol.im/demo/my_affine_sift/

like image 101
UnguruBulan Avatar answered Sep 28 '22 06:09

UnguruBulan