Exemple #1
0
class Search(object):

    def __init__(self):
        self.dumper = Dumper()
        self.query = Query()

    def search_image(self, img, bow_hist, color_hist, metric, sketch):
        return self.query.query_image(img, bow_hist, color_hist, self.dumper.get_img_data(), self.dumper.get_voc_data(), metric, sketch)
Exemple #2
0
 def __init__(self):
     self.dumper = Dumper()
     self.query = Query()