You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node version: 20.15.1 (running inside a Docker container)
"@u4/opencv4nodejs": "7.1.2"
opencv installed without automatic build (setting OPENCV4NODEJS_DISABLE_AUTOBUILD=1), my understanding is that opencv4nodejs detects libopencv on the container and uses that
dpkg -l | grep libopencv -> 4.2.0+dfsg-5
Code
The offending piece of code is very simple, quite literally creating a new Mat instance from a node buffer, i.e.
importcvfrom'@u4/opencv4nodejs';asyncfunctiondecode(buffer: Buffer){constmat=awaitcv.imdecodeAsync(buffer);// ... do something with the Mat}
What's bizarre is that things work as intended maybe once every four times. Otherwise, as soon as I hit that code path I get the following error, which crashes the whole container.
Environment
OPENCV4NODEJS_DISABLE_AUTOBUILD=1
), my understanding is thatopencv4nodejs
detectslibopencv
on the container and uses thatdpkg -l | grep libopencv
->4.2.0+dfsg-5
Code
The offending piece of code is very simple, quite literally creating a new
Mat
instance from a node buffer, i.e.What's bizarre is that things work as intended maybe once every four times. Otherwise, as soon as I hit that code path I get the following error, which crashes the whole container.
The text was updated successfully, but these errors were encountered: