summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-12 16:07:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-12 16:07:38 +0200
commita4262fce4a33053438fb94d32331aa27d44056c2 (patch)
tree24b497010e7c5befabfb0d3fb258626542f92e25
parent88f985ca34275fc1cc014c5b8fa618ca95233db7 (diff)
comments only
-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;