<commit_before>#pragma once

#include "types/process_filter.h"

namespace TooManyPeeps {

  class BackgroundExtractor : public ProcessFilter {

    private:
      static const bool TRACK_SHADOWS = false;

    private:
      cv::Ptr<cv::BackgroundSubtractor> backgroundExtractor;

    public:
      BackgroundExtractor(const cv::Mat& original, cv::Mat& result, int historySize, double threshold);
      ~BackgroundExtractor(void);

    public:
      virtual void execute(void);
  };

};<commit_msg>Allow mog to track shadows<commit_after>#pragma once

#include "types/process_filter.h"

namespace TooManyPeeps {

  class BackgroundExtractor : public ProcessFilter {

    private:
      static const bool TRACK_SHADOWS = true;

    private:
      cv::Ptr<cv::BackgroundSubtractor> backgroundExtractor;

    public:
      BackgroundExtractor(const cv::Mat& original, cv::Mat& result, int historySize, double threshold);
      ~BackgroundExtractor(void);

    public:
      virtual void execute(void);
  };

};
{'fraction_non_alphanumeric': 0.09542743538767395, 'fraction_numerical': 0.0, 'mean_word_length': 3.960591133004926, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3829461', 'n_tokens_mistral': 295, 'n_tokens_neox': 282, 'n_words': 72}