mirror of https://github.com/opencv/opencv.git
I noticed that I missed the fact that `cimg` is used in the second `imshow()` call. Changed the scope of the second function call to be within the if-statement. Otherwise in cases where have not been detected the second `imshow()` will attempt to use `cimg` which will be empty leading to an error.pull/6622/head
parent
25e2e8aa3c
commit
c5bbc0353c
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue