From a4262fce4a33053438fb94d32331aa27d44056c2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 12 Oct 2014 16:07:38 +0200 Subject: comments only --- facetracknoir/gain-control.hpp | 5 ++++- facetracknoir/plugin-support.h | 2 +- 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 #undef NDEBUG #include @@ -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; -- cgit v1.2.3