1 | initial version |
This error happens because you may end up sending invalid values into a function of OpenCV. Since your code is simple enough, I'll suggest that you look at the different input parameters for function calls and make sure that they are correct.