From 18fdc6bf1c515d3de36ba3116a48c7a93ba6b9bb Mon Sep 17 00:00:00 2001 From: Alexandre Benoit Date: Wed, 25 Apr 2012 13:55:14 +0000 Subject: [PATCH] user can now use the default retia config auatogenerated file to test their own setup --- samples/cpp/retinaDemo.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/samples/cpp/retinaDemo.cpp b/samples/cpp/retinaDemo.cpp index b6a592370..c9fd9729e 100644 --- a/samples/cpp/retinaDemo.cpp +++ b/samples/cpp/retinaDemo.cpp @@ -47,6 +47,8 @@ int main(int argc, char* argv[]) { std::cout<<"* => reports comments/remarks at benoit.alexandre.vision@gmail.com"< more informations and papers at : http://sites.google.com/site/benoitalexandrevision/"< you can use this to fine tune parameters and load them if you save to file 'RetinaSpecificParameters.xml'"<write("RetinaDefaultParameters.xml"); + // load parameters if file exists + myRetina->setup("RetinaSpecificParameters.xml"); myRetina->clearBuffers(); + // declare retina output buffers cv::Mat retinaOutput_parvo; cv::Mat retinaOutput_magno;