cropping a square from the webcam (assuming w>h)

Salut Pierre,

Instead of just resizing to square, this first crops the webcam to a centered square. No deformation => better performance for demos with the webcam. :)

Cheers,
Gabriel