Face detection from opencv offical demo.