OpenCV image comparison in Android
[EDIT] I have devised some code for image comparison. The matching part is still a bit flawed and I would love some assitance. The project can be found at - GitHub . I have these two images Img1 and Img2 : When I use the following command in openCV Mat img1 = Highgui.imread("mnt/sdcard/IMG-20121228.jpg"); Mat img2 = Highgui.imread("mnt/sdcard/IMG-20121228-1.jpg"); try{ double l2_norm = Core.norm( img1, img2 ); tv.setText(l2_norm+""); } catch(Exception e) { //image is not a duplicate } I get a double value for l2_norm. This double value varies for duplicate image pairs. But if the images are