Open opencv4nodejs opened 2 years ago
please try using @u4/opencv4nodejs
this version will be merged to opencv4nodejs
soon.
but for that, we need more feedback.
@UrielCh, thank you very much for working on your fork. Using @u4/opencv4nodejs and @u4/opencv-build solved all my setup problems on Windows.
Hi, Great news for those people that do not want to build their OpenCV: I published @u4/opencv4nodejs V 6.2.4 today,
This version autodetects the common setup path for Brew on Mac, Chocolatey on Windows, and Apt on Linux.
Windows:
choco install opencv
Mac:
brew install opencv
debian:
apt -y install libopencv-contrib-dev libopencv-dev
just define environment variable: OPENCV4NODEJS_DISABLE_AUTOBUILD=1
And your prebuild OpenCV will be used.
You may need to call:
npx build-opencv rebuild
or
npx build-opencv --nobuild rebuild
(if you do not define OPENCV4NODEJS_DISABLE_AUTOBUILD variable)
thanks this helped a lot
Hi, Great news for those people that do not want to build their OpenCV: I published @u4/opencv4nodejs V 6.2.4 today,
This version autodetects the common setup path for Brew on Mac, Chocolatey on Windows, and Apt on Linux.
- Windows:
choco install opencv
- Mac:
brew install opencv
- debian:
apt -y install libopencv-contrib-dev libopencv-dev
just define environment variable: OPENCV4NODEJS_DISABLE_AUTOBUILD=1
And your prebuild OpenCV will be used.
You may need to call:
npx build-opencv rebuild
ornpx build-opencv --nobuild rebuild
(if you do not define OPENCV4NODEJS_DISABLE_AUTOBUILD variable)
please try using
@u4/opencv4nodejs
this version will be merged toopencv4nodejs
soon. but for that, we need more feedback.
Hi i'm having issues while installing u4/opencv4nodejs on windows 11.
I could not install opencv4nodejs on Windows 11 with node 16, npm 8, and Visual Studio 2019 build tools.
I downgraded to node 14 and npm 6.
I had Visual Studio 2017 build tools installed with 2019, but the installation looked from 15.0 in the 2019 folder.
I uninstalled 2019 tools, repaired 2017 from the VS Installer, and successfully installed openvs4nodejs from Developer Command Prompt for VS 2017.
I found this https://github.com/justadudewhohacks/opencv4nodejs/issues/717 alternative to uninstalling 2019.