Added edge detection to camera, and worked on orientations