head detection with opencv and python