Skip to content

Increasing efficiency of the Keypoint and DMatch Python wrappers #10158

@ghost

Description

Detailed description

Python wrapper for Keypoint and DMatch is totally inefficient in which we need to access each object separately in order to extract its attributes (center, radius, trainingIdx and queryIdx), rather than using Numpy arrays.

Is it possible to change that behavior to something similar to connectedComponentsWithStats wrapper of the stats variable? That wrapper is a Numpy array, smoothly used in conjugation with an exported enum, which allows vectorized operations without any need for loops.

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