Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 63032b7

Browse files
authored
Update README.md
1 parent 1163ea3 commit 63032b7

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

README.md

+15-9
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@
44

55
It is *Unofficial* pre-built OpenCV+dldt_module package for Python.
66

7-
**Why:**
8-
There is a [guy with an exellent pre-built set of OpenCV packages](https://github.com/skvark/opencv-python), but they are all came without [dldt module](https://github.com/opencv/dldt).
7+
**Why:**
8+
There is a [guy with an exellent pre-built set of OpenCV packages](https://github.com/skvark/opencv-python), but they are all came without [dldt module](https://github.com/opencv/dldt). And you need that module if you want to run models from [Intel's model zoo](https://github.com/opencv/open_model_zoo/).
99

10+
**Limitations**:
1011
+ Package comes without contrib modules.
1112
+ It was tested on Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10 as Windows 10 Subsystem and Gentoo.
12-
+ I had not made a builds for Windows or MacOS.
13+
+ I had not made builds for Windows or MacOS.
1314
+ It is 64 bit.
1415
+ It built with `ffmpeg` and `v4l` support (`ffmpeg` libs included).
1516
+ No GTK/QT support -- use `matplotlib` for plotting your results.
1617

18+
This package is most similar to `opencv-python-headless`, main differences are:
19+
+ Usage of `AVX512_SKX` instructions
20+
+ No `JPEG 2000`, `WEBP`, `OpenEXR` support
21+
+ `TBB` used as a parallel framework
22+
+ Inference Engine with `MYRIAD` plugin
23+
1724
For additional info read `cv2.getBuildInformation()` output.
1825

1926
## Installing from `pip3`
@@ -33,9 +40,9 @@ Also it is a lot of problems and extra work to compile Qt\GTK libs from sources.
3340
In 95% of cases `matplotlib.imshow()` will be sufficient, in other 5% use another package for now or compile it with GUI
3441
support by yourself.
3542

36-
To compile it with `GTK-2` support (checked):
37-
All changes in `opencv-python-inference-engine/build/opencv/opencv_setup.sh`.
43+
#### Steps to compile it with `GTK-2` support (checked)
3844

45+
Make next changes in `opencv-python-inference-engine/build/opencv/opencv_setup.sh`:
3946
1. change string `-D WITH_GTK=OFF \` to `-D WITH_GTK=ON \`
4047
2. change `export PKG_CONFIG_PATH=$ABS_PORTION/build/ffmpeg/binaries/lib/pkgconfig:$PKG_CONFIG_PATH` -- you will need to
4148
add absolute paths to `.pc` files. On Ubuntu 18.04 it were
@@ -46,7 +53,7 @@ Exporting `PKG_CONFIG_PATH` for `ffmpeg` somehow messes with default values.
4653
### Not really `manylinux1`
4754

4855
The package is renamed to `manylinux1` from `linux`, because, according to [PEP 513](https://www.python.org/dev/peps/pep-0513/), PyPi repo does not want to apply other architectures.
49-
And compiling it for CentOS 2007 is pretty challenging and long and denies from using some of the necessary libs (like tbb).
56+
And compiling it for CentOS 5.11 is pretty challenging (there is no such lxd container plus I do not want to mess with docker) and denies from using some of the necessary libs (like tbb).
5057
Also, I suspect that it will be poorly optimized.
5158

5259
### Build `ffmpeg` with `tbb`
@@ -62,12 +69,11 @@ Maybe someday I will try it.
6269

6370
First 3 letters are the version of OpenCV, the last one -- package version. E.g, `4.1.0.2` -- 2nd version of based on 4.1.0 OpenCV package. Package versions are not continuously numbered -- each new OpenCV version starts its own numbering.
6471

65-
### MYRIAD plugin
66-
67-
MYRIAD plugin became opensource from dldt-2019_R1.1. It is possible to compile it -- read comments in `opencv-python-inference-engine/build/dldt/dldt_setup.sh`. And do not forget to copy not only `*.so` files but also `*.mvcmd`.
6872

6973
## Compiling from source
7074

75+
I compiled it on Ubuntu 16.04 Linux Container.
76+
7177
### Requirements
7278

7379
+ <https://github.com/opencv/dldt/blob/2018/inference-engine/README.md>

0 commit comments

Comments
 (0)