On 09/21/2011 09:31 AM, Kevin Hughes wrote:
I am trying to create a python library from a class which uses opencv
2.3. I want to be able to pass numpy array's into the class where they
will be converted into cv::Mat's processed then converted back to numpy
array's and returned.
Here is a simple
Thanks for the reply, I tried adding import_array(); to my
BOOST_PYTHON_MODULE block but I still got an error when importing my library
into python, the same same error I mentioned above.
On Wed, Sep 21, 2011 at 9:43 AM, Jim Bosch wrote:
> On 09/21/2011 09:31 AM, Kevin Hughes wrote:
>
>> I am tr
On 09/21/2011 10:25 AM, Kevin Hughes wrote:
Thanks for the reply, I tried adding import_array(); to my
BOOST_PYTHON_MODULE block but I still got an error when importing my
library into python, the same same error I mentioned above.
Does it actually crash Python, or just fail to import the modul
Sorry it just fails to import, what should my JamRoot file look like to
include my opencv libs? I am very new to boost python.
On Wed, Sep 21, 2011 at 10:41 AM, Jim Bosch wrote:
> On 09/21/2011 10:25 AM, Kevin Hughes wrote:
>
>> Thanks for the reply, I tried adding import_array(); to my
>> BOOST
Here is the JamRoot file I have been using:
using python ;
# Specify that the boost-python library exists under the name
# boost_python. That is, because the library was installed at the
# standard search path as /usr/lib/libboost_python.so, bjam will find
# it automatically. No need to specify t
On 09/21/2011 11:13 AM, Kevin Hughes wrote:
Here is the JamRoot file I have been using:
using python ;
# Specify that the boost-python library exists under the name
# boost_python. That is, because the library was installed at the
# standard search path as /usr/lib/libboost_pyth