Computer Vision and Internet of Things Application to Enhance Pedestrian Safety