Detection method and device of parking against rules
暂无分享,去创建一个
The invention provides a detection method of parking against rules. The detection method of the parking against the rules comprises the following steps: appointing a forbidden parking area of each frame of image in a collected video sequence; conducting a prospect detection to detect a goal of the prospect; following the detected goal to judge whether a target enters into the forbidden parking area, if yes, painting a color histogram within the range of the forbidden parking area, if no, conducting the detection continuously;and monitoring the duration of the color histogram after the color histogram changes to judge whether the duration is longer than the preset time, if yes, judging that a car against the rules parks in the forbidden parking area, if no, no car against the rules parks in the forbidden parking area. The invention further provides a detection device of parking against the rules. The detection device comprises an appointing module, a prospect detection module, a following module, a painting module and a judging module. The detection method and the device of parking against the rules can effectively achieve the automatic detection of the parking against the rules.