@@ -0,0 +1,1025 @@
+from SimpleCV import *%0Aimport time%0A%0Acam = Camera()%0A%0Atry:%0A    while True:%0A%0A        t0 = time.time()%0A        %0A        img = cam.getImage()   %0A%0A        topCropH = 60%0A        img = img.resize(w = 200)%0A        img = img.crop(0, topCropH, img.width, img.height - topCropH)%0A%0A    ##    img.show()%0A    ##    time.sleep(.5)%0A%0A        jaune = Color.hueToBGR(74)%0A        iBin = img.hueDistance(color = jaune, minsaturation = 150)%0A        iBin = iBin.binarize(40)%0A    ##    iBin.show()%0A    ##    time.sleep(.5)%0A%0A        blobs = iBin.findBlobs()%0A##        iBin.show()%0A##        blobs.show()%0A##        print blobs%0A%0A        if blobs is not None:%0A            blobs.sortArea()%0A            verre = blobs%5B0%5D%0A            x, y = verre.centroid()%0A            print x - img.width / 2%0A            dl = img.dl()%0A            verre.drawRect(layer = dl, color = (0, 255, 0), width = 2)%0A%0A        img.show()%0A%0A        dt = time.time() - t0%0A        if dt %3C .1:%0A            time.sleep(.1 -dt)    ##    time.sleep(3)%0A%0Aexcept KeyboardInterrupt:%0A    print %22Fin%22%0A%0A

Test file to try camera tracking parameters