Code for Third Video Sensing Assignment
My first step to complete this week's assignment was to modify the BestPixelTracker class so that when the user pressed the mouse click to select a particular pixel color to track, a jpg image would be created and FTPed to the server. Since I am currently learning perl, I figured that I could create a perl script that would receive the image and print it to a webpage. This seemed to be easier for proof of concept then trying to figure out how to email the image to flickr and have it post directly to the blog. Unfortunately, I ran into some problems getting the image to post to the server. This was the error I received:
IOException: Server returned HTTP response code: 500 for URL: http://itp.nyu.edu/~clc219/cgi-bin/UpLoad.php
Here is the BestPixelTracker modified: