Comments (4)
Hey,
this error means that it could not load the binaries, e.g. the opencv .dlls. Are you sure that you have the opencv binary path added to your system path?
Another reason for that error could be that the dlls do not match with the linked libraries. For example if you try to link static debug libraries with release dlls or maybe you still have opencv binaries from another version than 3.3.1 in your system path.
from opencv4nodejs.
Damn ... a typo :|
Thanks for pointing quickly in the right direction! 👍
from opencv4nodejs.
When you run "pip install shapely" it will show you where the package is installed [in my case Requirement already satisfied: shapely in c:\users<USERNAME>\anaconda3\envs<ENVNAME>\lib\site-packages (1.7.1))]. Then go into that folder (c:\users<USERNAME>\anaconda3\envs<ENVNAME>\lib\site-packages\shapely), there is a folder called DLLS. Copy the files from there to your environment's library (in my case c:\users<USERNAME>\anaconda3\envs<ENVNAME>\Library\bin)
from opencv4nodejs.
When you run "pip install shapely" it will show you where the package is installed [in my case Requirement already satisfied: shapely in c:\users\anaconda3\envs\lib\site-packages (1.7.1))]. Then go into that folder (c:\users\anaconda3\envs\lib\site-packages\shapely), there is a folder called DLLS. Copy the files from there to your environment's library (in my case c:\users\anaconda3\envs\Library\bin)
How this related to pip?
from opencv4nodejs.
Related Issues (20)
- [!] RollupError: Could not resolve "../build/Release/opencv4nodejs.node" from "../build/Release/opencv4nodejs.node?commonjs-external" HOT 1
- Cannot find module 'C:\Users\pierr\Desktop\onnxjs\node_modules\opencv4nodejs\build\Release\opencv4nodejs' HOT 2
- Imencode - OpenCV Error: (!image.empty()) in imencode, in file... RPI4 HOT 1
- Correct the state of the `opencv4nodejs` package on the NPM. HOT 5
- canot load opencv4nodejs after install HOT 1
- Cannot find module 'D:\Web\opencv\node_modules\opencv4nodejs\build\Release\opencv4nodejs' HOT 2
- Error: CalcHist - object has no property: ranges HOT 1
- Can't resolve '../build/Release/opencv4nodejs.node' HOT 1
- Cannot find module /node_modules/@u4/opencv4nodejs/build/Release/opencv4nodejs'
- why no cv.compare or mat.compare function?
- how to catch mouse event on imshow
- ar
- Type error with mat.drawCountours()
- Unable to install opencv4nodejs HOT 1
- Unable to install in Ubuntu 22.05
- Ssim library
- Issues with node-gyp
- Issue with cv.Mat
- Issue with importing cv
- I think that typescript-eslint and eslint should be moved in the dev-dependencies. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv4nodejs.