In my project i have a set of images. I need to compare them. Each pixel from one image is compared to the pixel at the same location in all other images in the dataset. Aft
File file1 = new File(args[0]); File file2 = new File(args[1]); boolean compareResult = FileUtils.contentEquals(file1, file2); System.out.println("Are the files are same? " + compareResult);
Apache Commons IO library to perform this comparison (download commons-io-2.4.jar)