std::cout<<"* Retina demonstration : demonstrates the use of is a wrapper class of the Gipsa/Listic Labs retina model."<<std::endl;
std::cout<<"* This demo will try to load the file 'RetinaSpecificParameters.xml' (if exists).\nTo create it, copy the autogenerated template 'RetinaDefaultParameters.xml'.\nThen twaek it with your own retina parameters."<<std::endl;
// basic input arguments checking
if(argc<2)
{
help("bad number of parameter");
return-1;
}
booluseLogSampling=!strcmp(argv[argc-1],"log");// check if user wants retina log sampling processing
std::stringinputMediaType=argv[1];
// declare the retina input buffer... that will be fed differently in regard of the input media
cv::MatinputFrame;
cv::VideoCapturevideoCapture;// in case a video media is used, its manager is declared here