Ask Your Question
0

How to update & rebuild CV2 on Raspberry Pi

asked 2016-12-07 06:28:20 -0600

DontOpenMyCV gravatar image

Hi at all,

before explaining my problem, I feeling really stupid about asking such an "easy" question, but I searched the Internet for about three hours without any result.

I have a running version of OpenCV 3.1.0 installed on my Raspberry Pi (Linux Raspbian, Python 3) since September this year, used: http://www.pyimagesearch.com/2016/04/...

cv2.__version__ says 3.1.0

In 2015 there was a bug according to the fisheye-calibration and in April 2016 a fix was officially committed on GitHub: https://github.com/opencv/opencv/pull...

Now, I want to re-download changed files and rebuild OpenCV to take advantage of the bug-fix (if this is the right way to handle an update). Another question is why I could download a bug-file after there was a fix half a year ago.

As I said, I was seeking for an answer for hours, but "update open cv linux" or "git update rebuild open cv" results in lots of crap.

Thank you all in advance!

edit retag flag offensive close merge delete

Comments

how did you get the src, originally ?

berak gravatar imageberak ( 2016-12-07 06:47:33 -0600 )edit

wget download zip-archive from GitHub, then unpack, then cmake to build

DontOpenMyCV gravatar imageDontOpenMyCV ( 2016-12-07 06:51:34 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-12-07 07:41:49 -0600

berak gravatar image

updated 2016-12-08 10:11:31 -0600

instead of wget /zip, try :

git clone https://github.com/opencv/opencv

(this will create a new opencv folder, wherever you start this)

then cmake from there again, like you did before.

http://docs.opencv.org/master/d7/d9f/...

edit flag offensive delete link more

Comments

1

Worked for me, thank you!

DontOpenMyCV gravatar imageDontOpenMyCV ( 2016-12-08 10:08:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-12-07 06:21:32 -0600

Seen: 4,143 times

Last updated: Dec 07 '16