Skip to content
Snippets Groups Projects
Commit 2b106f09 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add console init outputs

parent f103b463
No related branches found
No related tags found
No related merge requests found
...@@ -160,12 +160,14 @@ static void run(const string &file) { ...@@ -160,12 +160,14 @@ static void run(const string &file) {
} }
int main(int argc, char **argv) { int main(int argc, char **argv) {
std::cout << "FTL Vision Node " << FTL_VERSION_LONG << std::endl;
auto paths = ftl::configure(argc, argv, "vision"); auto paths = ftl::configure(argc, argv, "vision");
config["paths"] = paths; config["paths"] = paths;
// Choose normal or middlebury modes // Choose normal or middlebury modes
if (config["middlebury"]["dataset"] == "") { if (config["middlebury"]["dataset"] == "") {
std::cout << "Loading..." << std::endl;
run((paths.size() > 0) ? paths[0] : ""); run((paths.size() > 0) ? paths[0] : "");
} else { } else {
ftl::middlebury::test(config); ftl::middlebury::test(config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment