SJTU-ViSYS/FeatureBooster

There was a problem with testing the SIFT feature

HZY12345 opened this issue · 2 comments

There was a problem with testing the SIFT feature

Closed due to no longer being active. Can be reopened at any time.

In Sift.py, the extract function return two numpy.ndarray.

def extract(self, *args, **kwargs): # real signature unknown; restored from _doc_
"""
extract(*args, **kwargs)
Overloaded function.

    1. extract(self: pycolmap.Sift, image: numpy.ndarray[numpy.uint8[m, n], flags.c_contiguous]) -> Tuple[numpy.ndarray[numpy.float32[m, 4]], numpy.ndarray[numpy.float32[m, n]]]
    
    2. extract(self: pycolmap.Sift, image: numpy.ndarray[numpy.float32[m, n], flags.c_contiguous]) -> Tuple[numpy.ndarray[numpy.float32[m, 4]], numpy.ndarray[numpy.float32[m, n]]]
    """
    pass

But in dog.py, keypoints, scores, descriptors = self.sift.extract(img). Only two values were returned, while the code expects it to return three values.
image