In a moving object detection system, an edge image is generated from
captured images taken by CCD cameras and a moving object distance image
indicative of a distance to a moving object (such as a human being) is
generated by extracting pixel corresponding thereto. Then, pixels in the
moving object distance image are summed to generate a histogram and a
profile extraction region is set in the moving object distance image with
its center line focusing on a position whose histogram is greatest, while
the edge image is superposed on the moving object distance image to
correct the center line of the profile extraction region such that the
moving object is detected by extracting its profile in the region. With
this, it becomes possible to detect the moving objects respectively even
when the two or more objects are present in neighborhood.