rectangle detection with webcam