Introduction The detection and segmentation of moving objects is a challenging task in computer vision. It faces many challenges, such as object occlusion, variation of light intensity, camera angle, distortion, etc. In addition to these challenges, the detection and segmentation of moving objects is also computationally expensive. …