Updated the image processing to edge detect, including a GUI for setting the thresholds for calibration purposes