New Algorithm Improves Speed And Accuracy Of Pedestrian Detection