Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Creating Python interface for new openCV code (gPb image segmentation)

Last year someone wrote code that performs the Berkley gPb image segmentation algorithm in OpenCV (https://github.com/HiDiYANG/gPb-GSoC). As far as I know it hasn't made it into the OpenCV main codebase yet, but I'd like to use it in my OpenCV python code. 1. I've read http://docs.opencv.org/trunk/doc/py_tutorials/py_bindings/py_bindings_basics/py_bindings_basics.html but I can't work out if I need to alter CMakeLists.txt in opencv-2.4.8.2/modules/python/, if I simply run opencv-2.4.8.2/modules/python/src2/gen2.py on my modified c++ header files (which seems to do nothing), or quite what. 2. Are there plans to implement the gPb algorithm in upcoming releases? There seem to be no followups to http://code.opencv.org/issues/2728, even though it seems like quite a lot of the work has been done by Di Yang in the github repository above.

Creating Python interface for new openCV code (gPb image segmentation)

Last year someone wrote code that performs the Berkley gPb image segmentation algorithm in OpenCV (https://github.com/HiDiYANG/gPb-GSoC). As far as I know it hasn't made it into the OpenCV main codebase yet, but I'd like to use it in my OpenCV python code. 1. code.

  1. I've read http://docs.opencv.org/trunk/doc/py_tutorials/py_bindings/py_bindings_basics/py_bindings_basics.html http://docs.opencv.org/trunk/doc/py_tutorials/py_bindings/py_bindings_basics/py_bindings_basics.html but I can't work out if I need to alter CMakeLists.txt in opencv-2.4.8.2/modules/python/, if I I simply run opencv-2.4.8.2/modules/python/src2/gen2.py opencv-2.4.8.2/modules/python/src2/gen2.py on my modified c++ header files files (which seems to do nothing), or quite what. 2. what.
  2. Are there plans to implement the gPb algorithm in upcoming releases? releases? There seem to be no followups to http://code.opencv.org/issues/2728, http://code.opencv.org/issues/2728, even though it seems like quite a lot of the work has been done by Di Di Yang in the github repository above.

click to hide/show revision 3
Added relevant question to point 1

Creating Python interface for new openCV code (gPb image segmentation)

Last year someone wrote code that performs the Berkley gPb image segmentation algorithm in OpenCV (https://github.com/HiDiYANG/gPb-GSoC). As far as I know it hasn't made it into the OpenCV main codebase yet, but I'd like to use it in my OpenCV python code.

  1. I've read http://docs.opencv.org/trunk/doc/py_tutorials/py_bindings/py_bindings_basics/py_bindings_basics.html but I can't work out if I need to alter CMakeLists.txt in opencv-2.4.8.2/modules/python/, if I simply run opencv-2.4.8.2/modules/python/src2/gen2.py on my modified c++ header files (which seems to do nothing), or quite what.what. Is there a list somewhere of steps to follow to produce openCV python bindings for new C++ code?
  2. Are there plans to implement the gPb algorithm in upcoming releases? There seem to be no followups to http://code.opencv.org/issues/2728, even though it seems like quite a lot of the work has been done by Di Yang in the github repository above.

Creating Python interface for new openCV code (gPb image segmentation)

Last year someone wrote code that performs the Berkley gPb image segmentation algorithm in OpenCV (https://github.com/HiDiYANG/gPb-GSoC). As far as I know it hasn't made it into the OpenCV main codebase yet, but I'd like to use it in my OpenCV python code.

  1. I've read http://docs.opencv.org/trunk/doc/py_tutorials/py_bindings/py_bindings_basics/py_bindings_basics.html but I can't work out if I need to alter CMakeLists.txt in opencv-2.4.8.2/modules/python/, if I simply run opencv-2.4.8.2/modules/python/src2/gen2.py on my modified c++ header files (which seems to do nothing), or quite what. Is there a list somewhere of steps to follow to produce openCV python bindings for new C++ code?
  2. Are there plans to implement the gPb algorithm in upcoming releases? There seem to be no followups to http://code.opencv.org/issues/2728, even though it seems like quite a lot of the work has been done by Di Yang in the github repository above.