A clean and professional web interface for real-time industrial process monitoring with AI-powered anomaly detection.
- Start/Stop Controls - Easy monitoring control with visual status indicators
- Live Data Generation - Synthetic data generated every 10 seconds
- Auto-refresh Interface - Real-time updates without manual refresh
- Clean, Professional UI - Modern design with intuitive layout
- Real-time Sensor Plots - Interactive Plotly charts for temperature and pressure
- Multi-panel Analysis - Complete industrial process visualization
- Live Data Updates - Charts update automatically with new data
- Automatic Anomaly Detection - AI analysis runs with each cycle
- New Trends Alerts - Visual notifications when new patterns are detected
- Detailed Analysis Reports - Full AI insights with expandable view
- Quick Summaries - Key findings highlighted for rapid assessment
- Activity Log - Real-time status messages and system events
- Cycle Counter - Track monitoring cycles and intervals
- System Metrics - Current data counts and update timestamps
- Error Handling - Graceful error reporting and recovery
pip install -r requirements.txt# Option 1: Using the launcher script
streamlit run streamlit_app.py- URL: http://localhost:8501
- Browser: Opens automatically
- Click "๐ Start Monitoring" button
- System begins generating data every 10 seconds
- Watch real-time updates in all panels
- AI analysis runs automatically with each cycle
- Left Panel: System status and activity log
- Center Panel: Real-time data visualizations
- Right Panel: AI analysis results and alerts
- Click "๐ Stop Monitoring" button
- Current cycle completes gracefully
- All generated data remains available
- Can restart monitoring anytime
- Frontend: Streamlit web framework
- Backend: Python pipeline integration
- Threading: Background monitoring worker
- State Management: Streamlit session state
- Visualization: Plotly interactive charts
- Background Thread runs monitoring cycles
- Data Generation creates synthetic industrial data
- Visualization generates analysis plots
- AI Analysis processes plots for anomalies using the LFM2-VL models
- UI Updates refresh automatically via session state
- 10-second Cycles - Configurable monitoring interval
- Automatic Archiving - All data preserved with timestamps
- Memory Efficient - Background thread management
- Error Recovery - Graceful handling of failures
- Events Data: Temperature, Pressure, Efficiency, Energy, COโ
- Sensor Data: HeatExchanger01.S001, PumpStation01.S002
- Time Series: 20 data points per cycle with 5-minute intervals
data/
โโโ events.csv # Latest event data
โโโ sensors.csv # Latest sensor data
โโโ archive/ # Timestamped archives
images/
โโโ culprit_signals_analysis.png # Latest visualization
โโโ archive/ # Timestamped archives
analysis/
โโโ analysis_report.txt # Latest AI analysis
โโโ archive/ # Timestamped archives
# Kill existing streamlit processes
pkill -f streamlit
# Or use different port
streamlit run streamlit_app.py --server.port 8502# Install missing dependencies
pip install -r requirements.txt- Check MLX-VLM installation
- Verify model download permissions
- Ensure sufficient system memory
- Close unused browser tabs for better performance
- Monitor system resources during continuous operation
- Use Chrome/Firefox for best compatibility
- Enable hardware acceleration in browser settings
- Seamless: Uses existing pipeline modules
- Non-intrusive: Doesn't modify core pipeline
- Parallel: Can run alongside command-line tools
- Compatible: Works with all existing features
- REST Endpoints: Could be extended with FastAPI
- WebSocket: Real-time data streaming capability
- Mobile App: Foundation for native mobile interface
- Dashboard Embedding: Can be embedded in larger systems
- Historical Data Viewer - Browse archived analyses
- Custom Alerts - User-defined anomaly thresholds
- Export Functions - Download reports and data
- Multi-user Support - Role-based access control
- Advanced Filtering - Data exploration tools
- WebSocket Integration - True real-time updates
- Database Backend - Persistent data storage
- Caching Layer - Improved performance
- Mobile Optimization - Enhanced mobile experience
- Industrial Engineers - Real-time process monitoring
- Data Scientists - Anomaly detection research
- System Operators - Live system oversight
- Managers - High-level process insights
- Students - Learning industrial monitoring concepts