mirror of
https://github.com/opencv/opencv.git
synced 2026-11-16 14:27:47 -06:00
The Python bindings are generated from these C++ headers, so the output image parameter of drawKeypoints(), drawMatches() and drawMatchesKnn() is a mandatory positional argument there. Nothing in the documentation told Python users that passing None is allowed and makes OpenCV allocate and return the output image. Add a @note to each of the three functions documenting this, matching the existing "For Python API" note style. drawMatchesKnn had no documentation block at all, so one is added as an @overload carrying the note. Documentation only; no functional change. Fixes #14461