Hello,
I am trying to build the OpenCV js bindings however, i think this may in fact be a cmake question.
Using the steps from here i am able to build the js bindings.
https://docs.opencv.org/3.3.1/d4/da1/tutorial_js_setup.html
I would like to add Features2D which has also been done with (https://github.com/ucisysarch/opencvjs which won't build as reliably as OpenCV.js, although i believe it is a the same project :S ).
Here is what i have tried.......
1) Change -DBUILD_opencv_features2d=ON
2) Add #include "opencv2/features2d.hpp" to the bindings.cpp
This produces a cmake output with.
-- OpenCV modules:
-- To be built: core features2d imgproc java_bindings_generator js python_bindings_generator video
-- Disabled: etc.etc.etc..
However,
When the make process occurs it reaches 100% but has not tried to build any Features2D modules. Each of the other steps were done i.e. .
[0%] ..... [86%] Building CXX object modules/imgproc/CMakeFiles/openv_imgproc.dir/src/tables.cpp.o ..... [99%] Generating bindings.cpp
Does anyone have any advice here on why the make process would not be building features2d? Is it dependent on another module that must be included?
Regards,
Daniel
LINKS
GSOC https://gist.github.com/pancx/2778b72090782b6e5b47af13a32b0d7d