cv2.calcOpticalFlowPyrLK argument broken (repeated nextPts) (Bug #1348)


Added by Alexander Mordvintsev over 13 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:python bindings
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

cv2.calcOpticalFlowPyrLK's 'nextPts' argument is repeated two times (as required and not required arg). Also it seems to be unused.


Associated revisions

Revision a5df21bf
Added by Vadim Pisarevsky over 13 years ago

removed problem with duplicated CV_OUT InputOutputArray parameters (ticket #1348)

Revision e59c74e1
Added by Roman Donchenko over 11 years ago

Merge pull request #1348 from SpecLad:merge-2.4

History

Updated by Alexander Mordvintsev over 13 years ago

'nextPts' is used (I forgot to set OPTFLOW_USE_INITIAL_FLOW flag). It is just repeated twice. Switching priority to minor.

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Vadim Pisarevsky almost 13 years ago

looks like in the current SVN version the problem has been fixed:

>>> cv2.calcOpticalFlowPyrLK.__doc__
'calcOpticalFlowPyrLK(prevImg, nextImg, prevPts[, nextPts[, status[, err[, winSize[, maxLevel[, criteria[, flags[, minEigThreshold]]]]]]]]) -> nextPts, status, err'
  • Status changed from Open to Done
  • Assignee set to Vadim Pisarevsky

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF