New and Unofficial OpenCV binding for D programming language
Ferhat Kurtulmuş
aferust at gmail.com
Fri Apr 5 13:19:22 UTC 2019
On Friday, 5 April 2019 at 07:56:42 UTC, Paolo Invernizzi wrote:
> On Thursday, 4 April 2019 at 23:08:21 UTC, Ferhat Kurtulmuş
> wrote:
>> Hi folks!
>>
>> D is awesome, but it is a shame that there is no any opencv
>> bindings for d yet. Actually we have it now :) Although I am a
>> new dlang learner, I dared to do it:
>> https://github.com/aferust/opencvd. C interface was taken from
>> gocv, and the implementation has been highly influenced by
>> gocv (maybe it is better to make git submodule it, since gocv
>> project is being updated very often?). I admit that it is far
>> from being a complete binding, but it is a beginning. I invite
>> you lovely and pro dlang community to grow it. I did not want
>> to add it to code.dlang.org before it become a better binding.
>
> Nice!
>
> Version 3.x has an internal pointer in the mat struct, is that
> changed with 4.x?
>
> - Paolo
It still has it, if you what you mean:
Mat Mat_FromArrayPtr(int rows, int cols, int type, void* data){
return new cv::Mat(rows, cols, type, data);
}
More information about the Digitalmars-d-announce
mailing list