[mythtv-commits] [MythTV/mythtv] c67ef9: Add 3 settings to enhance logo detection.

hamelg noreply at github.com
Tue Jan 24 21:59:41 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: c67ef9c3260981fbd0281990f3a546321e03c6c9
      https://github.com/MythTV/mythtv/commit/c67ef9c3260981fbd0281990f3a546321e03c6c9
  Author: Gilles Hamel <hamelg at laposte.net>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M mythtv/programs/mythcommflag/ClassicLogoDetector.cpp
    M mythtv/programs/mythcommflag/ClassicLogoDetector.h

  Log Message:
  -----------
  Add 3 settings to enhance logo detection.

. 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 heigth of the logo.


  Commit: 89e369e224df5af3f93b26b7f6dc03dd7070c831
      https://github.com/MythTV/mythtv/commit/89e369e224df5af3f93b26b7f6dc03dd7070c831
  Author: Gilles Hamel <hamelg at laposte.net>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M mythtv/programs/mythcommflag/ClassicLogoDetector.cpp
    M mythtv/programs/mythcommflag/ClassicLogoDetector.h

  Log Message:
  -----------
  Add 1 more setting to enhance logo detection.

CommDetectLogoMinPixels: The logo must contains more than min pixels.
Default is 0, it means this value is computed at runtime.
Must be used if the computed value is not suitable.
ie : the logo is not detected because too small.


  Commit: 56bcf1395b9a2261226eaa94a5eba85ee736a721
      https://github.com/MythTV/mythtv/commit/56bcf1395b9a2261226eaa94a5eba85ee736a721
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M mythtv/programs/mythcommflag/ClassicLogoDetector.cpp
    M mythtv/programs/mythcommflag/ClassicLogoDetector.h

  Log Message:
  -----------
  Default m_commDetectLogoMinPixels to 50.

This is instead of defaulting it to 0, and then testing for 0 and
replacing it with 50.


  Commit: 5ece4114883636e46b5cd64a16f4038ec00a07fc
      https://github.com/MythTV/mythtv/commit/5ece4114883636e46b5cd64a16f4038ec00a07fc
  Author: Gilles Hamel <hamelg at laposte.net>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M mythtv/programs/mythcommflag/ClassicCommDetector.cpp

  Log Message:
  -----------
  Abort flagging if no logo detected.

If method used is logo Detection and no logo is found then don't scan
the video.


Compare: https://github.com/MythTV/mythtv/compare/0d21b2ba4344...5ece41148836


More information about the mythtv-commits mailing list