Ask Your Question
0

Is it possible to use OpenCV from the Excel/VBA programming environment ?

asked 2016-06-30 19:11:49 -0600

shodan gravatar image

Is it possible to use OpenCV from the Excel/VBA programming environment ?

I could not find documentation on the net about this.

Usually extra libraries are added from the VBA IDE in Tools->References using what excel's documentation calls "Object libraries". They are supposed to be .olb files but I see many .dll files in there.

Another way that it could be using from inside VBA is by using the "lib" parameter of function declaration.

For example

Public Declare Function EnableWindow Lib "user32.dll" (ByVal hWnd As Long, ByVal fEnable As Long) As Long

Here user32.dll would be some opencv dll and each function in that dll would be declared.

Is such a thing even possible ?

thanks !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-01 01:30:06 -0600

berak gravatar image

no, unfortunately this is not possible.

opencv moved to c++ half a decade ago, thus you cannot map to vb functions like in your example any more.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-06-30 19:11:49 -0600

Seen: 2,016 times

Last updated: Jun 30 '16