Text this: Pattern recognition applying LDA and LR to optoelectronic signals of optical scanning systems