Recognition of dates handwritten on cheques