473,715 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wanted: binary of OpenCV Python extension module for Windows


OpenCV means Intel® Open Source Computer Vision Library. It is a
collection of C functions and a few C++ classes that implement some
popular Image Processing and Computer Vision algorithms.
OpenCV library is mainly aimed at real time computer vision. Some
example areas would be Human-Computer Interaction (HCI); Object
Identification, Segmentation and Recognition; Face Recognition; Gesture
Recognition; Motion Tracking, Ego Motion, Motion Understanding;
Structure From Motion (SFM); and Mobile Robotics:

Overview:
http://www.intel.com/technology/comp...v/overview.htm
Download:

http://heanet.dl.sourceforge.net/sou...-2.3.0-win.zip

OpenCV provides a Python wrapper in
OpenCV\interfac es\swig\python\
directory, but I have no idea how to turn it into a Windows binary yet.

I have downloaded SWIG, but it creates files which are already in the
directory, so it was the wrong idea. Probably I have to compile the
_cv.cpp as a DLL, but my MS .NET 2003 Visual C++ compiler throws tons of
error messages at me when I create an empty project, telling it should
create an DLL out of _cv.cpp and then try to compile it.

It would be so nice to have this Computer Vision Library as extension
module in my modules library.

Any hints how to achieve it?

Claudio
Dec 16 '05 #1
1 2812
Claudio Grondi wrote:

OpenCV means Intel® Open Source Computer Vision Library. It is a
collection of C functions and a few C++ classes that implement some
popular Image Processing and Computer Vision algorithms.
OpenCV library is mainly aimed at real time computer vision. Some
example areas would be Human-Computer Interaction (HCI); Object
Identification, Segmentation and Recognition; Face Recognition; Gesture
Recognition; Motion Tracking, Ego Motion, Motion Understanding;
Structure From Motion (SFM); and Mobile Robotics:

Overview:
http://www.intel.com/technology/comp...v/overview.htm
Download:

http://heanet.dl.sourceforge.net/sou...-2.3.0-win.zip
OpenCV provides a Python wrapper in
OpenCV\interfac es\swig\python\
directory, but I have no idea how to turn it into a Windows binary yet.

I have downloaded SWIG, but it creates files which are already in the
directory, so it was the wrong idea. Probably I have to compile the
_cv.cpp as a DLL, but my MS .NET 2003 Visual C++ compiler throws tons of
error messages at me when I create an empty project, telling it should
create an DLL out of _cv.cpp and then try to compile it.

It would be so nice to have this Computer Vision Library as extension
module in my modules library.

Any hints how to achieve it?

Claudio


For your information:

The conclusion from contacting the authors of the Python wrapper for
OpenCV is, that there is currently only support for Linux, but no for
the Windows platform available.
The
http://heanet.dl.sourceforge.net/sou...-2.3.0-win.zip
dowload is outdated, so anyone willing to dig into this deeper should
access the CVS repository for the latest additions and changes.
Anyone interested in this subject and especially in the available
distutils setup script (fails to build the Python wrapper on Windows
with .NET 2003) from the CVS is welcome to contact me per email.

Claudio
Dec 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3863
by: Bo Peng | last post by:
Dear list, I am writing a Python extension module that needs a way to expose pieces of a big C array to python. Currently, I am using NumPy like the following: PyObject* res = PyArray_FromDimsAndData(1, int*dim, PyArray_DOUBLE, char*buf); Users will get a Numeric Array object and can change its values (and actually change the underlying C array).
14
4521
by: BOOGIEMAN | last post by:
Well that's it, how do I make Windows Application with Python ??? Is there simple way that works 100% ? How can I rework visual design done in VS 2003 to use it for my python program ?
0
4665
by: Claudio Grondi | last post by:
What is the current status of Python OpenCV interface i.e. the opencv module? \OpenCV\samples\python\contours.py gives following ERROR: OpenCV Python version of contours Traceback (most recent call last): File "\OpenCV\samples\python\contours.py", line 6, in ? from opencv import cv ImportError: No module named opencv
0
337
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 375 open ( -3) / 3264 closed (+26) / 3639 total (+23) Bugs : 910 open ( +3) / 5851 closed (+20) / 6761 total (+23) RFE : 217 open ( -1) / 220 closed ( +3) / 437 total ( +2) New / Reopened Patches ______________________
13
2486
by: llothar | last post by:
On windows everything is '.pyd' but there seems to be two ways to get this on unix? Why and what is the rule?
0
1951
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see math, mmap and readline modules, that worked fine before, cannot be built anymore.
0
8821
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8718
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9196
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9103
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9047
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7973
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5967
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4738
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.