summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/gain-control.hpp5
-rw-r--r--facetracknoir/plugin-support.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/facetracknoir/gain-control.hpp b/facetracknoir/gain-control.hpp
index 5958e945..081d4b6f 100644
--- a/facetracknoir/gain-control.hpp
+++ b/facetracknoir/gain-control.hpp
@@ -1,5 +1,7 @@
#pragma once
+/* still WIP, not usable yet! -sh 20141012 */
+
#include <algorithm>
#undef NDEBUG
#include <cassert>
@@ -163,7 +165,7 @@ public:
if (history_timer.elapsed_ms() > GAIN_HISTORY_EVERY_MS)
{
- const double cov = get_covariance(frame, last_frame);
+ //const double cov = get_covariance(frame, last_frame);
history_timer.start();
last_frame = frame.clone();
@@ -174,6 +176,7 @@ public:
if (debug_timer.elapsed_ms() > 1000)
{
const double mu = mean(frame);
+ // XXX move to HSL/HSV color space for it to work! -sh 20141012
const double var = get_variance(frame, mu);
debug_timer.start();
diff --git a/facetracknoir/plugin-support.h b/facetracknoir/plugin-support.h
index c3914cfb..b539d152 100644
--- a/facetracknoir/plugin-support.h
+++ b/facetracknoir/plugin-support.h
@@ -45,7 +45,7 @@ private:
};
-// TODO it can die if running tracker state separated into class -sh 20141004
+// XXX TODO it can die if running tracker state separated into class -sh 20141004
class IDynamicLibraryProvider {
public:
virtual DynamicLibrary* current_tracker1() = 0;