Skip to content

Commit ad25cba

Browse files
committed
feat: remove opencv 2.4 as it was not supported
1 parent a759ff2 commit ad25cba

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

Readme.md

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pybind11_opencv_numpy
22

3-
Binding between cv::Mat and np.array. And a small code example of how it work. The code work for `OpenCV 2.4`, `OpenCV 3+` and `OpenCV 4+`
3+
Binding between cv::Mat and np.array. And a small code example of how it work. The code work for `OpenCV 3+` and `OpenCV 4+`
44

55
The code in this repository create a simple binding, function in c++ are implemented in [`tests/cpp/test.cpp`](tests/cpp/test.cpp) file and python script that use them are in the tests folder like [`tests/test_binding.py`](tests/test_binding.py).
66

@@ -16,11 +16,11 @@ The code in this repository create a simple binding, function in c++ are impleme
1616
There is 3 way to build the project, more information can be found on pybind11 website [here](https://pybind11.readthedocs.io/en/stable/compiling.html#build-systems) :
1717
1. build with cmake : the basic, compiled library will be generated in build folder
1818
2. build with setup.py and cmake : install your module in python and dependency are managed by cmake/vcpkg (opencv and pybind11)
19-
3. build with setup.py and setuptools : install your module in python and dependency are managed by python package (opencv and pybind11) ***Soon***
19+
3. ***Not Supported Yet*** build with setup.py and setuptools : install your module in python and dependency are managed by python package (opencv and pybind11)
2020

2121
## Build with cmake
2222

23-
*Note* : This method support opencv 2.4, opencv 3 and opencv 4.
23+
*Note* : This method support opencv 3 and opencv 4.
2424

2525
### Step 1 : Install dependencies
2626

@@ -75,22 +75,18 @@ python -c "import numpy as np; print(np.get_include())"
7575

7676
## Build with `setup.py` and cmake
7777

78-
*Note* : This method support opencv 2.4, opencv 3 and opencv 4.
78+
*Note* : This method support opencv 3 and opencv 4.
7979

8080
You should first follow step 1 and 2 from the ***Build with cmake*** paragraph
8181

8282
### Step 3 : Compile
8383

84-
#### OpenCV 2.4+, OpenCV 3+, , OpenCV 4+
84+
#### OpenCV 3+ , OpenCV 4+
8585

8686
```bash
8787
python3 -m pip install .
8888
```
8989

90-
## Build with `setup.py` and setuptool
91-
92-
***in coming***
93-
9490

9591
## Execute Tests
9692

0 commit comments

Comments
 (0)