Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature][videostab] More options for the cv::videostab::KeypointBasedMotionEstimatorGpu #3601

Open
Nuzhny007 opened this issue Dec 1, 2023 · 1 comment

Comments

@Nuzhny007
Copy link
Contributor

Nuzhny007 commented Dec 1, 2023

Just now I can't set some parameters for cv::videostab::KeypointBasedMotionEstimatorGpu class.
For example I want to set non default parameters for features detector. On Nvidia Jetson Nano it works very slow.
Whats about a more flexible interface? For example a second constructor with parameters from cuda::createGoodFeaturesToTrackDetector:

class CV_EXPORTS KeypointBasedMotionEstimatorGpu : public ImageMotionEstimatorBase

{

public:

    KeypointBasedMotionEstimatorGpu(Ptr<MotionEstimatorBase> estimator);

    KeypointBasedMotionEstimatorGpu(Ptr<MotionEstimatorBase> estimator,
                                    int maxCorners, double qualityLevel, double minDistance,
                                    int blockSize, bool useHarrisDetector, double harrisK);

...
@Nuzhny007
Copy link
Contributor Author

Or like a CPU version above:

    void setDetector(Ptr<cuda::CornersDetector> val) { detector_ = val; }
    Ptr<cuda::CornersDetector> detector() const { return detector_; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant