The cork used in the manufacture of natural cork stoppers or technical stoppers must meet a number of conditions, including being free of certain anomalies. The use of NIRS (near infrared spectroscopy) technology has proven to be a valid technique for detecting yellow stain and corkbark, which are defects that must be avoided due to their harmful effects on the properties of the cork.