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"));
 }
        public void NewOpeningAndRecognition()
        {
            ImageCollection.Clear();
            SingleClassLabelCollection.Clear();
            for (int i = 0; i <= 999; i++)
            {
                AllClassLabelsCollection[i].NumberOfTimes = 0;
            }

            ImageRecognitionInWPF();
        }