Development of an AI-Enabled Vision-Based On-Site Rapid Detection of Nitrates and Nitrites from Drainage Samples.

Saved in:
Bibliographic Details
Title: Development of an AI-Enabled Vision-Based On-Site Rapid Detection of Nitrates and Nitrites from Drainage Samples.
Authors: Roman, Muhammad1 (AUTHOR), Zahid, Azlan2 (AUTHOR), Nafchi, Ali Mirzakhani1,3 (AUTHOR), Sher, Mazhar1 (AUTHOR) mazhar.sher@sdstate.edu
Source: Water, Air & Soil Pollution. Apr2026, Vol. 237 Issue 8, p1-24. 24p.
Subject Terms: *Water quality monitoring, *Plant nutrients, Edge computing, Optical sensors, Classification algorithms, Edge detection (Image processing), Indicators & test-papers, Analytical chemistry
Abstract: Plant growth is significantly impacted by the concentration of nutrients in the soil. Accurate and real-time measurement of nitrates and nitrites levels remains a significant challenge. Existing laboratory-based methods are expensive, time-consuming, and labor-intensive, highlighting the need for a rapid, on-site solution. This study proposes a rapid method for measuring nitrates and nitrite levels in water samples collected from tile drainage. We utilized Hach Nitrate and Nitrite test strips for image dataset collection as these test strips change color based on the concentration of nitrate and nitrite in the water samples. A purpose-built black box, equipped with an internal lighting arrangement for imaging test strips, was designed to collect images of the test strips. Unlike many existing smartphone-based colorimetric approaches, which are sensitive to ambient lighting variations and often rely on external calibration or offline analysis, the proposed system integrates a controlled illumination environment with real-time edge computation for robust on-site detection of nitrate and nitrite. An Nvidia Orin Nano module, connected with an IMX219 camera sensor, was used to capture images of the test strips. Image preprocessing was performed, followed by the implementation of a VGG16-based network for feature extraction. A dataset of approximately 3128 images spanning multiple nitrate and nitrite concentration levels was collected under controlled imaging conditions. Multiple machine learning models including logistic regression (LR), support vector machines (SVM), k-nearest neighbors (KNN), naïve Bayes (NB), and random forest (RF) were evaluated for classification. The nitrate detection using KNN achieved an accuracy of 99.96% training, 99.92% testing, and 99.79% cross-validation. For nitrite detection, the SVM model achieved accuracy of 99.02%, 98.04%, and 98.07% for training, testing, and cross-validation, respectively, demonstrating both systems' high reliability and practical applicability for real-time monitoring. The total system cost is approximately USD 300, highlighting the affordability and practicality of the proposed solution for on-site water quality monitoring. This technology can enable farmers, water quality researchers, and agronomists to efficiently monitor the levels of nitrates and nitrites in tile drainage samples, enabling data-driven decisions to maximize crop yields. [ABSTRACT FROM AUTHOR]
Copyright of Water, Air & Soil Pollution is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: GreenFILE
FullText Text:
  Availability: 0
