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

Fix for stupid bug

parent d78c5f40
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
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