개발로 하는 개발

Manually Installing OpenCV on venv 본문

Tips

Manually Installing OpenCV on venv

jiwon152 2024. 1. 8. 02:26
cd opencv-2.4.13.6
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX="path/to/yout/venv" ..

 

make
sudo make install
//to check if opencv2 is installed
import cv2
print(cv2.__version__)