npm-opencv-build
npm-opencv-build copied to clipboard
Missing contrib (saliency) when setting opencv version to 4.2.0
I specified the desired opencv version in package.json
like so:
"opencv4nodejs": {
"autoBuildOpencvVersion": "4.2.0"
}
Everything seems to build fine and the version in opencv-build/opencv/auto-build.json
is the expected 4.2.0
.
Unfortunately, I does not seem opencv_contrib
was built (saliency
is nowhere to be found).
I did a bit of digging and I'm wondering if this could be due to this line:
https://github.com/justadudewhohacks/npm-opencv-build/blob/master/src/constants.ts#L3
Apparently, the version of opencv_build downloaded is hard coded and autoBuildOpencvVersion
is not taken into account.
Can opencv_contrib 3.4.6 be used with opencv 4.2.0 or is the opencv build simply ignoring an incompatible version of opencv_contrib?