Research Article
Edge Intelligence-Based OCS Fault Detection in Rail Transit Systems
Algorithm 1
Real-time monitoring interface.
Require: Images, videos, or live video in camera detection | Ensure: The detected OCS components and the total time | 1: def model_load: Model initialization | 2: def initUI(self): Interface initialization | 3: ifthen | 4: | 5: else | 6: | 7: | 8: end if | 9: whiledo | 10: ifthen | 11: | 12: | 13: else ifthen | 14: | 15: | 16: end if | 17: end while | 18: def closeEvent(self, event): | 19: def close_vid(self): | 20: Set tmp file to put the intermediate processing results | 21: sys.exit(app.exec()) |
|