Cropping with Python and OpenCV to get passport ratio photos

I forgot to mention, i am just using it to detect a single face as the picture will only have a single face