hope this fix your issue Here, rows means "number of rows", which is essentially the same as height. Similarly, cols means "number of columns" and is just an alias for width. They are not necessarily aliases in other contexts, but as far as OpenCV is concerned they are treated as such. This is likely for backward compatibility reasons, as the official website lists only rows and cols. Furthermore, note that:
wish of those help You have to install OpenCV, just downloading it don't write correct paths to your system in a magical way. What Linux distribution do you use? the right way to install such things is to use package manager and repositories.
cmake finds path to opencv library but make does not find opencv function Rodrigues
Does that help Make sure you have installed openCV on your linux: OpenCV_INCLUDE_DIRS: /usr/local/anaconda3/envs/test-caffe/include/opencv;/usr/local/anaconda3/envs/test-caffe/include This above path is for opencv in python
Android: Using Opencv Library for beginner (Conver to opencv format)