Skip to content

Pybind11 Example with Numpy, OpenCV, CMake and setuptools

Notifications You must be signed in to change notification settings

dboyliao/pybind11_example

Repository files navigation

Clone Repo

# clone the pybind11 library as well or you have to add pybind11 manually afterward
$ git clone --recurse-submodules git@github.com:dboyliao/pybind11_example.git

Requirements

  • OpenCV
  • cmake

Installation

Using virtualenv

$ virtualenv --python=$(which python) .venv
$ source .venv/bin/activate
$ python3 -m pip install -e .

The importable python library should be build and the package should be importable via:

import pybind11_example

# do stuff

see scripts/example.py as an example

About

Pybind11 Example with Numpy, OpenCV, CMake and setuptools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages