Ask Your Question
0

I want install opencv 3.4

asked 2018-10-01 02:05:56 -0600

jisooring gravatar image

I would like to install opencv 3.4. However, opencv 4.0 is installed.

If you use 'git clone https://github.com/opencv/opencv.git' in 'Downloading OpenCV' in "https://docs.opencv.org/3.4.1/d2/de6/..." 4.0 This is the install.

I`m using tensorflow.

I got the file from Github and tried to install it. However, an installation error occurs.

Please!! I need you help😞

edit retag flag offensive close merge delete

Comments

However, an installation error occurs.

we can only help, if you tell us the errror, right ?

berak gravatar imageberak ( 2018-10-01 02:21:31 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2018-10-01 02:09:38 -0600

berak gravatar image

updated 2018-10-01 03:26:28 -0600

4.0 is the master branch (and the default on github)

use: git clone -b 3.4 https://github.com/opencv/opencv to specify the 3.4 branch or (not sure if it's possible with what you did) try to checkout the 3.4 branch locally: git checkout 3.4

edit flag offensive delete link more

Comments

I checked the branch for 3.4. It still installs 4.0.

jisooring gravatar imagejisooring ( 2018-10-01 03:09:26 -0600 )edit

what did you do, exactly ?

berak gravatar imageberak ( 2018-10-01 03:10:15 -0600 )edit

We chose branch 3.4 from github. I used 'https://github.com/opencv/opencv.git' as a clone copy.

jisooring gravatar imagejisooring ( 2018-10-01 03:14:42 -0600 )edit

I would like to use version 3.4 of opencv because of "AttributeError: 'module' object has no attribute 'CV_AA'".

jisooring gravatar imagejisooring ( 2018-10-01 03:16:56 -0600 )edit

it is cv2.LINE_AA , btw, CV_AA was from outdated 2.4

and you did not answer my question. if you don't give us the exact steps you tried, we cannot reproduce it.

berak gravatar imageberak ( 2018-10-01 03:20:11 -0600 )edit

It is an error not using version 3.4. If you know how to solve this, please let me know.

jisooring gravatar imagejisooring ( 2018-10-01 03:22:54 -0600 )edit

Enter "git clone https://github.com/opencv/opencv.git". I am sorry that I can not answer correctly because I am not a country using English.

jisooring gravatar imagejisooring ( 2018-10-01 03:25:17 -0600 )edit

again, you need

git clone -b 3.4 https://github.com/opencv/opencv

for the 3.4 branch (note: without the .git at the end !)

berak gravatar imageberak ( 2018-10-01 03:26:04 -0600 )edit

I am so grateful to have kindly taught me.

jisooring gravatar imagejisooring ( 2018-10-01 03:29:14 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-10-01 02:05:17 -0600

Seen: 4,407 times

Last updated: Oct 01 '18