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
* try new images, make sure that ffmpeg is built as LGPL library
* prepend ~/bin to PATH
* enable linux video test
* add ffmpeg pkg config location
* cherry-pick FFmpeg fix from OpenCV upstream
* add FFmpeg lib path to linker flags
* add also libjepg-turbo
* add additional flags
* add missing $
* update READMEs
* enable all video tests
Copy file name to clipboardExpand all lines: README.rst
+2-12
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,6 @@ This enables super fast (usually < 10 seconds) OpenCV installation for Python.
11
11
12
12
If you need only OpenCV Python bindings, no separate OpenCV installation is required.
13
13
14
-
**IMPORTANT NOTE**
15
-
16
-
MacOS and Linux packages do not support video related functionality (not compiled with FFmpeg).
17
-
18
14
Installation and Usage
19
15
----------------------
20
16
@@ -49,7 +45,7 @@ A: The wheel package format and manylinux builds are pretty new things. Most lik
49
45
50
46
**Q: I need contrib modules?**
51
47
52
-
A: Please install `opencv-contrib-python <https://pypi.python.org/pypi/opencv-contrib-python>`__ instead. However, note that commercial usage might be restricted in some countries since the contrib modules contain some non-free/patented algorithms.
48
+
A: Please install `opencv-contrib-python <https://pypi.python.org/pypi/opencv-contrib-python>`__ instead. However, note that commercial usage might be restricted in some countries since the contrib modules might contain some non-free/patented algorithms.
53
49
54
50
**Q: Import fails on Windows to some DLL load error?**
55
51
@@ -61,12 +57,6 @@ See also `this issue <https://github.com/skvark/opencv-python/issues/36>`__ if y
61
57
62
58
A: Make sure you have removed old manual installations of OpenCV Python bindings (cv2.so or cv2.pyd in site-packages).
63
59
64
-
**Q: Why I can't open video files on GNU/Linux distribution X or on macOS?**
65
-
66
-
A: OpenCV video I/O depends heavily on FFmpeg. Manylinux and macOS OpenCV binaries are not compiled against it.
67
-
The purpose of these packages is to provide as easy as possible installation experience for OpenCV Python bindings and they should work directly out-of-the-box.
68
-
Adding FFmpeg as an additional dependency without a "universal" FFmpeg build (e.g. LGPL licensed build like in the Windows wheels) the goal is considerably harder to achieve. This might change in the future.
69
-
70
60
Documentation for opencv-python
71
61
-------------------------------
72
62
@@ -139,7 +129,7 @@ OpenCV itself is available under `3-clause BSD
Windows wheels ship with `FFmpeg <http://ffmpeg.org>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
132
+
All wheels ship with `FFmpeg <http://ffmpeg.org>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
143
133
144
134
Linux and MacOS wheels ship with `Qt 4.8.7 <http://doc.qt.io/qt-4.8/lgpl.html>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
Copy file name to clipboardExpand all lines: README_CONTRIB.rst
+2-12
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ OpenCV on Wheels
3
3
4
4
**Unofficial** OpenCV packages for Python with contrib modules.
5
5
6
-
**Note: the usage of opencv-contrib-python might be restricted in some countries since the contrib package contains some patented algorithms/non-free modules.**
6
+
**Note: the (commercial) usage of opencv-contrib-python might be restricted in some countries since the contrib package might contain some patented algorithms/non-free modules.**
7
7
8
8
If you are looking for a version without the contrib modules, please install `opencv-python <https://pypi.python.org/pypi/opencv-python>`__ instead.
9
9
@@ -12,10 +12,6 @@ This enables super fast (usually < 10 seconds) OpenCV installation for Python.
12
12
13
13
If you need only OpenCV Python bindings, no separate OpenCV installation is required.
14
14
15
-
**IMPORTANT NOTE**
16
-
17
-
MacOS and Linux wheels do not support video related functionality (not compiled with FFmpeg).
18
-
19
15
Installation and Usage
20
16
----------------------
21
17
@@ -57,12 +53,6 @@ See also `this issue <https://github.com/skvark/opencv-python/issues/36>`__ if y
57
53
58
54
A: Make sure you have removed old manual installations of OpenCV Python bindings (cv2.so or cv2.pyd in site-packages).
59
55
60
-
**Q: Why I can't open video files on GNU/Linux distribution X or on macOS?**
61
-
62
-
A: OpenCV video I/O depends heavily on FFmpeg. Manylinux and macOS OpenCV binaries provided withing these packages are not compiled against it.
63
-
The purpose of these packages is to provide as easy as possible installation experience for OpenCV Python bindings and they should work directly out-of-the-box.
64
-
Adding FFmpeg as an additional dependency without a "universal" FFmpeg build (e.g. LGPL licensed build like in the Windows wheels) the goal is considerably harder to achieve. This might change in the future.
65
-
66
56
Documentation for opencv-python
67
57
-------------------------------
68
58
@@ -135,7 +125,7 @@ OpenCV itself is available under `3-clause BSD
Windows wheels ship with `FFmpeg <http://ffmpeg.org>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
128
+
All wheels ship with `FFmpeg <http://ffmpeg.org>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
139
129
140
130
Linux and MacOS wheels ship with `Qt 4.8.7 <http://doc.qt.io/qt-4.8/lgpl.html>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
0 commit comments