diff options
Diffstat (limited to 'command/video.cpp')
-rw-r--r-- | command/video.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/command/video.cpp b/command/video.cpp index e51bd51..8dc509c 100644 --- a/command/video.cpp +++ b/command/video.cpp @@ -644,6 +644,7 @@ bool cMarkAdOverlap::areSimilar(simpleHistogram &hist1, simpleHistogram &hist2) { similar+=abs(hist1[i]-hist2[i]); } + //printf("%6i\n",similar); if (similar<similarCutOff) return true; return false; } @@ -658,6 +659,7 @@ MarkAdPos *cMarkAdOverlap::Detect() { for (int A=start; A<histcnt[AFTER]; A++) { + //printf("%6i %6i ",histbuf[BEFORE][B].framenumber,histbuf[AFTER][A].framenumber); bool simil=areSimilar(histbuf[BEFORE][B].histogram,histbuf[AFTER][A].histogram); if (simil) { |