Abstract

Pedestrian detection is one of the most important applications of computer vision. In this paper, aiming at the problem of poor anti-interference ability of traditional codebook algorithm in the complex background and the cavity-prone problem of traditional frame difference method, a pedestrian detection algorithm integrating the optimized frame difference method and improved codebook is proposed. In this algorithm, a double code word structure is designed. An update mechanism is added to the code words in the codebook background modeling process and detection process, and improved double code word book algorithm based on YUV color space is designed to realize the real-time background update function. After that, bilateral filtering is added to the traditional three-frame difference method to further remove the noise. At the same time, the extracted rectangular region is used for filling operation and morphological processing to obtain the corresponding foreground image. Finally, the foreground image of codebook model and the foreground image of frame difference method are calculated with “and”, “different or” and “or” of pixels to obtain the precise region of moving target. The experimental results show that this algorithm combines the advantages of the two methods and abandons the disadvantages of each method in the detection prospect. It can accurately detect moving targets and has good robustness. The effectiveness of this algorithm is also verified by experiments.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call