userRecognized = dr.Field<String>("UserName");
userDetected = true;
Is this the correct logic to recognize a face? What my understanding is, I get the face data buffer of a person from db and use it in the SetDatabaseBuffer. Then calling face.QueryRecognition(); will check the DatabaseBuffer and compare and recognize. Is it right? If wrong can anyone please guide me here?