<div dir="ltr">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.<div>
<div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 15, 2013 at 2:08 PM, Dejan Lekic <span dir="ltr"><<a href="mailto:dejan.lekic@gmail.com" target="_blank">dejan.lekic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, 15 Oct 2013 21:20:09 +0200, TJSomething wrote:<br>
<br>
> I know this has been asked a few times before, but that was a few years<br>
> ago. Are there any reasonably complete and up to date OpenCV bindings<br>
> for D?<br>
><br>
> If not, are there any reasonably easy ways to generate them? I tried<br>
> SWIG and it choked on some of the macros they used, though that may have<br>
> been because I had no idea what I was doing.<br>
<br>
</div></div>Should be easy to write wrapper around the OpenCV C API...<br>
</blockquote></div><br></div>