OPTOSKY /NEWS /Hyperspec Blog /Hyperspectral Wavelength Extraction and Origin Identification Model for Spearmint /
Hyperspectral Wavelength Extraction and Origin Identification Model for Spearmint
author: Callum
2024-09-11
1. Introduction
Spearmint is a crop used for both medicinal and culinary purposes. Its essential oil is widely used as a food additive in flavoring agents for beverages, seafood, milk tea, bread, and other food processing industries. The demand for spearmint is increasing in the market. Despite similar appearances, spearmint from different regions can vary significantly in aroma and nutritional value. This has led to instances of low-quality spearmint being sold as high-quality spearmint from premium regions, disrupting the supply chain and market.
Traditional methods for identifying the origin of spearmint, such as sensory evaluations, are labor-intensive and subjective, leading to unreliable results. Chemical analysis, while accurate, is time-consuming and involves destructive testing. Therefore, there is a growing need for an efficient, non-destructive, and accurate method to determine the origin of spearmint.
Near-Infrared Spectroscopy (NIR), known for its rapid, non-invasive detection, is widely used in food quality assessment. However, as a point-measurement technique, NIR has limitations in spatial resolution, which may restrict its application in analyzing heterogeneous samples. Hyperspectral imaging (HSI), a technology combining spectroscopy and imaging, offers high accuracy, is easy to operate, and provides both spectral and spatial information in a non-destructive manner. HSI has been widely applied in fields such as geology, cultural heritage preservation, medical diagnosis, agricultural product quality assessment, and mineral extraction.
Spearmint
2. Technical Approach and Main Content
Technical Approach:
Acquire experimental materials→ Collect hyperspectral data→ Preprocess hyperspectral images→ Extract characteristic wavelengths→ Build the model
Main Content:
- Sample Collection: The images below show fresh spearmint leaves from five different regions: Xuancheng, Anhui; Beijing; Guangzhou, Guangdong; Zhoukou, Henan; and Shanghai. A total of 375 samples were collected, with 75 leaves from each region. These were selected for their good growth, uniform size, and lack of visible damage. The samples were split into a training set and a test set in a 4:1 ratio, with 300 samples used for training and 75 for testing.
Spearmint Samples from Different Regions
- Hyperspectral Data Collection: Fresh spearmint leaves were laid flat on a conveyor belt for hyperspectral data collection. Before collection, black-and-white calibration was performed to reduce dark current and external light interference. After collection, ENVI software was used for reflectance calibration to obtain reflectance data.
Raw Data Spectra
- Data Processing: The hyperspectral data showed lower signal-to-noise ratios at both ends. Therefore, spectral data in the range of 435.82-961.60 nm was selected. Multivariate scattering correction was applied for smoothing and noise reduction to minimize interference.
Multivariate Scattering Correction Processed Spectra
- Wavelength Extraction: Analyzing the preprocessed data helped identify wavelengths that most clearly differentiate spearmint from different regions. These characteristic wavelengths were then used for final analysis.
- Model Building: Two machine learning models, SVM (Support Vector Machine) and BPNN (Back Propagation Neural Network), were used to build the origin identification model. The effectiveness of the two models was compared.
3. Summary
Hyperspectral Resolution: Hyperspectral imaging technology captures spectral information across hundreds of wavelengths, surpassing traditional multispectral imaging. This extensive spectral data allows for the detection of subtle differences between spearmint from different regions.
No Reliance on Physicochemical Indicators: Hyperspectral imaging extracts characteristic wavelengths directly from spectral data without relying on complex physicochemical indicators. This simplifies the method and avoids uncertainties and limitations associated with measuring physicochemical properties.
Integration with Machine Learning: Combining hyperspectral data with advanced machine learning algorithms, such as SVM and BPNN, enhances classification accuracy and model stability. This integration demonstrates the significant potential of hyperspectral imaging technology in smart agriculture, food quality monitoring, and other fields.
Application of ATH9010 in Monitoring Rice Diseases
Application of ATH9010 in Monitoring Rice Diseases
Related Article

Discover how UAV‑based hyperspectral imaging and deep learning can monitor SDI, TOC, and TEP – key membrane fouling indicators for seawater desalination during harmful algal blooms. Based on a recent Water Research study, this article explores how Optosky's ATH9010 enables spatial risk mapping and proactive intake management.
Applications | ATH9010 Enables Water Quality and Membrane Fouling Monitoring for Desalination During Algal Blooms

Choosing between 785 nm and 1064 nm for Raman? This guide explains the physics of fluorescence, compares signal strength and fluorescence suppression, and provides a step‑by‑step decision tree. Real‑world drug detection and pesticide examples show why wavelength matters – and how dual‑wavelength coverage offers the ultimate solution.
785 nm or 1064 nm? Fluorescence Is the Dividing Line

Inspired by the 2026 Science paper from Zhang Jun’s team on a video‑rate on‑chip hyperspectral microsystem, Optosky’s ATH series moves beyond lab‑only tools. We deliver tailored, real‑world hyperspectral systems that integrate compact hardware, edge AI, and application‑specific algorithms—turning raw spectral data into actionable decisions, right where you need them.
From Science to the Field: Custom Hyperspectral Solutions by Optosky

See how 40 Optosky NY3300Pro multispectral units were deployed across a large‑scale demonstration farmland in Northwest China. With 9‑band imaging, solar power, 4G transmission, and automated data analytics, this solution enables precise growth monitoring, early pest detection, and water‑fertiliser optimisation – a true leap toward smart agriculture.
Case Study | Bulk NY3300Pro Installation Transforms Smart Farming