Header DbId: 8gh
DbLabel: GreenFILE
An: 192230476
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 0
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Development of an AI-Enabled Vision-Based On-Site Rapid Detection of Nitrates and Nitrites from Drainage Samples.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Roman%2C+Muhammad%22">Roman, Muhammad</searchLink><relatesTo>1</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Zahid%2C+Azlan%22">Zahid, Azlan</searchLink><relatesTo>2</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Nafchi%2C+Ali+Mirzakhani%22">Nafchi, Ali Mirzakhani</searchLink><relatesTo>1,3</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Sher%2C+Mazhar%22">Sher, Mazhar</searchLink><relatesTo>1</relatesTo> (AUTHOR)<i> mazhar.sher@sdstate.edu</i>
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="JN" term="%22Water%2C+Air+%26+Soil+Pollution%22">Water, Air & Soil Pollution</searchLink>. Apr2026, Vol. 237 Issue 8, p1-24. 24p.
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: *<searchLink fieldCode="DE" term="%22Water+quality+monitoring%22">Water quality monitoring</searchLink><br />*<searchLink fieldCode="DE" term="%22Plant+nutrients%22">Plant nutrients</searchLink><br /><searchLink fieldCode="DE" term="%22Edge+computing%22">Edge computing</searchLink><br /><searchLink fieldCode="DE" term="%22Optical+sensors%22">Optical sensors</searchLink><br /><searchLink fieldCode="DE" term="%22Classification+algorithms%22">Classification algorithms</searchLink><br /><searchLink fieldCode="DE" term="%22Edge+detection+%28Image+processing%29%22">Edge detection (Image processing)</searchLink><br /><searchLink fieldCode="DE" term="%22Indicators+%26+test-papers%22">Indicators & test-papers</searchLink><br /><searchLink fieldCode="DE" term="%22Analytical+chemistry%22">Analytical chemistry</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: Plant growth is significantly impacted by the concentration of nutrients in the soil. Accurate and real-time measurement of nitrates and nitrites levels remains a significant challenge. Existing laboratory-based methods are expensive, time-consuming, and labor-intensive, highlighting the need for a rapid, on-site solution. This study proposes a rapid method for measuring nitrates and nitrite levels in water samples collected from tile drainage. We utilized Hach Nitrate and Nitrite test strips for image dataset collection as these test strips change color based on the concentration of nitrate and nitrite in the water samples. A purpose-built black box, equipped with an internal lighting arrangement for imaging test strips, was designed to collect images of the test strips. Unlike many existing smartphone-based colorimetric approaches, which are sensitive to ambient lighting variations and often rely on external calibration or offline analysis, the proposed system integrates a controlled illumination environment with real-time edge computation for robust on-site detection of nitrate and nitrite. An Nvidia Orin Nano module, connected with an IMX219 camera sensor, was used to capture images of the test strips. Image preprocessing was performed, followed by the implementation of a VGG16-based network for feature extraction. A dataset of approximately 3128 images spanning multiple nitrate and nitrite concentration levels was collected under controlled imaging conditions. Multiple machine learning models including logistic regression (LR), support vector machines (SVM), k-nearest neighbors (KNN), naïve Bayes (NB), and random forest (RF) were evaluated for classification. The nitrate detection using KNN achieved an accuracy of 99.96% training, 99.92% testing, and 99.79% cross-validation. For nitrite detection, the SVM model achieved accuracy of 99.02%, 98.04%, and 98.07% for training, testing, and cross-validation, respectively, demonstrating both systems' high reliability and practical applicability for real-time monitoring. The total system cost is approximately USD 300, highlighting the affordability and practicality of the proposed solution for on-site water quality monitoring. This technology can enable farmers, water quality researchers, and agronomists to efficiently monitor the levels of nitrates and nitrites in tile drainage samples, enabling data-driven decisions to maximize crop yields. [ABSTRACT FROM AUTHOR]
– Name: AbstractSuppliedCopyright
  Label:
  Group: Ab
  Data: <i>Copyright of Water, Air & Soil Pollution is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=8gh&AN=192230476
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1007/s11270-026-09143-7
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 24
        StartPage: 1
    Subjects:
      – SubjectFull: Water quality monitoring
        Type: general
      – SubjectFull: Plant nutrients
        Type: general
      – SubjectFull: Edge computing
        Type: general
      – SubjectFull: Optical sensors
        Type: general
      – SubjectFull: Classification algorithms
        Type: general
      – SubjectFull: Edge detection (Image processing)
        Type: general
      – SubjectFull: Indicators & test-papers
        Type: general
      – SubjectFull: Analytical chemistry
        Type: general
    Titles:
      – TitleFull: Development of an AI-Enabled Vision-Based On-Site Rapid Detection of Nitrates and Nitrites from Drainage Samples.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Roman, Muhammad
      – PersonEntity:
          Name:
            NameFull: Zahid, Azlan
      – PersonEntity:
          Name:
            NameFull: Nafchi, Ali Mirzakhani
      – PersonEntity:
          Name:
            NameFull: Sher, Mazhar
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 15
              M: 04
              Text: Apr2026
              Type: published
              Y: 2026
          Identifiers:
            – Type: issn-print
              Value: 00496979
          Numbering:
            – Type: volume
              Value: 237
            – Type: issue
              Value: 8
          Titles:
            – TitleFull: Water, Air & Soil Pollution
              Type: main
ResultId 1