Changed everything to BufferedImage and removed scaling in comparison, because feature extracted should not care about size (see lire book)