// test.cc - Programme de test du NN // nono - Programme du robot Efrei Robotique I1-I2 2004 // Copyright (C) 2004 Olivier Gaillard #include "img.h" #include "segmNN.h" #include "segmTh.h" #include "oconfig.h" #include "group.h" #include "space.h" #include using namespace std; int main(int argc, char **argv) { Img img; OConfig config("rc/vision.conf"); system("rm -Rf NN && mkdir NN"); if (argv[1]) img.ReadRaw(argv[1]); else img.ReadRaw("palet.jpg"); img.RGBtoYUV(); SegmNN segmNN(&img, &config); segmNN.TestNN(); }