I am working on a project that requires finding people in the scene.
Initially, after starting the HOG detector on the initial frames, a certain background object was detected as a person in all frames, which gave me 3021 false positive results.
So, I took a logical step to remove the static background by applying a background subtracter (BackgroundSubtractorMOG2) to all frames. The resulting frames looked like this:

Then these mask images were added (using bitwise_and) to the original image so that the white pixels were replaced by the pixels that make up the person.
Example:

Then I launched the HOG detector on these images, which gave the following results:

, - . , , HOG .
- , ? ?