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);
}