Commit 9c41bfeb authored by Thiago Santini's avatar Thiago Santini

Fix Tracking was always being set by default at startup

parent e1e51461
...@@ -13,6 +13,9 @@ EyeImageProcessor::EyeImageProcessor(QString id, QObject* parent) ...@@ -13,6 +13,9 @@ EyeImageProcessor::EyeImageProcessor(QString id, QObject* parent)
availablePupilDetectionMethods.push_back(std::make_shared<PuRe>()); availablePupilDetectionMethods.push_back(std::make_shared<PuRe>());
availablePupilDetectionMethods.push_back(std::make_shared<ElSe>()); availablePupilDetectionMethods.push_back(std::make_shared<ElSe>());
availablePupilDetectionMethods.push_back(std::make_shared<ExCuSe>()); availablePupilDetectionMethods.push_back(std::make_shared<ExCuSe>());
availablePupilTrackingMethods.push_back(std::make_shared<PuReST>());
#ifdef STARBURST #ifdef STARBURST
availablePupilDetectionMethods.push_back(std::make_shared<Starburst>()); availablePupilDetectionMethods.push_back(std::make_shared<Starburst>());
#endif #endif
...@@ -23,9 +26,6 @@ EyeImageProcessor::EyeImageProcessor(QString id, QObject* parent) ...@@ -23,9 +26,6 @@ EyeImageProcessor::EyeImageProcessor(QString id, QObject* parent)
updateConfig(); updateConfig();
pmIdx = gPerformanceMonitor.enrol(id, "Image Processor"); pmIdx = gPerformanceMonitor.enrol(id, "Image Processor");
availablePupilTrackingMethods.push_back(std::make_shared<PuReST>());
pupilTrackingMethod = availablePupilTrackingMethods[0];
} }
void EyeImageProcessor::updateConfig() void EyeImageProcessor::updateConfig()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment