def camshift():
    cam = Camera()
    img = cam.getImage()
    d = Display(img.size())
    bb1 = getBBFromUser(cam,d)
    fs1=[]
    while True:
        try:
            img1 = cam.getImage()
            fs1 = img1.track("camshift",fs1,img,bb1,num_frames=5, nframes=60, lower=(0, 40, 40), upper=(80, 200, 200))
            fs1.drawBB()
            fs1.drawPath()
            fs1.showCoordinates()
            fs1.showSizeRatio()
            fs1.showPixelVelocity()
            fs1.showPixelVelocityRT()
            img1.show()
        except __HOLE__:
            print "Total number of frames tracked",
            print fs1.trackLength()
            print fs1.processTrack(foo)
            break
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/examples/tracking/camshift.py/camshift