473,715 Members | 2,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python OpenCV wrapper


What is the current status of Python OpenCV interface i.e. the opencv
module?

\OpenCV\samples \python\contour s.py gives following ERROR:
OpenCV Python version of contours
Traceback (most recent call last):
File "\OpenCV\sample s\python\contou rs.py", line 6, in ?
from opencv import cv
ImportError: No module named opencv

but I can't find any hints towards a opencv Python module.

Claudio
P.S.
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.
http://www.intel.com/technology/comp...v/overview.htm

This is the best what I was able to find using Google, but it seems to lead
nowhere:
http://64.233.183.104/search?q=cache...n+module&hl=de
dated 2005-02-02 (the original page was not available, but Google has a
cache :/):
Before putting a lot of effort in SWIG wrapping of OpenCV ourselves, we
searched the web for already existing Python wrappers. There has been some
work on the topic, but none that satisfied our needs, since we're interested
in wrappers for the current and future OpenCV releases that provide access
to the data structure internals.:

a.. http://www.swig.org/ - The SWIG homepage
b..
http://sourceforge.net/tracker/index...45&atid=101645 -
SWIG Bug ???[754443] conversion of preprocessor math", one of the bugs that
make direct SWIG wrapping of OpenCV headers impossible.
c.. http://www.cs.wustl.edu/~rstancha/oss.html - Basic SWIG wrapping for
Python and OpenCV (see above). This is where we took PIL and Numeric
convertor ideas from.
d.. http://members.tripod.com/~edcjones/pycode.html - An older attempt to
SWIG wrapping OpenCV for Python. Uses manually rewritten OpenCV headers that
are not portable to current OpenCV releases (Beta 3 and Beta 4 not working).
e.. http://blueruby.mydns.jp/opencv/inde...=view;name=top - Ruby
wrappres for OpenCV (see above). Sorry, this page is in Japanese .
Sep 6 '05 #1
0 4665

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

Similar topics

14
2731
by: Java and Swing | last post by:
static PyObject *wrap_doStuff(PyObject *self, PyObject *args) { // this will store the result in a Python object PyObject *finalResult; // get arguments from Python char *result = 0; char *in= 0; char *aString = 0; char *bString = 0; MY_NUM *a;
1
2812
by: Claudio Grondi | last post by:
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...
0
1296
by: Peter Otten | last post by:
QOTW: "If you can find a workable solution not involving metaclasses and decorators, don't use them" - Michele Simionato "Newest Beautiful Soup beta solves everyone's problems that I know of." - Leonard Richardson Jeff Croft gives a good introduction to the Django web framework. Don't let the "for non-programmers" tag deter you. http://www2.jeffcroft.com/2006/may/02/django-non-programmers/
0
3351
by: mkd | last post by:
Hi there To compile opencv I need to use: g++ `pkg-config --cflags opencv` -o face face.c `pkg-config --libs opencv` Now I want to compile in KDevelop, but it chooses gcc instead Does anyone know, how to change the compiler used by KDevelop ?
1
1630
by: Mark Asbach | last post by:
Hi pythonians, I'm one of the maintainers of an open source image processing toolkit (OpenCV) and responsible for parts of the autotools setup. The package mainly consists of four shared libraries but is accompanied by a python package containing some pure python code and of course extension modules for the four libraries. Now during the last month we were preparing a major release which means testing, fixing, testing, fixing, ... in...
3
10422
by: jlark | last post by:
Hello, I have just started working with opencv in python for my undergrad thesis. Im Trying to build a simple GUI which supports mouse inputs on an image. This is fairly simple in C and C++ , since there are tons of documentations for opencv funtions in that area. Anyway here is the problem. Im trying to create a mouse listener which is shown like this in the API void cvSetMouseCallback( const char* window_name, CvMouseCallback...
3
275
by: Daniel Fetchinson | last post by:
Does Python 2.5.2's embedded SQLite support full text searching? Sqlite itself is not distributed with python. Only a python db api compliant wrapper is part of the python stdlib and as such it is completely independent of the sqlite build. In other words, if your sqlite build supports full text searching you can use it through the python sqlite wrapper (that is part of the stdlib) and if it doesn't then not. This is true for any sqlite...
2
2375
by: aneuryzma | last post by:
Hi guys, I'm doing a project with both ogre3d and openCV and now I have to merge the code. I have 2 Visual C++ solutions and either of them has his own configuration. Can you give me some suggestion on how to merge the two solutions and use both libraries together ? thanks!
8
1681
by: J Kenneth King | last post by:
Hey everyone, I'm working on a python extension wrapper around Rob Hess' implementation of a SIFT feature detector. I'm working on a computer-vision based project that requires interfacing with Python at the higher layers, so I figured the best way to handle this would be in C (since my initial implementation in python was ungodly and slow). I can get distutils to compile the extension and install it in the python path, but when I go...
0
9340
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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...
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...
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?
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2539
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2118
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.