/// <summary> /// Metoda dodaje jedna twarz do listy. 1 jak sie uda /// -1 jak sie nie uda /// </summary> private int addSingleFace(String picDir, String _name, String _folderName, int _index, int _folderIndex) { Face twarz = new Face(); twarz = InputHelper.FacePreparation(picDir, _name, _folderName, _index, twarz, _folderIndex); Faces.Add(twarz); return(1); }
/// <summary> /// Metoda dodaje jedna twarz do listy. 1 jak sie uda /// -1 jak sie nie uda /// </summary> private int addSingleFace(String picDir, String name, String folderName, int folderIndex, bool testing) { Face twarz = new Face(); twarz = InputHelper.FacePreparation(picDir, name, folderName, folderIndex, twarz); if (testing) { testingFaces.Add(twarz); } else { learningFaces.Add(twarz); } return(1); }