1
- .. image :: https://img.shields.io/appveyor/ci/skvark/opencv-python.svg?maxAge=3600&label=Windows
1
+ .. image :: https://img.shields.io/appveyor/ci/skvark/opencv-python.svg?maxAge=3600&label=Windows
2
2
:target: https://ci.appveyor.com/project/skvark/opencv-python
3
3
:alt: AppVeyor CI test status (Windows)
4
4
5
- .. image :: https://img.shields.io/travis/skvark/opencv-python.svg?maxAge=3600&label="Linux / OS X"
5
+ .. image :: https://img.shields.io/travis/skvark/opencv-python.svg?maxAge=3600&label="Linux / OS X"
6
6
:target: https://travis-ci.org/skvark/opencv-python
7
7
:alt: Travis CI test status (Linux and OS X)
8
8
9
9
OpenCV on wheels
10
10
================
11
11
12
- Unofficial OpenCV packages for Python.
13
-
14
- The aim of this repository is to provide means to package each new
15
- `OpenCV release <https://github.com/opencv/opencv/releases >`__ for the
16
- most used Python versions and platforms.
17
-
18
- At the same time it allows anyone to build a custom version of OpenCV
19
- for any Python version: just fork this repo and modify the build files
20
- and scripts to fit your needs.
12
+ **Unofficial ** OpenCV packages for Python.
21
13
22
14
Installation and Usage
23
15
----------------------
@@ -32,6 +24,24 @@ To import the package:
32
24
33
25
`OpenCV documentation <http://docs.opencv.org/ >`__
34
26
27
+ IMPORTANT NOTE:
28
+
29
+ MacOS and Linux wheels have some limitations:
30
+
31
+ - video related functionality is not supported (not compiled with FFmpeg)
32
+ - for example ``cv.imshow() `` will not work (not compiled with GTK+ 2.x or Carbon support)
33
+
34
+ Documentation for opencv-python
35
+ -------------------------------
36
+
37
+ The aim of this repository is to provide means to package each new
38
+ `OpenCV release <https://github.com/opencv/opencv/releases >`__ for the
39
+ most used Python versions and platforms.
40
+
41
+ At the same time it allows anyone to build a custom version of OpenCV
42
+ for any Python version: just fork this repo and modify the build files
43
+ and scripts to fit your needs.
44
+
35
45
Build process
36
46
-------------
37
47
@@ -60,17 +70,17 @@ Currently the ``find_version.py`` file parses OpenCV version information
60
70
from the OpenCV sources. OpenCV depends on numpy, so ``setup.py `` checks
61
71
the numpy version also with the help of pip.
62
72
63
- The ``cv2.pyd `` file for example on Windows is normally copied to site-packages.
64
- To avoid polluting the root folder the ``__init__.py `` file in cv2 folder
65
- handles the import logic correctly by importing the actual ``.pyd `` module
66
- and replacing the imported cv2 package in ``sys.modudes `` with the
73
+ The ``cv2.pyd `` file for example on Windows is normally copied to site-packages.
74
+ To avoid polluting the root folder the ``__init__.py `` file in cv2 folder
75
+ handles the import logic correctly by importing the actual ``.pyd `` module
76
+ and replacing the imported cv2 package in ``sys.modudes `` with the
67
77
cv2 module to retain backward compatibility.
68
78
69
79
Licensing
70
80
---------
71
81
72
82
Opencv-python package (scripts in this repository) is available under
73
- MIT license.
83
+ MIT license.
74
84
75
85
OpenCV itself is available under `3-clause BSD
76
86
License <https://github.com/opencv/opencv/blob/master/LICENSE> `__
@@ -111,34 +121,21 @@ Manylinux wheels
111
121
112
122
Linux wheels are built using
113
123
`manylinux <https://github.com/pypa/python-manylinux-demo >`__. These
114
- wheels should work out of the box for most of the distros
115
- (which use GNU C standard library) out there since they are built
124
+ wheels should work out of the box for most of the distros
125
+ (which use GNU C standard library) out there since they are built
116
126
against an old version of glibc.
117
127
118
128
Supported Python versions
119
129
-------------------------
120
130
131
+ Python 2.7 is the only supported version in 2.x series.
132
+ Python 3.x releases follow Numpy releases, for example
133
+ Python 3.3 is no longer supported by Numpy so the support
134
+ for it has been dropped in ``opencv-python `` too.
121
135
122
- Windows:
123
- ~~~~~~~~
124
-
125
- There's a build time limitation (AppVeyor open source builds may take
126
- max 1 hour) which restricts the supported Python versions to two
127
- (note: the performance is better nowadays, for example py33 and py34
128
- could be added to appveyor.yml). As Python's 2.x releases are slowly
129
- approaching legacy state, 2.7.x releases will be the only supported Python 2
130
- versions on Windows. On Python 3 side, builds will be run only for the latest release.
131
-
132
- However, if you wan't to get some other versions, just fork this repo
133
- and change the dependencies.
134
-
135
- Linux
136
- ~~~~~
137
-
138
- Manylinux wheels are built for all the Python versions which are
139
- supported by the manylinux containers.
140
-
141
- OS X
142
- ~~~~
136
+ Currently, builds for following Python versions are provided:
143
137
144
- Currently built for Python 2.7, 3.4 and 3.5.
138
+ - 2.7
139
+ - 3.4
140
+ - 3.5
141
+ - 3.6
0 commit comments