From 4977a9b3f45a7f4359b743bb239426e8d323e233 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Thu, 4 Apr 2019 08:48:50 +0300 Subject: [PATCH] Fix for stupid bug --- cv-node/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cv-node/src/main.cpp b/cv-node/src/main.cpp index 76efb5973..2db3b03c8 100644 --- a/cv-node/src/main.cpp +++ b/cv-node/src/main.cpp @@ -135,7 +135,7 @@ static void run(const string &file) { // Choose and configure disparity algorithm auto disparity = Disparity::create(config["disparity"]); - Mat l, r, disparity; + Mat l, r, disp; Display display(calibrate, config["display"]); @@ -151,10 +151,10 @@ static void run(const string &file) { sync->get(ftl::LEFT, l); sync->get(ftl::RIGHT, r); - disparity->compute(l, r, disparity); + disparity->compute(l, r, disp); // Send RGB+Depth images for local rendering - display.render(l, disparity); + display.render(l, disp); // streamer.send(l, disparity32F); } -- GitLab