A method for optimizing the performance of an algorithm for detecting
predetermined content in a media information stream, and a program and
apparatus that operate in accordance with the method. The algorithm is a
function of a set of parameters. The method comprises the steps of
performing the algorithm at least once to detect the predetermined
content in the media information stream, while employing a respective set
of parameters in the algorithm for each performance thereof, and
automatically evolving at least one respective set of parameters employed
in the algorithm to maximize the degree of accuracy at which the
algorithm detects the predetermined content in the media information
stream.