SURF Tracker

## SURF Tracker:

Matches keypoints from the template image and the current frame. flann based matcher is used to match the keypoints. Density based clustering is used classify points as in-region (of bounding box) and out-region points. Using in-region points, new bounding box is predicted using k-means.

sklearn and scipy used.

### Usage:

     # Some method to get Bounding box from the user
     img, bb1 = getBBFromUser(cam,d) # This is not part of SimpleCV
     fs1=[]
     while True:
          try:
              img1 = cam.getImage()
              fs1 = img1.track("surf",fs1,img,bb1)
              fs1.drawBB(color=Color.RED)
              fs1[-1].drawTrackerPoints()
              print fs1[-1].getBB()
              img1.show()
          except KeyboardInterrupt:
              break