         AccuracyLabel.text = "Accuracy (m): " + String(accuracy);
     }
     
-    func CancelSent(sender: AnyObject)
+    func TakePhotoPressed(sender: AnyObject)
+    {
+        imagePicker.allowsEditing = false;
+        imagePicker.sourceType = .Camera;
+        imagePicker.cameraCaptureMode = .Photo;
+        
+        presentViewController(imagePicker, animated: true) { () -> Void in
+            
+        }
+    }
+    
+    func CancelPressed(sender: AnyObject)
     {
         self.performSegueWithIdentifier("returnToHomeSegue", sender: nil);
     }

        HydrantImage.layer.borderWidth = 1;
        view.addSubview(HydrantImage);

        //Buttons
        let takePhotoButtonFrame = UIFormatHelper.GetFrameByPercent(0.05, yPercent: 0.87, widthPercent: 0.90, heightPercent: 0.10);
        TakePhotoButton = UIButton(frame: takePhotoButtonFrame);
        TakePhotoButton.setTitle("Take Photo", forState: UIControlState.Normal);

    {
        super.viewDidLoad()
        
        locationManager = AveragingLocationManager();
        locationManager!.locationAverageUpdated = self;
        
