Pedestrian detection using improved histogram of oriented gradients