A real-time data processing tool for USB CMOS detector-based spectrometers that runs entirely in the browser. This tool provides live spectrum visualization, data analysis, and export capabilities.
- Real-time spectrum visualization from USB camera input
- Two-point wavelength calibration system
- Interactive spectrum display with zoom and pan
- Data export in CSV format
- Frame capture and download capabilities
- QE (Quantum Efficiency) correction support
- Support for both live video and static image analysis
- Modern web browser with WebRTC support
- USB CMOS camera/spectrometer
- Recommended resolution: 1920x1080 pixels
- Connect your USB spectrometer/camera
- Open index.html in a modern web browser
- Select your camera from the dropdown
- Perform wavelength calibration using known spectral lines
- Start analyzing your spectrum
- Camera Interface: Handles USB camera input and frame capture
- Image Processor: Converts raw frame data to spectral information
- Spectragraph: Manages spectrum visualization and interaction
- Recording Manager: Handles data recording and export functions
- Select camera source
- Set region of interest (ROI)
- Perform wavelength calibration
- View real-time spectrum
- Input known wavelength points (e.g., 405.4nm and 611.6nm)
- Mark corresponding pixel positions
- Apply calibration
- Export spectrum data as CSV
- Download individual frames as PNG
- Record video with spectral data
The project is structured in modules:
camera.js
: Camera input handlingimageProcessor.js
: Frame processing and analysisspectragraph.js
: Spectrum visualizationmain.js
: Application coordinationrecordingManager.js
: Data recording and export
MIT