Ask Your Question
2

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

asked 2013-05-28 00:58:55 -0600

Rohan12111 gravatar image

updated 2013-05-28 01:00:24 -0600

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

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
3

answered 2013-05-28 12:20:07 -0600

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
edit flag offensive delete link more

Comments

1

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

Rohan12111 gravatar imageRohan12111 ( 2013-05-29 04:59:30 -0600 )edit

yes, exactly

berak gravatar imageberak ( 2013-05-29 05:34:52 -0600 )edit

So you don't know how to call it?

Rohan12111 gravatar imageRohan12111 ( 2013-05-29 05:41:24 -0600 )edit
1
import cv2.cv as cv
cv.LoadImage("huheruh.png")
berak gravatar imageberak ( 2013-05-29 06:43:09 -0600 )edit

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

mat_pier gravatar imagemat_pier ( 2013-07-22 21:51:38 -0600 )edit
0

answered 2013-06-11 08:56:08 -0600

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).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-05-28 00:58:55 -0600

Seen: 2,451 times

Last updated: Jun 11 '13