Ask Your Question

Using OpenCV in GNU Octave

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

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: 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

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

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


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 -0600 )edit

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

eykiriku gravatar imageeykiriku ( 2014-03-07 03:30:56 -0600 )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 -0600 )edit

Question Tools

1 follower


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

Seen: 3,221 times

Last updated: Nov 26 '13