<commit_before>#include <cassert>
#include <iostream>
#include <fstream>
#include <sstream>

#include <TooN/helpers.h>
#include <TooN/Cholesky.h>
#include <TooN/se3.h>

#include <cvd/camera.h>
#include <cvd/convolution.h>
#include <cvd/videosource.h>
#include <cvd/gl_helpers.h>
#include <cvd/vision.h>
#include <cvd/image_io.h>
#include <cvd/image_interpolate.h>
#include <cvd/glwindow.h>
#include <cvd/random.h>
#include <cvd/timer.h>
#include <cvd/colourspaces.h>
#include <cvd/colourspace_convert.h>

using namespace std;
using namespace TooN;
using namespace CVD;

#include <X11/keysym.h>
#include <X11/Xlib.h>

#ifdef CVD_HAVE_QTBUFFER
typedef vuy422 CAMERA_PIXEL;
#else
typedef byte CAMERA_PIXEL;
#endif

VideoBuffer<CAMERA_PIXEL>* videoBuffer=0;

// global configuration variables, can be set via command line options
#ifdef CVD_HAVE_QTBUFFER
string videoDevice = "qt://0";
#else
string videoDevice = "v4l2:///dev/video0";
#endif

typedef Camera::SHarris CameraModel;
static const int NumCameraParams = CameraModel::num_parameters;

Vector<NumCameraParams> badVector()
{
	Vector<NumCameraParams> v;
	for(int i=0; i < NumCameraParams; i++)
		v[i] = -1;

	return v;<commit_msg>Revert calibrate to default to Quintic cameras<commit_after>#include <cassert>
#include <iostream>
#include <fstream>
#include <sstream>

#include <TooN/helpers.h>
#include <TooN/Cholesky.h>
#include <TooN/se3.h>

#include <cvd/camera.h>
#include <cvd/convolution.h>
#include <cvd/videosource.h>
#include <cvd/gl_helpers.h>
#include <cvd/vision.h>
#include <cvd/image_io.h>
#include <cvd/image_interpolate.h>
#include <cvd/glwindow.h>
#include <cvd/random.h>
#include <cvd/timer.h>
#include <cvd/colourspaces.h>
#include <cvd/colourspace_convert.h>

using namespace std;
using namespace TooN;
using namespace CVD;

#include <X11/keysym.h>
#include <X11/Xlib.h>

#ifdef CVD_HAVE_QTBUFFER
typedef vuy422 CAMERA_PIXEL;
#else
typedef byte CAMERA_PIXEL;
#endif

VideoBuffer<CAMERA_PIXEL>* videoBuffer=0;

// global configuration variables, can be set via command line options
#ifdef CVD_HAVE_QTBUFFER
string videoDevice = "qt://0";
#else
string videoDevice = "v4l2:///dev/video0";
#endif

typedef Camera::Quintic CameraModel;
static const int NumCameraParams = CameraModel::num_parameters;

Vector<NumCameraParams> badVector()
{
	Vector<NumCameraParams> v;
	for(int i=0; i < NumCameraParams; i++)
		v[i] = -1;

	return v;
{'fraction_non_alphanumeric': 0.13672363484785327, 'fraction_numerical': 0.012505210504376824, 'mean_word_length': 5.997084548104956, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 51, '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': '4696888', 'n_tokens_mistral': 981, 'n_tokens_neox': 930, 'n_words': 213}