<commit_before>/*
* FaceSpaceTracker.cpp
*
*  Created on: Jul 31, 2014
*      Author: <NAME>
*/


#include <iostream>
#include <stdio.h>
#include <fstream>

#include <string>

#include <ctime> // for time measurement
#include <math.h> // use constant_PI from here and sin

double constant_PI=3.14159265359;

// FaceSpaceTracker class, includes opencv
#include "FaceSpaceTracker.h"

using namespace std;
using namespace cv; // opencv



//namespace FaceSpaceTracker {
//
//FaceSpaceTracker::FaceSpaceTracker() {
//	// TODO Auto-generated constructor stub
//
//}
//
//FaceSpaceTracker::~FaceSpaceTracker() {
//	// TODO Auto-generated destructor stub
//}
//
//} /* namespace FaceSpaceTracker */

//=================================================================================================
//=================================================================================================
//=================================================================================================
/*
* This is a facetracking class by the use of a webcam that is set directly above the screen.
* Used to return the estimated Position of the eyes in 3D space
*
* The origin of its coordinate system is the center of the screen, unless you calibrate, then it is perpendicuar on the screen to where you calibrated it
* +X = Right
* +Y = Up
* -Z = Depth
* Everything is measured in millimeters
*
* The constructor reads the settings from the FaceSpaceTracker.cfg file
* To update the Tracking Position, do Objectname.updateTrackData();"
* and then get Objectname.getXhumanPosition() etc.
*
* eyeXrelation & eyeYrelation have default values .5,.4 to give the camera the center between your eyes,
* but it might be benificial for the 3d effect to push the x value towards the dominant eye of the user,
* eg. right dominant eye x=.7;
*
*
* */
//=================================================================================================
//=================================================================================================
//=================================================================================================


//=================================================================================================
//=================================================================================================<commit_msg>14.11 upload<commit_after>/*
* FaceSpaceTracker.cpp
*
*  Created on: Jul 31, 2014
*      Author: <NAME>
		Last upload: 14.11 (reads year, month)
*/


#include <iostream>
#include <stdio.h>
#include <fstream>

#include <string>

#include <ctime> // for time measurement
#include <math.h> // use constant_PI from here and sin

double constant_PI=3.14159265359;

// FaceSpaceTracker class, includes opencv
#include "FaceSpaceTracker.h"

using namespace std;
using namespace cv; // opencv



//namespace FaceSpaceTracker {
//
//FaceSpaceTracker::FaceSpaceTracker() {
//	// TODO Auto-generated constructor stub
//
//}
//
//FaceSpaceTracker::~FaceSpaceTracker() {
//	// TODO Auto-generated destructor stub
//}
//
//} /* namespace FaceSpaceTracker */

//=================================================================================================
//=================================================================================================
//=================================================================================================
/*
* This is a facetracking class by the use of a webcam that is set directly above the screen.
* Used to return the estimated Position of the eyes in 3D space
*
* The origin of the default coordinate system is at the camera lens itself. When you call for a full calibration the origin becomes the position of the face at the moment of calibration
* +X = Right
* +Y = Up
* -Z = Depth
* Everything is measured in millimeters
* Note that when launching the tracker, it will take a few runs to fill the smoothenings stack with data.
*
* The constructor reads the settings from the FaceSpaceTracker.cfg file
* To update the Tracking Position, do Objectname.updateTrackData();"
* and then get Objectname.getXhumanPosition() etc.
*
*
* */
//=================================================================================================
//=================================================================================================
//=================================================================================================


//=================================================================================================
//=================================================================================================
{'fraction_non_alphanumeric': 0.409258057538395, 'fraction_numerical': 0.010815487778498811, 'mean_word_length': 5.901492537313433, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '1834067', 'n_tokens_mistral': 1082, 'n_tokens_neox': 942, 'n_words': 369}