In recent decades, near-infrared (NIR) spectroscopy has been accepted as a powerful non-destructive testing (NDT) technology for quality assessment of most materials in most industries such as chemistry, medicine, agrofood, etc. This optical technology is rapid, safe,