forked from justadudewhohacks/opencv4nodejs
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Config
Chip: M1 Pro
OS: Tahoe 26
Node: v20.15.1
Install packages via Brew
brew update
brew install cmake pkg-config
brew install python@3.11
brew install opencv@4
brew link --force opencv@4
Export variables
export PATH="/opt/homebrew/opt/python@3.11/bin:$PATH"
export OPENCV4NODEJS_DISABLE_AUTOBUILD=1
export OPENCV_LIB_DIR=/opt/homebrew/opt/opencv/lib
export OPENCV_INCLUDE_DIR=/opt/homebrew/opt/opencv/include/opencv4
Finally install @u4/opencv4nodejs
npm install --save @u4/opencv4nodejs
Hope this helps someone!
-K
QuentinWidlocher, foxxyz and rafaljanicki
Metadata
Metadata
Assignees
Labels
No labels