<commit_before>#include <iostream>
#include <opencv2/opencv.hpp>
#include <stdio.h>

using namespace std;
using namespace cv;

int main() {
    Mat frame;
    VideoCapture cap("frame_%06d.jpg");

    VideoWriter writer("created.avi", CV_FOURCC('M','J','P','G'), 30, Size(640, 360));
    int i = 0;
    while(1) {
        cout << i << endl;
        i++;
        cap >> frame;
        if (frame.empty())
            break;
        writer.write(frame);
    }
    return 0;
}
<commit_msg>Added code to create videos from images<commit_after>#include <iostream>
#include <opencv2/opencv.hpp>
#include <stdio.h>

using namespace std;
using namespace cv;

int main() {
    Mat frame;
    VideoCapture cap("webframe%06d.jpg");

    VideoWriter writer("webcam_created.avi", CV_FOURCC('M','J','P','G'), 30, Size(640, 480));
    int i = 0;
    while(1) {
        cout << i << endl;
        i++;
        cap >> frame;
        if (frame.empty())
            break;
        writer.write(frame);
    }
    return 0;
}

{'fraction_non_alphanumeric': 0.16350947158524426, 'fraction_numerical': 0.027916251246261216, 'mean_word_length': 2.547703180212014, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 13, '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': '4976492', 'n_tokens_mistral': 370, 'n_tokens_neox': 345, 'n_words': 86}