def lktest():
    cam = Camera()
    img = cam.getImage()
    d = Display(img.size())
    img, bb1 = getBBFromUser(cam,d)
    fs1=[]
    while True:
        try:
            img1 = cam.getImage()
            fs1 = img1.track("lk",fs1,img,bb1, maxCorners = 5000, qualityLevel = 0.08, winSize = (15, 15))
            fs1.drawBB(color=Color.RED)
            print fs1[-1].getBB()
            img1.show()
        except __HOLE__:
            break
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/examples/tracking/lk.py/lktest