[mythtv-commits] Ticket #13335: mythcommflag: add 3 settings to enhance logo detection
MythTV
noreply at mythtv.org
Fri Oct 26 19:22:00 UTC 2018
#13335: mythcommflag: add 3 settings to enhance logo detection
-----------------------------------+------------------------------
Reporter: hamelg | Owner: cpinkham
Type: Patch - Feature | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - Mythcommflag | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-----------------------------------+------------------------------
Comment (by warpme):
Hi,
This is excellent idea as here in Poland we have exactly the same
regulation and by this logo detection totally fails in Poland for me.
I remember, I asked for feature of defining logo placement in algorithm 5
or 6 years ago... now I see You implemented this and this is fantastic.
I applied Your patch to current master, add in DB settings params as You
listed in this ticket and tried commflaging.
Test was on SD channel where logo is in right upper cornet (place is quite
similar to mkv You provided; pls see yellow "16" in
http://pasteall.org/pic/4519418035b37f4ae264eeac9152d83d).
commflag cmd line is following:
{{{
mythcommflag --loglevel debug --verbose commflag --jobid 102750
--outputfile /var/log/ --outputmethod full --logpath /var/log/
}}}
Unfortunately in /var/log/mythcommflag log I see:
{{{
2018-10-26 20:45:01.094213 I [26042/26042] CoreContext
ClassicLogoDetector.cpp:152 (searchForLogo) - Analyzing edge data
2018-10-26 20:45:01.096810 I [26042/26042] CoreContext
ClassicLogoDetector.cpp:286 (SetLogoMaskArea) - SetLogoMaskArea()
2018-10-26 20:45:01.098608 I [26042/26042] CoreContext
ClassicLogoDetector.cpp:286 (SetLogoMaskArea) - SetLogoMaskArea()
2018-10-26 20:45:01.100435 I [26042/26042] CoreContext
ClassicLogoDetector.cpp:224 (searchForLogo) - Testing Logo area: topleft
(714,570), bottomright (5,5)
2018-10-26 20:45:01.100449 I [26042/26042] CoreContext
ClassicLogoDetector.cpp:270 (searchForLogo) - Rejecting Logo area: topleft
(714,570), bottomright (5,5), pixelsInMask (0). Not within specified
limits.
2018-10-26 20:45:01.100984 N [26042/26042] CoreContext
ClassicLogoDetector.cpp:277 (searchForLogo) - No suitable logo area found.
}}}
so probably DB params are wrong or I'm doing wrongly something else...
BTW: is there a way to get better logo detection debugging (or losing
whole detection process)?
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13335#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list