Machine learning and neural networks can be used to control security at various stages of production and beyond.
For example, the use of computer vision to automatically track the presence of uniforms (helmets, vests, safety belts), control the presence of people in the danger zone, observe safety precautions when unloading, unloading, etc.
When facts of safety violations are detected, sound, light or other alarms can be turned on, machines and mechanisms can be forcibly stopped. All violations are recorded in a journal for further analysis and the sanctions provided for by it.