Example #1
0
    def __init__(self):
        Detector.__init__(self, DetectorType.ORB)

        self._n_features = self.DEFAULT_N_FEATURES
        self._scale_factor = self.DEFAULT_SCALE_FACTOR
        self._n_levels = self.DEFAULT_N_LEVELS
        self._edge_threshold = self.DEFAULT_EDGE_THRESHOLD
        self._first_level = self.DEFAULT_FIRST_LEVEL
        self._wta_k = self.DEFAULT_WTA_K
        self._score_type = self.DEFAULT_SCORE_TYPE
        self._patch_size = self.DEFAULT_PATCH_SIZE
Example #2
0
    def __init__(self):
        Detector.__init__(self, DetectorType.SIFT)

        # SIFT is not free and a licence should be obtained if using for commercial purposes
        self._is_non_free = True

        self._n_features = self.DEFAULT_N_FEATURES
        self._n_octave_layers = self.DEFAULT_N_OCTAVE_LAYERS
        self._contrast_threshold = self.DEFAULT_CONTRAST_THRESHOLD
        self._edge_threshold = self.DEFAULT_EDGE_THRESHOLD
        self._sigma = self.DEFAULT_SIGMA
Example #3
0
    def __init__(self):
        Detector.__init__(self, DetectorType.SURF)

        # SURF is not free and a licence should be obtained if using for commercial purposes
        self._is_non_free = True

        self._hessian_threshold = self.DEFAULT_HESSIAN_THRESHOLD
        self._n_octaves = self.DEFAULT_N_OCTAVES
        self._n_octave_layers = self.DEFAULT_N_OCTAVE_LAYERS
        self._extended = self.DEFAULT_EXTENDED
        self._upright = self.DEFAULT_UPRIGHT
Example #4
0
    def __init__(self):
        Detector.__init__(self, DetectorType.MSER)

        self._delta = self.DEFAULT_DELTA
        self._min_area = self.DEFAULT_MIN_AREA
        self._max_area = self.DEFAULT_MAX_AREA
        self._max_variation = self.DEFAULT_MAX_VARIATION
        self._min_diversity = self.DEFAULT_MIN_DIVERSITY
        self._max_evolution = self.DEFAULT_MAX_EVOLUTION
        self._area_threshold = self.DEFAULT_AREA_THRESHOLD
        self._min_margin = self.DEFAULT_MIN_MARGIN
        self._edge_blur_size = self.DEFAULT_EDGE_BLUR_SIZE
    def __init__(self):
        Detector.__init__(self, DetectorType.BRISK)

        self._thresh = self.DEFAULT_THRESH
        self._octaves = self.DEFAULT_OCTAVES
        self._pattern_scale = self.DEFAULT_PATTERN_SCALE