Open cherishman2005 opened 2 years ago
brew update
brew uninstall opencv
brew install cmake
brew upgrade cmake
npm i -g node-gyp
npm uninstall -g opencv-build
npm uninstall -g opencv4nodejs
export OPENCV4NODEJS_AUTOBUILD_FLAGS=-DBUILD_LIST=core,imgproc,imgcodecs,videoio,highgui,video,calib3d,features2d,objdetect,dnn,ml,flann,photo,stitching,gapi
npm i -g opencv4nodejs