<commit_before>#include <iostream>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
#include "EvmGdownIIR.hpp"
#include "Pulse.hpp"
#include "Window.hpp"
#include "profiler/Profiler.h"

using std::cout;
using std::endl;
using cv::VideoCapture;
using cv::VideoWriter;
using cv::waitKey;
using cv::flip;

static void writeVideo(VideoCapture& capture, const Mat& frame);

int main(int argc, const char** argv) {
    const bool shouldWrite = true;
//    const bool shouldFlip = true;
    const bool shouldFlip = false;

//    VideoCapture capture("../../vidmagSIGGRAPH2012/baby2_source.mp4");
//    VideoCapture capture("../../vidmagSIGGRAPH2012/face.wmv");
//    VideoCapture capture("../../vidmagSIGGRAPH2012/face2_source.mp4");
//    VideoCapture capture("../../vidmagSIGGRAPH2012/face_source.wmv");
//    VideoCapture capture("../../videos/eva.mov");
//    VideoCapture capture("../../videos/me-high-pulse.mov");
    VideoCapture capture("../../videos/me2.mov");
//    VideoCapture capture(0);

    const int WIDTH  = capture.get(CV_CAP_PROP_FRAME_WIDTH);
    const int HEIGHT = capture.get(CV_CAP_PROP_FRAME_HEIGHT);
    const double FPS = capture.get(CV_CAP_PROP_FPS);<commit_msg>Set webcam as default source on cpp project<commit_after>#include <iostream>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
#include "EvmGdownIIR.hpp"
#include "Pulse.hpp"
#include "Window.hpp"
#include "profiler/Profiler.h"

using std::cout;
using std::endl;
using cv::VideoCapture;
using cv::VideoWriter;
using cv::waitKey;
using cv::flip;

static void writeVideo(VideoCapture& capture, const Mat& frame);

int main(int argc, const char** argv) {
    const bool shouldWrite = false;
    const bool shouldFlip = true;

    VideoCapture capture(0);

    const int WIDTH  = capture.get(CV_CAP_PROP_FRAME_WIDTH);
    const int HEIGHT = capture.get(CV_CAP_PROP_FRAME_HEIGHT);
    const double FPS = capture.get(CV_CAP_PROP_FPS);
{'fraction_non_alphanumeric': 0.14578005115089515, 'fraction_numerical': 0.01381074168797954, 'mean_word_length': 4.541076487252124, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4379940', 'n_tokens_mistral': 688, 'n_tokens_neox': 664, 'n_words': 146}