python2 binding build error: 'createOptFlow_DeepFlow' : is not a member of 'cv::optflow' (Bug #4109)


Added by Chris Huang about 10 years ago. Updated almost 10 years ago.


Status:Done Start date:2015-01-08
Priority:Normal Due date:
Assignee:Roman Donchenko % Done:

0%

Category:python bindings
Target version:3.0 Estimated time:1.00 hour
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty: HW Platform:x86
Pull request:

Description

When compiling python2 binding of opencv 3.0 beta. Build error occurs: 'createOptFlow_DeepFlow' : is not a member of 'cv::optflow'

It's in the function below:

@static PyObject* pyopencv_cv_optflow_createOptFlow_DeepFlow(PyObject* , PyObject* args, PyObject* kw) {
using namespace cv::optflow;

Ptr<DenseOpticalFlow> retval;
if(PyObject_Size(args)  0 && (kw  NULL || PyObject_Size(kw) == 0))
{
ERRWRAP2(retval = cv::optflow::createOptFlow_DeepFlow());
return pyopencv_from(retval);
}
return NULL;
}@

opencv_optflow was build successfully before building python2 binding. If change "createOptFlow_DeepFlow" to "createOptFlow_SimpleFlow", build success.


Associated revisions

Revision a003d1d7
Added by Vadim Pisarevsky over 9 years ago

Merge pull request #4109 from alalek:fix_build_dbt_bindings

History

Updated by Maksim Shabunin almost 10 years ago

  • Target version changed from 3.0-beta to 3.0

Updated by Maksim Shabunin almost 10 years ago

Can not reproduce with the latest 3.0.0-rc1 version. Python bindings for optflow module are build well.
Probably it was fixed somehow.

  • Status changed from New to Done
  • Category changed from build/install to python bindings

Also available in: Atom PDF