1. A method for use in an object scanning process, comprising: obtaining a reference spectrum that includes a plurality of reference peaks; and comparing the reference spectrum with an input spectrum that has a plurality of input peaks; wherein a number of the reference peaks is less than eight.