On Thursday, 4 April 2019 at 23:53:08 UTC, Arun Chandrasekaran 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.

Good work.

Can you please mention about the version of Ubuntu you developed it on? Also looks like you have committed the cmake temporary build directory to git, you may want to git rm. :)

Thank you for appreciation. It is Ubuntu 18.04.2 LTS 64 bit. I built opencv 4 from source, it somehow did not create a pkgconfig file. I manually created one in /usr/lib/pkgconfig/opencv.pc:

prefix=/usr/local
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${exec_prefix}/lib

Name: opencv
Description: The foo library
Version: 4.0.0
Cflags: -I${includedir}/opencv4
Libs: -L${libdir} -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_videoio -lopencv_video -lopencv_calib3d -lopencv_features2d -lopencv_face -lopencv_datasets -lopencv_freetype -lopencv_objdetect -lopencv_img_hash -lopencv_xfeatures2d -lopencv_tracking


Reply via email to