Just a small project. Any language / libaray is fine. You can probably find example code all over the net.
Program (windows EXE) will accept an input image as an argument. It will output PNGs of the human faces found in the input image. Everything other than the face should be transparent. It should include hair.
Most of the pictures will have a white background, so I expect it to perform okay.