def getTopNMatches(self,image,n=3, blobFilter = True):
        n = np.clip(n,1,len(self.labels))
        points,descriptors,count,matchDict,matchStd = self._buildMatchDict(image,blobFilter)
        best_matches = list(sorted(matchDict, key=matchDict.__getitem__))
        retList = []
        for k in best_matches:
            retList.append((k,matchDict[k]))
        return retList[0:n], matchDict, matchStd
Processes form data to get relevant entries & date_headers.
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/MachineLearning/ShapeContextClassifier.py/ShapeContextClassifier.getTopNMatches--crossover with--dataset/ETHPy150Open caktus/django-timepiece/timepiece/reports/views.py/ReportMixin.get_context_data