Skip to content

getDefaultName() isn't overloaded in SparseOpticalFlow or  #17960

@vik748

Description

@vik748

Similar to #6387

System information (version)
  • OpenCV => 3.3.1, 3.4.2 and 4.4.0
  • Operating System / Platform => Ubuntu 16.04 (under conda)
Detailed description
Steps to reproduce

This is in the python wrapper, but I assume this can be reproduced in C++ easily.

>>> import cv2
>>> KLT_optical_flow = cv2.SparsePyrLKOpticalFlow_create()
>>> KLT_optical_flow.getDefaultName()
'my_object'

The correct out put should be something like SparseOpticalFlow.SparsePyrLKOpticalFlow

Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions