Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thiago Santini
EyeRecToo
Commits
32aed23a
Commit
32aed23a
authored
Sep 24, 2018
by
Thiago Santini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disables frame grabber offset estimation
Also changes default calibration method and maximum pupil size
parent
d895f90b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
EyeRecToo/src/EyeImageProcessor.h
EyeRecToo/src/EyeImageProcessor.h
+1
-1
EyeRecToo/src/FrameGrabber.cpp
EyeRecToo/src/FrameGrabber.cpp
+3
-0
EyeRecToo/src/GazeEstimation.h
EyeRecToo/src/GazeEstimation.h
+1
-1
No files found.
EyeRecToo/src/EyeImageProcessor.h
View file @
32aed23a
...
...
@@ -49,7 +49,7 @@ public:
,
tracking
(
true
)
,
roi
(
0.0
f
,
0.0
f
,
1.
f
,
1.
f
)
,
minPupilDiameterRatio
(
0.0
f
)
,
maxPupilDiameterRatio
(
0.
0
f
)
,
maxPupilDiameterRatio
(
0.
27
f
)
{
}
...
...
EyeRecToo/src/FrameGrabber.cpp
View file @
32aed23a
...
...
@@ -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<Timestamp>(frame.metaData(tMetaStr));
...
...
@@ -98,6 +100,7 @@ bool FrameGrabber::present(const QVideoFrame& frame)
}
t = ft + timestampOffset;
}
*/
if
(
!
frame
.
isValid
())
return
false
;
...
...
EyeRecToo/src/GazeEstimation.h
View file @
32aed23a
...
...
@@ -87,7 +87,7 @@ public:
,
pupilOutlineOutliers
(
true
)
,
pupilDiameterOutliers
(
true
)
,
inputType
(
GazeEstimationMethod
::
BINOCULAR
)
,
gazeEstimationMethod
(
"POLY_X_Y_XY_XX_YY_XYY_YXX_XXYY"
)
,
gazeEstimationMethod
(
"
BI
POLY_X_Y_XY_XX_YY_XYY_YXX_XXYY"
)
,
visualize
(
true
)
,
visualizationTimeS
(
5
)
,
showVirtualMarker
(
false
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment