Pedestrian Detection Based on Multi-scale HOG Features and Integral Images