fixed and improving formatting in opencv2refman.pdf. added support for n-channel mask in Mat::copyTo() and n-channel images in cv::compare(). fixed 2 compile warnings in opencv_python.
This commit is contained in:
@@ -746,8 +746,8 @@ static inline PyObject* pyopencv_from(const CvDTreeNode* node)
|
||||
static bool pyopencv_to(PyObject *o, cv::flann::IndexParams& p, const char *name="<unknown>")
|
||||
{
|
||||
bool ok = false;
|
||||
PyObject* keys = PyMapping_Keys(o);
|
||||
PyObject* values = PyMapping_Values(o);
|
||||
PyObject* keys = PyObject_CallMethod(o,(char*)"keys",0);
|
||||
PyObject* values = PyObject_CallMethod(o,(char*)"values",0);
|
||||
|
||||
if( keys && values )
|
||||
{
|
||||
|
Reference in New Issue
Block a user