opencv4nodejs
Advanced tools
Comparing version 2.31.0 to 2.31.1
{ | ||
"name": "opencv4nodejs", | ||
"version": "2.31.0", | ||
"version": "2.31.1", | ||
"description": "Asynchronous OpenCV 3.x API for node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -86,8 +86,20 @@ opencv4nodejs | ||
Make sure to have OpenCV 3+ ( extra modules are optional ) installed on your System https://github.com/opencv/opencv/releases/. In case you are running Windows or have OpenCV set up in a custom directory make sure to set the following environment variables: | ||
Make sure to have OpenCV 3+ ( extra modules are optional ) installed on your System https://github.com/opencv/opencv/releases/. In case you are running on Windows or have OpenCV set up in a custom directory make sure to set the following environment variables: | ||
1. OPENCV_DIR pointing to the root path containing include directory or set OPENCV_INCLUDE_DIR explicitly. | ||
2. OPENCV_LIB_DIR pointing to the library dir containing the OpenCV .lib or .so files. | ||
2. OPENCV_LIB_DIR pointing to the library dir containing the OpenCV .lib, .so or .dylib files. | ||
If you are running into issues also check the requirements for node-gyp specific to your OS https://github.com/nodejs/node-gyp. | ||
### On Windows | ||
On windows you will need the windows build tools to compile opencv4nodejs: | ||
``` | ||
npm install --global windows-build-tools | ||
``` | ||
Also you will need to add the OpenCV binaries to your system path: | ||
- Add an environment variable OPENCV_BIN_DIR pointing to the library dir containing the OpenCV .dll files. | ||
- Append `;%OPENCV_BIN_DIR%;` to your path variable. | ||
Note: Restart your current console session after making changes to your environment. | ||
If you are running into issues also check the requirements for node-gyp specific to your OS: https://github.com/nodejs/node-gyp. | ||
<a name="usage-with-docker"></a> | ||
@@ -94,0 +106,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10339250
435