RT-studios / camera-pnpoint

23 stars 0 forks source link

OpenCV fails to install #12

Open clankill3r opened 8 months ago

clankill3r commented 8 months ago

I could not install opencv from within blender, sadly enough I closed the console so I can't show the error.

Anyway this worked for me, I thought I post here in case it helps someone.

"C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\bin\python.exe" -m pip install opencv-contrib-python

alexnelubov commented 7 months ago

I could not install opencv from within blender, sadly enough I closed the console so I can't show the error.

Anyway this worked for me, I thought I post here in case it helps someone.

"C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\bin\python.exe" -m pip install opencv-contrib-python

To install CV in the addon, you need to run blender as a PC administrator. Right-click on the blender icon, select advanced, then run as administrator. Then go to the addon and install open cv.