a pedestrian detection system and method includes : dividing an image to a plurality of granules , and counting magnitude difference value of each granule in diagonal orientation to obtain features of hogg . and the hogg and the hog captured can work together to improve the detection rate and reduce the false alarm rate , which is the ultimate goal of the vision based pedestrian detection .