Ask Your Question
0

Using OpenCV in GNU Octave

asked 2013-11-25 19:26:58 -0500

Mehrnoush gravatar image

Hello there,

Can anyone please provide some insight into finding/generating OpenCV wrappers to be used in Octave?

I have found some older webpages that talk about this, but haven't been able to figure it out!

In this page: http://octave-swig.sourceforge.net/octave-opencv.html It says for the latest release that : "3/27/08: These bindings have been integrated into OpenCV. Latest sources are now available only from OpenCV CVS."

But OpenCV 2.4.6 doesn't have support for Octave. It appears that at some point (OpenCV 2.1) there was a "build with octave support" option in the cmake file of OpenCV. But that option doesn't exist in cmakelists.txt that comes with OpenCV anymore!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-11-26 04:34:33 -0500

As I know, Mathlab/Octave bindings were merget to OpenCV master. All 2.4.x releases were done from branch 2.4. You need to get OpenCV source code from Github and build master branch by your hands.

edit flag offensive delete link more

Comments

Thanks for the tip! I managed to find the module in the opencv master that contains code generators to produce matlab mex wrappers. However, it only works if there is a Matlab installation on the host system. In my case, I only have an isntallation of Octave not Matlab. Can you help me figure out what I need to change to get Octave bindings?

Mehrnoush gravatar imageMehrnoush ( 2013-11-26 13:59:47 -0500 )edit

Hey, did you find a viable way of using OpenCV from Octave?

eykiriku gravatar imageeykiriku ( 2014-03-07 03:30:56 -0500 )edit

Unfortunately I have never use Matlab bindings, so I cannot help with it.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2014-03-14 07:29:03 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-11-25 19:26:58 -0500

Seen: 2,530 times

Last updated: Nov 26 '13