<commit_before>#include "FrameStreamViewer.hpp"

namespace RhIO
{
FrameStreamViewer::FrameStreamViewer(const std::string& name) : _name(name)
{
}

void FrameStreamViewer::start()
{
  cv::namedWindow(_name);
}

void FrameStreamViewer::stop()
{
  cv::destroyWindow(_name);
}

void FrameStreamViewer::pushFrame(const cv::Mat& frame)
{
  cv::imshow(_name, frame);
  cv::imwrite("/tmp/out.png", frame);<commit_msg>FrameStreamViewer can now be resized<commit_after>#include "FrameStreamViewer.hpp"

namespace RhIO
{
FrameStreamViewer::FrameStreamViewer(const std::string& name) : _name(name)
{
}

void FrameStreamViewer::start()
{
  cv::namedWindow(_name, cv::WINDOW_NORMAL);
}

void FrameStreamViewer::stop()
{
  cv::destroyWindow(_name);
}

void FrameStreamViewer::pushFrame(const cv::Mat& frame)
{
  cv::imshow(_name, frame);
  cv::imwrite("/tmp/out.png", frame);
{'fraction_non_alphanumeric': 0.15930232558139534, 'fraction_numerical': 0.0, 'mean_word_length': 7.785714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1661477', 'n_tokens_mistral': 306, 'n_tokens_neox': 306, 'n_words': 48}