def duplicateFrame(frame, count):
    """
    Duplicate a single frame, multiple times
    :param frame: the frame
    :param count: Number of times to duplicate
    :return: Generator
    """
    for i in range(count):
        yield frame
