- 安装
OpenCV(v4.6.0) - 安装
Python(3.10.6) - 安装
VS2022的C++桌面开发,手动勾选Windows 10 SDK和MSVC - 安装
CMake(3.31.6) - 在
.npmrc配置pnpm config set auto-approve-builds true - 运行
pnpm install
- 接下来是开启GPU加速,非必须
- 安装
CUDA Toolkit(https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local) - 运行
git config --global core.longpaths true,然后确保安装cross-env后,运行npm run install_cuda(公司墙github的小伙伴请注意!!!)