Ask Your Question
2

How do I install the old cv not cv2?! Python

asked May 28 '13

Rohan12111 gravatar image

updated May 28 '13

Hi there, I'm having trouble looking for a way to install the old cv. If anyone has any ideas how to do it, that would be great! Thanks

Preview: (hide)

2 answers

Sort by » oldest newest most voted
3

answered May 28 '13

berak gravatar image

no idea, why you'd want that, but:

  • the old api is still accessible through cv2.cv (but it seems, they're doing away with that in th future)
  • the sourceforge repo keeps a lot of earlier versions
Preview: (hide)

Comments

1

So how would i use cv2 to import cv into the program? Thank you very much :)

Rohan12111 gravatar imageRohan12111 (May 29 '13)edit

yes, exactly

berak gravatar imageberak (May 29 '13)edit

So you don't know how to call it?

Rohan12111 gravatar imageRohan12111 (May 29 '13)edit
1
import cv2.cv as cv
cv.LoadImage("huheruh.png")
berak gravatar imageberak (May 29 '13)edit

@berak: I think the above code doesn't work in the new version anymore.

mat_pier gravatar imagemat_pier (Jul 23 '13)edit
0

answered Jun 11 '13

mat_pier gravatar image

Looks like they removed the support. I'm not sure how to load yaml/xml files in OpenCV Python API. I just moved to the older version (2.4.1).

Preview: (hide)

Question Tools

1 follower

Stats

Asked: May 28 '13

Seen: 2,496 times

Last updated: Jun 11 '13