You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,6 @@ python3 test.py
43
43
44
44
## Generation with setup.py
45
45
46
-
*Note* : This method only support opencv 2.4 and opencv 3 at this time. Opencv 4 is not supported yet.
47
46
48
47
### install pybind11
49
48
@@ -53,7 +52,18 @@ pip3 install pybind11
53
52
54
53
### Compile
55
54
55
+
#### Opencv2.4+, Opencv3+
56
+
57
+
```
58
+
python3 setup.py build
59
+
```
60
+
61
+
#### Opencv4
62
+
63
+
In Opencv4, there a extra folder level for header (ex: `opencv4/opencv2/core/core.hpp`). To be able to compile with `setup.py` we need a extra command to indicate header location.
0 commit comments