Skip to content

Example for opencv image processing binding #24

Open

Description

@pzoltowski

Is there anywhere available example of creating between python with numpy and c++ opencv code? , eg.

cv::Mat process(cv::Mat& in, cv::Mat& out)

Activity

  1. patrikhuber commented on Mar 24, 2018

    @patrikhuber

    @pzoltowski I've done this in earlier versions of my eos library: patrikhuber/eos/tree/v0.12.2/python (up to v0.12.2). There are type_caster's there for cv::Mat in the file pybind11_opencv.hpp. However note that I have since moved away from OpenCV's cv::Mat, so you will not find any OpenCV binding code in later versions, and I also do not support them in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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