Fix classify function
Fix classify function

Now facial recognition is only applied if requested and confidence is below minimal confidence or there are not surnames but they are required.

davidmogar/lexgen,davidmogar/lexgen