Crop Image from Camera in Swift moving to another ViewController


I've create a custom camera over that i've added a viewController that users can move or resize. when take photo i want have only the piece that is in the red square. How can I do it?

Crop Image from Camera in Swift moving to another ViewController
 
 
Q