diff options
author | Jochen Dolze <vdr@dolze.de> | 2011-03-09 20:32:52 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2011-03-09 20:32:52 +0100 |
commit | a9829b55f99465d6194de0e8e8fb648d24d79317 (patch) | |
tree | a6e4c0900c1b160e0ce291658157c4160f69fcaa /command/video.cpp | |
parent | 94039853e1047a10d66363f6986ad70ceee88b43 (diff) | |
download | vdr-plugin-markad-a9829b55f99465d6194de0e8e8fb648d24d79317.tar.gz vdr-plugin-markad-a9829b55f99465d6194de0e8e8fb648d24d79317.tar.bz2 |
Decreased cutval in logo detection
Added italian translation from Diego Pierotto
Added slovak translation from Milan Hrala
Added logos from Dominic Evans
Added logo from Copperhead
Diffstat (limited to 'command/video.cpp')
-rw-r--r-- | command/video.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/command/video.cpp b/command/video.cpp index ffb24cf..31d0bdc 100644 --- a/command/video.cpp +++ b/command/video.cpp @@ -223,8 +223,8 @@ int cMarkAdLogo::SobelPlane(int plane) } int boundary=6; - int cutval=127; - //int cutval=60; + //int cutval=127; + int cutval=32; int width=LOGOWIDTH; if (plane>0) @@ -335,13 +335,13 @@ int cMarkAdLogo::Detect(int framenumber, int *logoframenumber) } if (extract) return LOGO_NOCHANGE; if (!processed) return LOGO_ERROR; - +#if 0 if (processed==1) { if ((area.intensity>100) || (area.status!=LOGO_VISIBLE) && (area.intensity>180)) return LOGO_NOCHANGE; } - +#endif int ret=LOGO_NOCHANGE; if (area.status==LOGO_UNINITIALIZED) { |