private void start_Click(object sender, EventArgs e) { if (faceDir.Text != "") { trainer = Trainer.build(faceDir.Text); } }
public static Trainer build(String path) { var tr = new Trainer(); tr.walk(path); return tr; }
public Form1() { InitializeComponent(); trainer = new Trainer(); }