def mftest():
    cam = Camera()
    img = cam.getImage()
    d = Display(img.size())
    bb1 = getBBFromUser(cam,d)
    fs1=[]
    img = cam.getImage()
    while True:
        try:
            img1 = cam.getImage()
            fs1 = img1.track("mftrack",fs1,img,bb1, numM=10, numN=10, winsize=10)
            print fs1[-1].shift, "shift"
            fs1.drawBB(color=(255,0,0))
            fs1.drawPath()
            img1.show()
        except __HOLE__:
            break
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/examples/tracking/mftrack.py/mftest