Skip to content

./example_videostab_videostab parameter inconsistent with assertion #1998

@SBCV

Description

@SBCV
System information (version)
  • OpenCV => 4.0.1
  • Operating System / Platform => Ubuntu 14.04
  • Compiler => gcc
Detailed description

Running ./example_videostab_videostab with default parameters and
-ws=yes
-ws-lp=yes
throws the follwowing error message:
opencv_contrib_4.0.1/modules/videostab/src/global_motion.cpp:554: error: (-215:Assertion failed) motionModel() <= MM_AFFINE && motionModel() != MM_RIGID in function 'estimate'

By default --ws-model is set to homography which violates the first part of the assertion above.
Is the default parameter or the assertion incorrect?

If homography is not allowed , it should be removed from the list of possible parameters.

@alalek can you comment on that? I think you have probably the highest expertise concerning the interface of videostab.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions