Back to projects
personal

Road & Building Condition Analyzers

Bina Marga SDI Pavement & OpenCV Structural Assessment Suite

Civil engineering inspection suite (Python/Streamlit/OpenCV & Next.js/TypeScript) implementing Bina Marga Surface Distress Index (SDI) calculations, Gaussian kernel smoothing along road stationing, z-score outlier detection, and accelerometer RMS analysis.

Python 3OpenCVNumPy / SciPyStreamlitNext.jsTypeScriptpytest

Problem

Field surveys for road pavement distress (Bina Marga SDI method) and residential building damage are manually recorded on paper, prone to calculation errors, and lack spatial smoothing or sensor correlation.

Solution

Developed two complementary engineering applications (penilai-kondisi-jalan in Python/Streamlit and cek-kondisi-rumah in Next.js/TypeScript/OpenCV) that combine deterministic civil engineering formulas with automated photo/video frame analysis.

Architecture & Engineering Highlights

  • Implemented deterministic Bina Marga Surface Distress Index (SDI) computation from crack area, crack width, pothole count, and wheel rutting depth.
  • Engineered video sharp-frame extraction (Laplacian variance), Gaussian kernel smoothing along road stationing (STA), and z-score anomaly detection (|z| > 2).
  • Built smartphone accelerometer vertical vibration RMS processing and EXIF GPS coordinate mapping across 96 files and 13 automated test files.

System Architecture

[Multi-Source Field Input]
  |-- Single/Batch JPEG Photos (EXIF GPS Extraction)
  |-- Short Survey Videos (Sharpest-Frame Sampling via OpenCV)
  |-- Smartphone Accelerometer CSV (Vertical Vibration RMS)
              |
              v
[Deterministic Civil Engineering Engine]
  |-- Bina Marga SDI Formula (Crack Area/Width, Potholes, Rutting)
  |-- Gaussian Kernel Smoothing along Stationing (STA)
  |-- Statistical Outlier Detection (|z| > 2 & 95% CI)
  +-- 8-Component Weighted Building Condition Index & Cost Estimator

Capabilities

Full Stack Engineering

Next.js + TypeScript Web AppStreamlit Interactive Engineering Workbench

Backend & Data

Python 3 + OpenCVCSV / GeoJSON Spatial Import & ExportEXIF GPS Parsing

AI Engineering

Multimodal Vision Defect DetectionGaussian Smoothing & Z-Score Outlier Analysis

Delivery & Quality

13 Automated Test FilesOffline Manual + AI Hybrid Mode

Engineering Decisions

ChallengeDecisionRationale
Frame-by-frame noise when assessing road segments from moving survey videos.Sharpest-Frame Selection + Mean/Median/Max Aggregation + Gaussian STA SmoothingAverages crack area, takes median crack width/rutting, and takes max potholes across sharp frames before applying Gaussian smoothing along stationing.

My Contribution

  • Implemented the Bina Marga SDI calculator, OpenCV image/video analyzers, accelerometer RMS processor, and test suites.

Quantified Engineering Metrics

96 Source Files13 Automated Test FilesBina Marga SDI + OpenCV