A Design of a Digital Lockout Tagout System with Machine Learning