> OK, I just tried flagging a channel I usually don't flag, and the logo
> was detected even without a first frame logo. But the first frame
> behaviour really is the case for at least two of my channels.
> 
> Can you point me to any threshold values in the code I can change and
> experiment with?

In commercial_skip.cpp, look at the following values:


CommDetect::CommDetect()
        logoGoodEdgeThreshold
        logoBadEdgeThreshold - these are the range for determining if the
                               number of edges detected in a logo area indicate
                                                   a logo is probably ther.

CommDetect::SearchForLogo()
        edgeDiffs[] - this is the difference in pixel values that deteremines
                      if an edge exists.  The logo detection code first tries
                                  with the first value in the array and then 
tries each of
                                  the others until a logo is detected.

        look for "(pixelsInMask > 50))" and bump that down if you want, that
        determines the number of edge

-- 

Chris

_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to