Notacheck: a parallel DSP-based architecture for real time high resolution inspection of banknotes