opencv4nodejs windows 安装 install
作者:互联网
①
管理员模式
npm install --global windows-build-tools
②
下载opencv 解压到一个文件夹(如:D:\opencv)
https://github.com/opencv/opencv/releases/
③
设置环境变量
OPENCV_INCLUDE_DIR
OPENCV_LIB_DIR
OPENCV_BIN_DIR
path加入%OPENCV_BIN_DIR%
④
# linux and osx:
export OPENCV4NODEJS_DISABLE_AUTOBUILD=1
# on windows:
set OPENCV4NODEJS_DISABLE_AUTOBUILD=1
⑤
npm install --global opencv4nodejs
标签:opencv4nodejs,opencv,windows,global,OPENCV,install,DIR 来源: https://www.cnblogs.com/liukaigsx/p/14631789.html