diff --git a/EyeRecToo/src/EyeImageProcessor.h b/EyeRecToo/src/EyeImageProcessor.h index c1f70a5d3e5f1a9224e0d7aec3d007ea20d08819..bdb0b083f6a5b4a85e2171f60542c6f5408629bf 100644 --- a/EyeRecToo/src/EyeImageProcessor.h +++ b/EyeRecToo/src/EyeImageProcessor.h @@ -49,7 +49,7 @@ public: , tracking(true) , roi(0.0f, 0.0f, 1.f, 1.f) , minPupilDiameterRatio(0.0f) - , maxPupilDiameterRatio(0.0f) + , maxPupilDiameterRatio(0.27f) { } diff --git a/EyeRecToo/src/FrameGrabber.cpp b/EyeRecToo/src/FrameGrabber.cpp index 8064d86c4c567b5727ed9f0488eda432fde27fbd..a3c9619b7a3790bf56bc08c06dd03fdbadb76ccb 100644 --- a/EyeRecToo/src/FrameGrabber.cpp +++ b/EyeRecToo/src/FrameGrabber.cpp @@ -87,6 +87,8 @@ bool FrameGrabber::present(const QVideoFrame& frame) */ Timestamp t = ns2ms(gTimer.nsecsElapsed()); + /* TODO: Disabled for the time being; the number of samples here should be + * better adjusted otherwise we risk getting the offset wrong const QString tMetaStr = "timestamp"; if (frame.metaData(tMetaStr).isValid()) { Timestamp ft = qvariant_cast(frame.metaData(tMetaStr)); @@ -98,6 +100,7 @@ bool FrameGrabber::present(const QVideoFrame& frame) } t = ft + timestampOffset; } + */ if (!frame.isValid()) return false; diff --git a/EyeRecToo/src/GazeEstimation.h b/EyeRecToo/src/GazeEstimation.h index 7f844d0437d4972dd1a12da28526031aa9491c9c..11a2d3570c4349376e11a482490d394a8888c20e 100644 --- a/EyeRecToo/src/GazeEstimation.h +++ b/EyeRecToo/src/GazeEstimation.h @@ -87,7 +87,7 @@ public: , pupilOutlineOutliers(true) , pupilDiameterOutliers(true) , inputType(GazeEstimationMethod::BINOCULAR) - , gazeEstimationMethod("POLY_X_Y_XY_XX_YY_XYY_YXX_XXYY") + , gazeEstimationMethod("BIPOLY_X_Y_XY_XX_YY_XYY_YXX_XXYY") , visualize(true) , visualizationTimeS(5) , showVirtualMarker(false)