added supervised option to detect faces