Harnessing hyperspectral imaging and machine learning techniques for accurate discrimination of peanut plants and weeds

Effective weed detection for precise management remains a pertinent issue in modern agriculture. In this study, hyperspectral imaging (HSI) was combined with machine learning (ML) to differentiate between peanut plants and four common weeds found in peanut fields. Several spectral preprocessing methods-Moving Window Averaging (MWA), Median Filtering (MF), Gaussian Filtering (GF), and Savitzky-Golay smoothing (SGS)-were applied. Feature selection algorithms, including Correlation-based feature selection (CFS), Principal Components Analysis (PCA), and Wrapper Feature Selection (WFS), were then used to extract the most informative wavelengths. Among the various classifiers evaluated, the combination of MF preprocessing, WFS algorithm, and LDA classifier (MF-WFS-LDA) achieved the best performance, while the WFS method selected 12 optimal wavelengths from a total of 465. The accuracy, precision, recall, and RMSE values of this model in the training stage were 99.71%, 0.997, 0.997, and 0.054, respectively. These statistics were 96.67%, 0.967, 0.968, and 0.088, respectively, in the test stage. Furthermore, it successfully differentiated peanuts from each weed species using a minimal number of optimal wavelengths. These findings highlight the potential of integrating HSI with ML for precise weed detection in peanut cultivation. However, further validation under diverse environmental and field conditions is recommended.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-12-24
DOI
https://doi.org/10.1038/s41598-025-28106-2
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Harnessing hyperspectral imaging and machine learning techniques for accurate discrimination of peanut plants and weeds

Adel Bakhshipour, Shahriar Ramezanpour
Scientific Reports
Smart Agriculture and AI
article

Harnessing hyperspectral imaging and machine learning techniques for accurate discrimination of peanut plants and weeds

Adel Bakhshipour, Shahriar Ramezanpour
article en

Abstract

Effective weed detection for precise management remains a pertinent issue in modern agriculture. In this study, hyperspectral imaging (HSI) was combined with machine learning (ML) to differentiate between peanut plants and four common weeds found in peanut fields. Several spectral preprocessing methods-Moving Window Averaging (MWA), Median Filtering (MF), Gaussian Filtering (GF), and Savitzky-Golay smoothing (SGS)-were applied. Feature selection algorithms, including Correlation-based feature selection (CFS), Principal Components Analysis (PCA), and Wrapper Feature Selection (WFS), were then used to extract the most informative wavelengths. Among the various classifiers evaluated, the combination of MF preprocessing, WFS algorithm, and LDA classifier (MF-WFS-LDA) achieved the best performance, while the WFS method selected 12 optimal wavelengths from a total of 465. The accuracy, precision, recall, and RMSE values of this model in the training stage were 99.71%, 0.997, 0.997, and 0.054, respectively. These statistics were 96.67%, 0.967, 0.968, and 0.088, respectively, in the test stage. Furthermore, it successfully differentiated peanuts from each weed species using a minimal number of optimal wavelengths. These findings highlight the potential of integrating HSI with ML for precise weed detection in peanut cultivation. However, further validation under diverse environmental and field conditions is recommended.

Scientific ReportsVol. 15(1)
University of Guilan (IR)
University of Guilan
Openalex Percentile: Top 25%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.