Ask Your Question

Revision history [back]

Updating of documentation (regarding reduce)

Hi, I have just started playing with opencv for Python, trying to do some simple calculations. I am using opencv-python v. 4.0.0.21 and Python v. 3.6.6 I found the documentation for the reduce function to be a bit lacking, and it cost me some time to get it working. So my question is if the documentation could be updated. Specifically that the documentation could state that the only output types that are supported by the function are; CV_32S, CV_32F, and CV_64F. Furthermore the rtype is no longer called CV_REDUCE_* but is now just REDUCE_* I would just like other people to not have to go through the same hassle I had to, to get it working. Many thanks for the awesome library!

Kind regards, Jan Vinther Christensen