Arrangement, method and program for detecting facial parts position