Re: D bindings for OpenCV

2013-10-17 Thread TJSomething
On Wednesday, 16 October 2013 at 08:56:26 UTC, John Colvin wrote: On Tuesday, 15 October 2013 at 21:51:06 UTC, Timothee Cour wrote: I've done it using swig, and using C++ api (not C api), as well as for other libs (sfml etc). it requires a bit of tweaking the '.i' file but is doable. Much bett

Re: D bindings for OpenCV

2013-10-16 Thread John Colvin
On Tuesday, 15 October 2013 at 21:51:06 UTC, Timothee Cour wrote: I've done it using swig, and using C++ api (not C api), as well as for other libs (sfml etc). it requires a bit of tweaking the '.i' file but is doable. Much better than hand maintaining c wrappers. Link? Or at least a how-to?

Re: D bindings for OpenCV

2013-10-15 Thread ponce
On Tuesday, 15 October 2013 at 19:20:10 UTC, TJSomething wrote: I know this has been asked a few times before, but that was a few years ago. Are there any reasonably complete and up to date OpenCV bindings for D? If not, are there any reasonably easy ways to generate them? I tried SWIG and it

Re: D bindings for OpenCV

2013-10-15 Thread TJSomething
Could you post those? On Tuesday, 15 October 2013 at 21:51:06 UTC, Timothee Cour wrote: I've done it using swig, and using C++ api (not C api), as well as for other libs (sfml etc). it requires a bit of tweaking the '.i' file but is doable. Much better than hand maintaining c wrappers. On T

Re: D bindings for OpenCV

2013-10-15 Thread Timothee Cour
I've done it using swig, and using C++ api (not C api), as well as for other libs (sfml etc). it requires a bit of tweaking the '.i' file but is doable. Much better than hand maintaining c wrappers. On Tue, Oct 15, 2013 at 2:08 PM, Dejan Lekic wrote: > On Tue, 15 Oct 2013 21:20:09 +0200, TJSom

Re: D bindings for OpenCV

2013-10-15 Thread Dejan Lekic
On Tue, 15 Oct 2013 21:20:09 +0200, TJSomething wrote: > I know this has been asked a few times before, but that was a few years > ago. Are there any reasonably complete and up to date OpenCV bindings > for D? > > If not, are there any reasonably easy ways to generate them? I tried > SWIG and it

Re: D bindings for OpenCV

2013-10-15 Thread Craig Dillabaugh
On Tuesday, 15 October 2013 at 20:41:58 UTC, TJSomething wrote: On Tuesday, 15 October 2013 at 20:33:59 UTC, Craig Dillabaugh wrote: I am a bit foggy on the diffence between openCL and openCV, but is this helpful: http://code.dlang.org/packages/derelict_extras-opencl OpenCL is more or less c

Re: D bindings for OpenCV

2013-10-15 Thread TJSomething
On Tuesday, 15 October 2013 at 20:33:59 UTC, Craig Dillabaugh wrote: I am a bit foggy on the diffence between openCL and openCV, but is this helpful: http://code.dlang.org/packages/derelict_extras-opencl OpenCL is more or less completely unrelated. OpenCV is about computer vision and OpenCL

Re: D bindings for OpenCV

2013-10-15 Thread Craig Dillabaugh
On Tuesday, 15 October 2013 at 19:20:10 UTC, TJSomething wrote: I know this has been asked a few times before, but that was a few years ago. Are there any reasonably complete and up to date OpenCV bindings for D? If not, are there any reasonably easy ways to generate them? I tried SWIG and it

Re: D bindings for OpenCV

2013-10-15 Thread John Colvin
On Tuesday, 15 October 2013 at 19:20:10 UTC, TJSomething wrote: I know this has been asked a few times before, but that was a few years ago. Are there any reasonably complete and up to date OpenCV bindings for D? If not, are there any reasonably easy ways to generate them? I tried SWIG and it

D bindings for OpenCV

2013-10-15 Thread TJSomething
I know this has been asked a few times before, but that was a few years ago. Are there any reasonably complete and up to date OpenCV bindings for D? If not, are there any reasonably easy ways to generate them? I tried SWIG and it choked on some of the macros they used, though that may have be