I have used "moving foreground from static background with colors" (opencv.js) method for extracting human bodies in a video stream.
When it comes to detect moving bodies this algorithm work well but if the body does not move, this algorithm does not work.
I decide to use haar cascades to solve this problem. How can I do foreground (human body) extraction with human body haar cascades?