Research of Pedestrian Traffic Parameter Extraction Algorithm