1 | initial version |
i somehow doubt, that this is a good idea, but technically it is not a problem.
you can #include <opencv2/highgui.hpp>
in the ecc.cpp code (before the namespace), but you also have to add a dependancy to the highgui lib so it looks like:
ocv_define_module(video opencv_imgproc opencv_highgui OPTIONAL opencv_calib3d WRAP java python js)
then you have to re-run cmake (mandatory, because you changed the module dependancies !) and rebuild the opencv libs.