Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to install an older version of OpenCV?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
kerryhall
Posts: 275
Joined: 2008-08-19 11:06
Has thanked: 3 times

How to install an older version of OpenCV?

#1 Post by kerryhall »

I recently upgraded from Debian 8 to Debian 10, and to my disappointment discovered that a program I compiled in Debian 8 no longer works.

It's complaining about libopencv_objdetect.so.2.4 being missing.

How would I go about installing an older version of opencv? I tried recompiling for the new version of opencv currently in the repos but I get a bunch of errors, so it seems like the code only works for opencv 2.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How to install an older version of OpenCV?

#2 Post by Head_on_a_Stick »

kerryhall wrote:I tried recompiling for the new version of opencv currently in the repos but I get a bunch of errors
Please post your method and the full, exact error message(s) along with a link to the program source. Recompiling it against the newer OpenCV version is the best approach because the older version has a stack of open CVEs (vulnerabilities).
deadbang

kerryhall
Posts: 275
Joined: 2008-08-19 11:06
Has thanked: 3 times

Re: How to install an older version of OpenCV?

#3 Post by kerryhall »

Sadly the source doesn't seem to be be available on github anymore, but the repo was here:

https://github.com/timgerst/pix.git

I use to be able to compile this on Debian 8 with a simple "make".

I am hesitant to upload the source due to possible licensing issues. How should I proceed? Should I upload the source? Or should I try and install the older OpenCV libs?

Thank you for the help!

andre@home
Posts: 398
Joined: 2011-10-02 08:00

Re: How to install an older version of OpenCV?

#4 Post by andre@home »

kerryhall wrote:It's complaining about libopencv_objdetect.so.2.4 being missing.
Is it similar to this?
https://stackoverflow.com/questions/123 ... d-object-f
https://github.com/cggos/dip_cvqt/issues/1

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How to install an older version of OpenCV?

#5 Post by Head_on_a_Stick »

kerryhall wrote:How should I proceed?
Please post the full, exact error message(s). Thanks.
deadbang

Post Reply