Dear all, there is now a "Tutorial Introduction to the Gamera Framework" available from the Gamera homepage. See http://gamera.informatik.hsnr.de/#docs It is...
Dear all, I am currently trying to write a linear time median implementation, which is basically simply a wrapper around the STL algorithm nth_element(). ...
On Wed, Feb 4, 2009 at 10:54 AM, Christoph Dalitz ... Part of the problem is that given a Python list, you don't know whether it contains all ints or all...
Am Wed, 4 Feb 2009 11:14:51 -0500 ... Works great! I could use PyObject_RichCompare to define a "canonical" wrapper class around PyObject that can be used in...
That's correct. You're working with the raw Python C/API there, which being C does not have destructors, so reference counting must be handled manually. Mike ...
Am Fri, 6 Feb 2009 10:36:39 -0500 ... Is this also necessary when the return value is constructed with Py_BuildValue? That is, does the following work return...
... Eventually, I have found an explanation on http://docs.python.org/extending/extending.html#ownership-rules When Py_BuildValue is called, Py_INCREF is not...
Hallo, I have added a new class "canonicPyObject" to gameracore.so that is used in a new plugin in listutilities.py. Strangely, whenever I try to load my new...
Have you tried forcing a full rebuild (by removing the build directory?) I've seen similar things because distutils doesn't track header file dependencies. ...
Am Mon, 9 Feb 2009 07:28:49 -0500 ... Yes, I had rebuilt everything and checked in the logs that gameracore.so indeed was recompiled and my new cpp file...
Ok -- I see how this is built now. Plugins don't (can't?) link against gameracore.so. Instead, they import it through the Python API and then pull the...
Am Mon, 9 Feb 2009 08:30:16 -0500 ... Ah, I see. I have now explicitly linked against my object with the following line in the plugin specification: ...
You can add the path to the .cpp file using cpp_sources instead. But as you say, if you inline everything that won't be necessary anyway. Cheers, Mike On Mon,...
Hello, yet another somewhat crazy question... I would like to make a free plugin function (median) available under the same name on the C++ and Python side. ...
Hi All: Just found out about Gamera, and tried to install it on my FreeBSD development box. Unfortunately, it appears the gamera_setup.py file needs to be...
Welcome David! ... Additional include and lib directories can be added over the environment variables CFLAGS and LDFLAGS, e.g. CFLAGS=-I/usr/local/include ...
On Wed, Feb 25, 2009 at 2:10 AM, Christoph Dalitz ... Yes, it does allow the build to finish. Not sure why I didn't think of that, but it works. I'm not sure...
... If I understand your patch correctly, BSD unix does not match any of the platforms and thus falls through the tests. I wonder whether this also holds for...
Dear all, I have just added some documentation on passing custom types (i.e. Class("bla") on the Python wrapper side and PyObject* on the C++ side) to and from...
Dear all, just compiled Gamera according to the installation instructions on a Windows system with Cygwin and the Migw32 compiler (as shipped with Cygwin). ...
Am Wed, 25 Mar 2009 17:12:39 +0100 ... Just tested the compilation of Gamera without Cygwin, but with the Mingw32 compiler from http://mingw.org/ not from a...
Hello, just observed that the skeleton features computed by gamera are not the ones that should be computed. For an image with the attached skeleton (thin_lc,...
Hallo, just released version 3.1.2 of Gamera on http://sourceforge.net/project/showfiles.php?group_id=99328 It should fix a long outstanding issue that made...