We need a tool for version checks. There are just so many functions which are not available in older versions. And there is nothing in 2.3. We need to add some function which would just check if the opencv module has that function (sadly, with that set of parameter(because parameters are different too)) or not. OpenCV is rolling out new versions like firefox but with a lot of bug fixes and new functions.
Agreed for OpenCV, should probably happen in a decorator per function, although all other python based dependencies should live in the requirements.txt file.
We need a tool for version checks. There are just so many functions which are not available in older versions. And there is nothing in 2.3. We need to add some function which would just check if the opencv module has that function (sadly, with that set of parameter(because parameters are different too)) or not. OpenCV is rolling out new versions like firefox but with a lot of bug fixes and new functions.