Advanced pedestrian detection using YOLO and R-CNN with pose estimation, movement prediction, and safety zone analysis