Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'url:sourceforge': 0.03; 'subject:Python': 0.05; 'importerror:': 0.05; 'python': 0.11; 'python.': 0.11; 'url:)': 0.14; 'suggest': 0.15; 'later': 0.16; '(in': 0.18; 'thanks,': 0.19; 'load': 0.20; 'versions': 0.20; 'changes': 0.20; 'trying': 0.22; '"",': 0.22; 'module': 0.23; 'tried': 0.24; 'import': 0.24; '(most': 0.24; 'install': 0.25; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'module.': 0.27; 'tutorial': 0.29; 'code': 0.31; 'traceback': 0.33; 'running': 0.34; 'file': 0.34; 'could': 0.35; 'to:addr:python-list': 0.35; 'but': 0.36; 'modules': 0.36; 'url:2012': 0.36; 'hi,': 0.37; 'version': 0.38; 'url:2': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'subject:with': 0.40; 'subject: (': 0.40; 'some': 0.40; 'between': 0.65; 'differences': 0.66; 'received:br': 0.66; 'reuse': 0.66; 'url:4': 0.70; 'url:11': 0.72; '(import': 0.84; 'received:gateway14.websitewelcome.com': 0.84; 'url:zip': 0.84; 'received:com.br': 0.91 Date: Tue, 26 May 2015 10:24:30 -0300 From: Markos User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20121216 Icedove/3.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: OpenCV with Python (cv or cv2) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - br78.hostgator.com.br X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - c2o.pro.br X-BWhitelist: no X-Source-IP: 177.25.61.95 X-Exim-ID: 1YxEn7-0000Ux-8N X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.1.6]) [177.25.61.95]:42449 X-Source-Auth: markos@c2o.pro.br X-Email-Count: 1 X-Source-Cap: YzJvcHI4NTY7YzJvcHI4NTY7YnI3OC5ob3N0Z2F0b3IuY29tLmJy X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432648308 news.xs4all.nl 2931 [2001:888:2000:d::a6]:54190 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91245 Hi, I want to use OpenCV with Python. I installed version 2.4.9 (http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip/) in debian Squeeze running Python 2.6.6. Using the tutorial: http://indranilsinharoy.com/2012/11/01/installing-opencv-on-linux/ (I tried to install versions 2.4.11 and 2.4.10 (in Squeeze with python 2.2.6) but I couldn't.) I lost some time trying to load the module cv2: > >> Import cv2.cv the cv Traceback (most recent call last): File "", line 1, in > ImportError: No module named cv2.cv After a while I realized I could use the cv module. (import cv) But still I do not understand the differences between the modules cv and cv2. Do you suggest any good tutorial about the differences between cv and cv2? I will have to make many changes in python programs using cv to reuse the code later with cv2? Thanks, Markos