Skip to content

numpy opencv convertor #292

Closed
Closed
@peendebak

Description

@peendebak

Is there any option to wrap functions that accept or return an OpenCV cv::Mat object?

For example suppose I have a C++ function like

double myFunction(const cv::Mat &m, double parameter);

I would like to be able to call from Python

m = numpy.random.rand( (20, 30) )
result = myclass.myFunction(m, 2.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions