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.rst
+7-13Lines changed: 7 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,7 @@ If you need only OpenCV Python bindings, no separate OpenCV installation is requ
13
13
14
14
**IMPORTANT NOTE**
15
15
16
-
MacOS and Linux wheels have currently some limitations:
17
-
18
-
- video related functionality is not supported (not compiled with FFmpeg)
19
-
- for example ``cv2.imshow()`` will not work (not compiled with GTK+ 2.x or Carbon support)
16
+
MacOS and Linux packages do not support video related functionality (not compiled with FFmpeg).
20
17
21
18
Installation and Usage
22
19
----------------------
@@ -70,10 +67,6 @@ A: OpenCV video I/O depends heavily on FFmpeg. Manylinux and macOS OpenCV binari
70
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.
71
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.
72
69
73
-
**Q: Why I can't open GUI windows (``cv2.imshow()``) on GNU/Linux distribution X or on macOS?**
74
-
75
-
A: Like above, OpenCV was not compiled against GTK or Carbon. Support for these might be added in the future.
76
-
77
70
Documentation for opencv-python
78
71
-------------------------------
79
72
@@ -127,11 +120,10 @@ Currently the ``find_version.py`` file parses OpenCV version information
127
120
from the OpenCV sources. OpenCV depends on numpy, so ``setup.py`` checks
128
121
the minimum required numpy version also with the help of pip.
129
122
130
-
The ``cv2.pyd`` file is normally copied to site-packages.
131
-
To avoid polluting the root folder the ``__init__.py`` file in cv2 folder
132
-
handles the import logic correctly by importing the actual ``.pyd`` module
133
-
and replacing the imported cv2 package in ``sys.modudes`` with the
134
-
cv2 module to retain backward compatibility.
123
+
The ``cv2.pyd/.so`` file is normally copied to site-packages.
124
+
To avoid polluting the root folder this package wraps
125
+
the statically built binary into cv2 package and ``__init__.py``
126
+
file in the package handles the import logic correctly.
135
127
136
128
Since both ``opencv-python`` and ``opencv-contrib-python`` use the same namespace explained above,
137
129
it is highly recommended to uninstall the other package before switching from example from
Windows wheels ship with `FFmpeg <http://ffmpeg.org>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
151
143
144
+
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
+7-13Lines changed: 7 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,7 @@ If you need only OpenCV Python bindings, no separate OpenCV installation is requ
14
14
15
15
**IMPORTANT NOTE**
16
16
17
-
MacOS and Linux wheels have currently some limitations:
18
-
19
-
- video related functionality is not supported (not compiled with FFmpeg)
20
-
- for example ``cv2.imshow()`` will not work (not compiled with GTK+ 2.x or Carbon support)
17
+
MacOS and Linux wheels do not support video related functionality (not compiled with FFmpeg).
21
18
22
19
Installation and Usage
23
20
----------------------
@@ -66,10 +63,6 @@ A: OpenCV video I/O depends heavily on FFmpeg. Manylinux and macOS OpenCV binari
66
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.
67
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.
68
65
69
-
**Q: Why I can't open GUI windows (``cv2.imshow()``) on GNU/Linux distribution X or on macOS?**
70
-
71
-
A: Like above, OpenCV was not compiled against GTK or Carbon. Support for these might be added in the future.
72
-
73
66
Documentation for opencv-python
74
67
-------------------------------
75
68
@@ -123,11 +116,10 @@ Currently the ``find_version.py`` file parses OpenCV version information
123
116
from the OpenCV sources. OpenCV depends on numpy, so ``setup.py`` checks
124
117
the minimum required numpy version also with the help of pip.
125
118
126
-
The ``cv2.pyd/so`` file is normally copied to site-packages.
127
-
To avoid polluting the root folder the ``__init__.py`` file in cv2 folder
128
-
handles the import logic correctly by importing the actual ``.pyd./.so`` module
129
-
and replacing the imported cv2 package in ``sys.modudes`` with the
130
-
cv2 module to retain backward compatibility.
119
+
The ``cv2.pyd/.so`` file is normally copied to site-packages.
120
+
To avoid polluting the root folder this package wraps
121
+
the statically built binary into cv2 package and ``__init__.py``
122
+
file in the package handles the import logic correctly.
131
123
132
124
Since both ``opencv-python`` and ``opencv-python-contrib`` use the same namespace explained above,
133
125
it is highly recommended to uninstall the other package before switching from example from
Windows wheels ship with `FFmpeg <http://ffmpeg.org>`__ licensed under the `LGPLv2.1 <http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html>`__.
147
139
140
+
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