Opencv in Python scripts?

Hello,

the opencv library has some intersting features that can be useful for a Rhino’s user. (photogrammetry , 3d geometry reconstruction, pose estimation etc.).
I know that some wrapper for ironpython exist.
Has someone any idea where to found, how to install these libraries, and how to import them in the python ide of rhino ?
thank you
franco

2 Likes

I tried using OpenCV with Python for some image processing but have not tried it with Rhino. Are you looking for just installation on Windows? I found this link helpful: http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_setup/py_setup_in_windows/py_setup_in_windows.html

Hello,

I recently posted the following question about using an image processing library within Rhino python scripts:

http://discourse.mcneel.com/t/image-processing-library-integration-to-rhino-scikit-image-opencv-emgu-cv-etc/30375

Have you succeeded in using OpenCV directly from Rhino?

I’d like to integrate OpenCV or Emgu CV into IronPython/Rhino/Grasshopper.
Did you find a way to do it?

If you Google “OpenCV .NET” you’ll find that here are a few .NET wrappers for this, which is what you will need.

– Dale

Here is how to get Emgu into IronPython, http://www.emgu.com/wiki/index.php/Setting_up_Emgu_CV_and_IronPython

1 Like