Lead Detection & Photogrammetry
Estimating lead in water with LSTM and evaluating aerial image stitching for environmental mapping.

Overview
My 2026 Informatics thesis at ITS investigates lead-concentration estimation from cyclic-voltammetry signals, drone-image stitching, and cloud storage. It evaluates the sensing and mapping subsystems separately; a combined water-quality distribution map remains future work.
WHAT I BUILT
- Developed LSTM preprocessing and model experiments, with MAE, MSE, and R² evaluation.
- Compared SIFT, ORB, and AKAZE feature extraction with BFMatcher and FLANN for image stitching.
- Evaluated cloud storage of sensor readings, concentration estimates, timestamps, and coordinates using Supabase.
Reported experimental results
- R²
- 0.9934
- MAE
- 2.7317 ppm
- MSE
- 10.9306 ppm²
LSTM regression evaluated on controlled water samples at 0, 50, and 100 ppm Pb. R² is the coefficient of determination, not classification accuracy. These figures are reported in the thesis, not independently validated results.
From sensor signals to aerial imagery
Cyclic-voltammetry signals feed an LSTM model to estimate lead concentration. A separate imaging subsystem compares SIFT, ORB, and AKAZE with BFMatcher and FLANN, using RANSAC for homography estimation. The mapping dataset contains 20 aerial drone images.
AKAZE + FLANN recorded a mean reprojection error of 1.33 pixels; AKAZE + BFMatcher took 1.978 seconds per stitch in the documented experiment. Supabase storage succeeded for 100 of 100 test requests with 141.35 ms mean latency. This test result is not a service-uptime guarantee.


Limitations & next steps
Testing used pure water with varied lead concentrations, not environmental water containing mixed metals. Predictions can become negative near 0 ppm; these results do not establish suitability for drinking-water safety certification. Stitching can fail on homogeneous or repetitive surfaces. Integrating lead measurements into a spatial water-quality distribution map remains future work.
Source: Ali Hasyimi Assegaf, ITS Informatics undergraduate thesis (2026), abstract, Chapters 4–5, Tables 4.1, 4.3, 4.7–4.9. Title: Design and Development of a Lead Detection System in Water Using Machine Learning Algorithms and Photogrammetry.
TECHNOLOGY
Original thesis figure · AKAZE + FLANN · experimental results, not a product demo.