Near infrared spectroscopy for the field detection of counterfeit medicines. Use of a low cost NIR sensor and a classical handheld NIR spectrometer. Optimization of classification methods for pharmaceutical tablets identification. Definition of a counterfeit detection strategy using advanced chemometrics.