Commit ad9c379a authored by Alexandre Benoit's avatar Alexandre Benoit

fixed warning

parent 45c49d80
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include "opencv2/videoio.hpp" #include "opencv2/videoio.hpp"
#include "opencv2/highgui.hpp" #include "opencv2/highgui.hpp"
#include <iostream> #include <iostream>
#include <cstring>
// main function // main function
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
...@@ -36,13 +37,11 @@ int main(int argc, char* argv[]) { ...@@ -36,13 +37,11 @@ int main(int argc, char* argv[]) {
std::cout<<" NOTE : this program generates the default retina parameters file 'RetinaDefaultParameters.xml'"<<std::endl; std::cout<<" NOTE : this program generates the default retina parameters file 'RetinaDefaultParameters.xml'"<<std::endl;
std::cout<<" => you can use this to fine tune parameters and load them if you save to file 'RetinaSpecificParameters.xml'"<<std::endl; std::cout<<" => you can use this to fine tune parameters and load them if you save to file 'RetinaSpecificParameters.xml'"<<std::endl;
if (strcmp(argv[1], "help"){ if (strcmp(argv[1], "help")==0){
std::cout<<"No help provided for now, please test the retina Demo for a more complete program"<<std::endl; std::cout<<"No help provided for now, please test the retina Demo for a more complete program"<<std::endl;
} }
} }
bool useLogSampling = !strcmp(argv[argc-1], "log"); // check if user wants retina log sampling processing
std::string inputMediaType=argv[1]; std::string inputMediaType=argv[1];
// declare the retina input buffer. // declare the retina input buffer.
cv::Mat inputFrame; cv::Mat inputFrame;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment