Ask Your Question

Revision history [back]

Similar function to python module 'inspect'?

Hey There, python provides a module called 'inspect' which gives possibilities to retrieve function information, like number of arguments, type of arguments, and more. Unfortunately this doesn't cover imported modules implemeted in C. Parameters of a to-be-parsed C module can't be read. See python issues like http://bugs.python.org/issue1748064

My question is: Does OpenCV itself provide a similar function? I need to read arguments, eg. of cv2.Canny(...), to generate a GUI for user-friendly setting it's parameters.

Thank You