摘要 |
The present invention relates to a system and method for detecting a vehicle. The present vehicle detection system includes: a camera that photographs an image ahead of a vehicle; a region-of-interest setting unit that sets a region-of-interest, on the basis of the maximum distance at which a preceding vehicle can be detected, in the image photographed by the camera; an edge detection unit that detects an edge from an image in which the region-of-interest is set and generates a horizontal binary image and a vertical binary image; a first candidate group detection unit that detects a bottom surface candidate group relating to a preceding vehicle from the horizontal binary image and detects a side surface candidate group relating to the preceding vehicle from the vertical binary image; a second candidate group detection unit, when one of a pair of side surface candidate groups and bottom surface candidate groups relating to the pair of side surface candidate groups is not detected, configured to estimate the side surface candidate groups or bottom surface candidate groups and generate a vehicle candidate group; and a vehicle detection unit that filters the vehicle candidate group and detects the preceding vehicle. Therefore, even when all of vehicles are not perfectly photographed, a vehicle candidate group of a preceding vehicle can be generated, and the preceding vehicle can thus be more precisely detected. Therefore, the present invention can, as needed, give a warning to a driver or automatically apply the brake, and thus secure the safety of a driver. |