Enhanced safety implementation in 5S + 1 via object detection algorithms