Ejemplo n.º 1
0
 public void CollectionFilter(AllClassLabels classLabelElement)
 {
     foreach (ImagePathClassLabelProbability element in ImageCollection.Where(image => image.ClassLabel == classLabelElement.ClassLabel))
     {
         SingleClassLabelCollection.Add(new SingleClassLabel()
         {
             Image = element.Image
         });
     }
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("SingleClassLabelCollection"));
 }
Ejemplo n.º 2
0
        public void NewOpeningAndRecognition()
        {
            ImageCollection.Clear();
            SingleClassLabelCollection.Clear();
            for (int i = 0; i <= 999; i++)
            {
                AllClassLabelsCollection[i].NumberOfTimes = 0;
            }

            ImageRecognitionInWPF();
        }