renaming and removed an obsolete statement

pull/3471/head
kallaballa 2 years ago
parent 108206b6e6
commit 38e0fe08ca
  1. 7
      modules/v4d/samples/optflow-demo.cpp

@ -437,12 +437,11 @@ static bool iteration() {
downPrevGrey = downNextGrey.clone();
window->fb([&](cv::UMat& frameBuffer){
cv::resize(foreground, foreground, frameBuffer.size());
window->fb([&](cv::UMat& framebuffer){
//Put it all together (OpenCL)
composite_layers(background, foreground, frameBuffer, frameBuffer, GLOW_KERNEL_SIZE, fg_loss, background_mode, post_proc_mode);
composite_layers(background, foreground, framebuffer, framebuffer, GLOW_KERNEL_SIZE, fg_loss, background_mode, post_proc_mode);
#ifndef __EMSCRIPTEN__
cvtColor(frameBuffer, menuFrame, cv::COLOR_BGRA2RGB);
cvtColor(framebuffer, menuFrame, cv::COLOR_BGRA2RGB);
#endif
});

Loading…
Cancel
Save