Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Creating Python bindings for missing functions

What is the correct way to create Python bindings for missing functions in OpenCV? For example, considering an already wrapped simple function (say cv::calcHist() in opencv/modules/imgproc/src/histogram.cpp) as an example:

  1. Could someone explain what code changes in which files? I just expect some simple examples and further references that I can look up myself.
  2. Are there any best practices to follow when writing Python bindings for OpenCV?

Thanks!

click to hide/show revision 2
retagged

updated 2013-11-28 02:18:49 -0600

berak gravatar image

Creating Python bindings for missing functions

What is the correct way to create Python bindings for missing functions in OpenCV? For example, considering an already wrapped simple function (say cv::calcHist() in opencv/modules/imgproc/src/histogram.cpp) as an example:

  1. Could someone explain what code changes in which files? I just expect some simple examples and further references that I can look up myself.
  2. Are there any best practices to follow when writing Python bindings for OpenCV?

Thanks!