Hello! I would like to use Go CV with my minimal version of open CV.
Description
I don't require all of extra features in OpenCV, like the DNN or GUI libraries. They tend to bloat my docker image. So I've compiled OpenCV in my Docker image with the following flags
The issue I'm running into when I try to compile my go project with GoCV is that I am missing header files like:
#23 22.02 # gocv.io/x/gocv
#23 22.02 In file included from dnn.cpp:1:
#23 22.02 dnn.h:8:10: fatal error: opencv2/dnn.hpp: No such file or directory
#23 22.02 8 | #include <opencv2/dnn.hpp>
#23 22.02 | ^~~~~~~~~~~~~~~~~
#23 22.02 compilation terminated.
Is there a way to use GoCV without all the extra stuff that I don't need? I also saw that there is support for custom environments by using -tags customenv in my build script, however this does not resolve my problem.
Hello! I would like to use Go CV with my minimal version of open CV.
Description
I don't require all of extra features in OpenCV, like the DNN or GUI libraries. They tend to bloat my docker image. So I've compiled OpenCV in my Docker image with the following flags
The issue I'm running into when I try to compile my go project with GoCV is that I am missing header files like:
Is there a way to use GoCV without all the extra stuff that I don't need? I also saw that there is support for custom environments by using
-tags customenv
in my build script, however this does not resolve my problem.