How radmm/localjsr works
H2S Badge Reader is a local browser app for estimating hydrogen-sulfide badge exposure from photos. Its main workflow captures a badge, samples and corrects its colors against printed references, rejects poor-quality readings, estimates dose, and saves a record for display. The README documents these stages; the excerpts show image processing, analysis, and local record storage, but omit most event-handler wiring. The separate Swing example in Main.java does not appear to belong to this product.
Main entry points: app.js Local records · index.html Badge interface
Components 11
Capture and sampling
- Badge interface
index.html - Capture flow
app.js
Color analysis
- Frame sampling
app.js - Reference correction
app.js - Quality gate
app.js - Dose estimation
app.js
Records and review
- Local records
app.js - Results display
app.js - Exposure comparison
app.js
Other components
- Operator
- Device camera
Connections 10
- Operator → Badge interface: uses
README.md - Badge interface → Capture flow: starts capture
- Device camera → Capture flow: provides frames
- Capture flow → Frame sampling: samples frames
README.md - Frame sampling → Reference correction: provides samples
README.md - Reference correction → Quality gate: checks residual
README.md - Quality gate → Dose estimation: accepts reading
README.md - Dose estimation → Local records: saves record
README.md - Local records → Results display: displays record
app.js - Local records → Exposure comparison: compares records
app.js