[mythtv-commits] Ticket #13335: mythcommflag: add 3 settings to enhance logo detection
MythTV
noreply at mythtv.org
Fri Oct 19 19:42:38 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 | Keywords:
Ticket locked: 0 |
---------------------------------------+--------------------------
This ticket is related to the PR :
https://github.com/MythTV/mythtv/pull/172
My patch allows to spot where to lookup the logo.
* !CommDetectLogoLocation: Choices include N (North), S (South), E (East),
W (West). The direction you choose specifies where to lookup the logo.
* !CommDetectLogoWidthRatio: To specify the maximum width of the logo.
* !CommDetectLogoHeightRatio: To specify the maximum height of the logo.
_____________
For the french TV channels, the reliable method to flag commercials is by
logo detection. Unfortunately, the current method works fine if there is a
only one logo displayed. The CSA is the French public authority of
regulation of the audio-visual one. It adds another logo to protect
children against harmful program. Here is a example here ![1], the CSA
logo is located at the bottom right corner.
Below is my commercial flagging setup and it works very fine :
{{{
CommDetectLogoSamplesNeeded=240
CommDetectLogoSampleSpacing=15
CommDetectLogoLocation=NE
CommDetectLogoWidthRatio=6
CommDetectLogoHeightRatio=8
CommDetectLogoBorder=64
CommDetectLogoGoodEdgeThreshold=0.80
CommercialSkipMethod=4
}}}
[1] https://app.box.com/s/qwzowxodbcee0y05s6cejip75ukdrnta
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13335>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list