Agriculture products that are contaminated by mycotoxins, especially aflatoxin (AF), are toxic to domestic animals and humans as feed or food because they are a known carcinogen associated with liver and lung cancers. Traditionally, methods for the detection and quantification of AF are based on analytical tests including thin-layer chromatography (TLC) and high-performance liquid chromatography (HPLC), among others. However, these are costly and time-consuming. Hyperspectral imaging (HSI) and near-infrared spectroscopy (NIRS) are considered as rapid, nondestructive techniques for the detection of mycotoxin contamination. The main objective of this study was to review the application of different types of imaging and spectral techniques to detect mycotoxin contamination in a variety of agriculture products, such as cereals (corn or maize), different kinds of nuts, and other crops (such as red chili pepper) in the recent 10 years. AF contamination and HSI, components of the detecting system, the basic method principles, and the limitation and future trends are also discussed.