def filter_results(min_score, scores, classes):
    """
	Returns tuple (scores, classes) for all scores above min_score

	Input: scores for each classe detected and the minimum score threshold

	Ouput: Tuple of filtered (scores, classes)`

    """

    n = len(classes)
    idxs = []
    for i in range(n):
        if scores[i] >= min_score:
            idxs.append(i)

    filtered_scores = scores[idxs, ...]
    filtered_classes = classes[idxs, ...]
    
    return filtered_scores, filtered_classes