face = New HaarCascade("haarcascade_frontalface_default.xml") 'Try Dim Labelsinfo As String = File.ReadAllText(Application.StartupPath & "/TrainedFaces/TrainedLabels.txt") Dim Labels As String() = Labelsinfo.Split("%"c) NumLabels = Convert.ToInt16(Labels(0)) ContTrain = NumLabels Dim LoadFaces As String For tf As Integer = 1 To NumLabels + 1 - 1 LoadFaces = "face" & tf & ".bmp" trainingImages.Add(New Image(Of Gray, Byte)(Application.StartupPath & "/TrainedFaces/" & LoadFaces)) Labels.Add(Labels(tf)) Next
For tf As Integer = 1 To NumLabels + 1 - 1
Labels
Add
name1 = recognizer.Recognize(result)
result
Quote:Can anybody give reason and solution in simple form.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)