Hello, That is the old python interface.
On Feb 16, 2010, at 6:18 AM, Nobuhiro Iwamatsu wrote: > Hi, > > 2010/1/5 Federico Ceratto <federico.cera...@gmail.com>: >> Package: python-opencv >> Version: 2.0.0-2 >> Severity: important >> >> --- Please enter the report below this line. --- >> >> Hello, >> >> Starting with version 2.0 OpenCV provides a new Python interface that should >> be imported by running "import cv" [see >> http://opencv.willowgarage.com/wiki/PythonInterface ] >> >> Such module seems to be missing from the 2.0.0-2 package. The only files >> named cv.py in my /usr directory seems to be the usual sub-modules of the >> "opencv" module: >> >> /usr/share/pyshared/opencv/cv.py >> /usr/lib/pymodules/python2.5/opencv/cv.py >> >> Is it missing or has it been packaged with a different name? >> > may be "from opencv import cv"? > I confirmed it in the following sources > > ----- > #! /usr/bin/env python > > import sys > from opencv import cv > > if __name__ == '__main__': > > print "OpenCV version:%d.%d.%d" % ( > cv.CV_MAJOR_VERSION, > cv.CV_MINOR_VERSION, > cv.CV_SUBMINOR_VERSION) > ----- > > Best regards, > Nobuhiro > -- > Nobuhiro Iwamatsu > iwamatsu at {nigauri.org / debian.org} > GPG ID: 40AD1FA6 > > > > -- > To unsubscribe, send mail to 563717-unsubscr...@bugs.debian.org. -- Gijs Molenaar http://gijs.pythonic.nl g...@pythonic.nl -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/59e5ab41-fb83-4e4a-b0bb-acfb79764...@pythonic.nl