June 2016
Beginner to intermediate
304 pages
6h 24m
English
SIFT feature detector is good in many cases. However, when we build object recognition systems, we may want to use a different feature detector before we extract features using SIFT. This will give us the flexibility to cascade different blocks to get the best possible performance. So, we will use the Star feature detector in this case to see how to do it.
import sys import cv2 import numpy as np
class StarFeatureDetector(object):
def __init__(self):
self.detector = cv2.xfeatures2d.StarDetector_create()