How paresh123829/real-time-wire-gap-detection-system works
This is a Streamlit prototype for inspecting industrial wire belts: operators supply an image or synthetic scenario, the app detects and tracks wires, evaluates adjacent gaps and confidence, then presents measurements and visual alerts. The graph preserves the documented camera, calibration, and dashboard capabilities; some app wiring is based on the SOURCE INDEX because the relevant app sections were not excerpted.
Main entry points: app.py Inspection Dashboard · config.py Detection Settings · image_preprocessing.py Preprocessing · wire_detection.py Wire Detection
Components 15
Inspection Inputs
- Belt Image
- Live Camera
src/camera.py - Synthetic Scenarios
src/synthetic.py
Image Processing
- ROI Localization
src/roi.py - Preprocessing
src/image_preprocessing.py - Wire Detection
src/wire_detection.py - Strip Profiles
src/strip_measurement.py
Measurement Analysis
- Wire Tracking
src/wire_tracking.py - Gap Evaluation
src/gap_measurement.py - Pixel Calibration
src/calibration.py - Detection Confidence
src/confidence.py
Operator Interface
- Inspection Dashboard
app.py - Detection Settings
config.py - Inspection Overlays
src/visualization.py
Other components
- Operator
Connections 21
- Operator → Inspection Dashboard: configures inspection
README.md - Belt Image → Inspection Dashboard: supplies image
README.md - Live Camera → Inspection Dashboard: streams frames
- Synthetic Scenarios → Inspection Dashboard: generates scenarios
app.py - Inspection Dashboard → ROI Localization: localizes region
app.py - Inspection Dashboard → Preprocessing: prepares image
app.py - Preprocessing → Wire Detection: evaluates channels
src/image_preprocessing.py - Inspection Dashboard → Strip Profiles: extracts profiles
app.py - Inspection Dashboard → Wire Detection: detects candidates
app.py - Inspection Dashboard → Wire Tracking: tracks candidates
app.py - Inspection Dashboard → Gap Evaluation: evaluates gaps
app.py - Inspection Dashboard → Pixel Calibration: uses calibration
app.py - Inspection Dashboard → Detection Confidence: scores detection
app.py - Inspection Dashboard → Inspection Overlays: renders inspection
app.py - Detection Settings → Preprocessing: sets parameters
src/image_preprocessing.py - Detection Settings → Wire Detection: sets parameters
src/wire_detection.py - Detection Settings → Wire Tracking: sets limits
src/wire_tracking.py - Detection Settings → Gap Evaluation: sets thresholds
src/gap_measurement.py - Detection Settings → Detection Confidence: sets weights
src/confidence.py - Detection Settings → Strip Profiles: sets strip range
src/strip_measurement.py - Inspection Dashboard → Operator: shows results
README.md