Ask Your Question
0

OpenCV Versions

asked 2019-02-12 05:15:09 -0600

WannabeEngr gravatar image

How to uninstall a newer version of openCV (4.0) to an older version (3.4) in windows

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2019-02-12 05:48:28 -0600

berak gravatar image

updated 2019-02-12 05:49:20 -0600

the opencv windows libs are versioned, like opencv_core401.lib, you can safely install a newer version along an older one. just make sure, in your project:

  • you use the correct include path (pointing to the newer install)
  • your current project links the correct version (e.g. opencv_core400.lib), from the correct folder
  • you have the opencv4/bin (or whatever you have now) folder with the current dlls on the PATH, so it can find them at runtime.
edit flag offensive delete link more

Comments

can i just use powershell(shift+right clck) to my python(3.7) folder and just install an older version (3.4)? Will the versions not affect each other?

and when i run a code, is the older version (3.4.0) is imported?

WannabeEngr gravatar imageWannabeEngr ( 2019-02-12 06:21:16 -0600 )edit

python is an entire different story, above answer is for c++ !

(but to my knowledge, you cannot have 2 opencv versions in the same python install, however, you can replace the previous cv2.pyd (which probably is in lib/site-packages) with the one of your choice)

berak gravatar imageberak ( 2019-02-12 06:26:58 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-02-12 05:15:09 -0600

Seen: 395 times

Last updated: Feb 12 '19