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?
I specified the desired opencv version in
package.jsonlike so:Everything seems to build fine and the version in
opencv-build/opencv/auto-build.jsonis the expected4.2.0.Unfortunately, I does not seem
opencv_contribwas built (saliencyis 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
autoBuildOpencvVersionis 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?