Skip to content

Update to OpenCV 3 maybe?  #19

@Azazel17

Description

@Azazel17

Basically i get the following error:

`conversion.cpp: In member function ‘cv::Mat NDArrayConverter::toMat(const PyObject*)’:
conversion.cpp:202:11: error: ‘class cv::Mat’ has no member named ‘refcount’
m.refcount = refcountFromPyObject(o);
^
conversion.cpp: In member function ‘PyObject* NDArrayConverter::toNDArray(const cv::Mat&)’:
conversion.cpp:223:12: error: ‘class cv::Mat’ has no member named ‘refcount’
if(!p->refcount || p->allocator != &g_numpyAllocator)
^
conversion.cpp:230:36: error: ‘class cv::Mat’ has no member named ‘refcount’
return pyObjectFromRefcount(p->refcount);

`
Which is caused for the absence of refcount which needs an update to OpenCV 3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions