-
Notifications
You must be signed in to change notification settings - Fork 18
Description
IMO providing good integration with opencv will be key to dcv's success. The idea is to get quickly to a point where dcv has enough features to be useful for production use without waiting for opencv algorithms to be reimplemented. Some of these algorithms can in a later stage, if needed, be reimplemented as drop-in replacement for the opencv ones, maybe in some cases without changing public APIs.
I have done something like this using SWIG to auto-generate wrappers for a large portion of opencv (intermediate layer) along with higher-level idiomatic D layer and a tensor class that could be (shallow copy) converted to/from cv::Mat_.
For dcv one could either use swig or take advantage of the newer extern(C++,ns)
syntax, and provide shallow conversion from Slice to/from cv::Mat_.
Happy to discuss this further.