A new patch-based LBP with adaptive weights for gender classification of human face