Application on Pattern Recognition for Banknotes