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
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+14-36
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
# opencv-python-inference-engine
4
4
5
-
This is *Unofficial* pre-built OpenCV with the inference engine part of [dldt module](https://github.com/opencv/dldt/) package for Python.
5
+
This is *Unofficial* pre-built OpenCV with the inference engine part of [OpenVINO](https://github.com/openvinotoolkit/openvino) package for Python.
6
6
7
7
## Installing from `pip3`
8
8
@@ -23,23 +23,23 @@ You will need to preprocess data as a model requires and decode the output. A de
23
23
24
24
The official way is clumsy because you need to git clone the whole [model_zoo](https://github.com/opencv/open_model_zoo) ([details](https://github.com/opencv/open_model_zoo/issues/522))
25
25
26
-
Better to find a model description [here](https://github.com/opencv/open_model_zoo/blob/master/models/intel/index.md) and download manually from [here](https://download.01.org/opencv/2020/openvinotoolkit/2020.1/open_model_zoo/models_bin/1/)
26
+
Better to find a model description [here](https://github.com/opencv/open_model_zoo/blob/master/models/intel/index.md) and download manually from [here](https://download.01.org/opencv/2021/openvinotoolkit/2021.2/open_model_zoo/models_bin/3/)
27
27
28
28
29
29
## Description
30
30
31
31
32
32
### Why
33
33
34
-
I needed an ability to fast deploy a small package that able to run models from [Intel's model zoo](https://github.com/opencv/open_model_zoo/) and use [Movidius NCS](https://software.intel.com/en-us/neural-compute-stick).
34
+
I needed an ability to fast deploy a small package that able to run models from [Intel's model zoo](https://github.com/openvinotoolkit/open_model_zoo) and use [Movidius NCS](https://software.intel.com/en-us/neural-compute-stick).
35
35
Well-known [opencv-python](https://github.com/skvark/opencv-python) can't do this.
36
36
The official way is to use OpenVINO, but it is big and clumsy (just try to use it with python venv or fast download it on cloud instance).
37
37
38
38
39
39
### Limitations
40
40
41
41
+ Package comes without contrib modules.
42
-
+ You need to [add udev rules](https://github.com/opencv/dldt/blob/2019/inference-engine/README.md#for-linux-raspbian-stretch-os) if you want working MYRIAD plugin.
42
+
+ You need to [add udev rules](https://www.intel.com/content/www/us/en/support/articles/000057005/boards-and-kits.html) if you want working MYRIAD plugin.
43
43
+ It was tested on Ubuntu 18.04, Ubuntu 18.10 as Windows 10 Subsystem and Gentoo.
44
44
+ It will not work for Ubuntu 16.04 and below (except v4.1.0.4).
45
45
+ I had not made builds for Windows or MacOS.
@@ -57,7 +57,6 @@ The official way is to use OpenVINO, but it is big and clumsy (just try to use i
57
57
### Main differences from OpenVINO
58
58
59
59
+ No model-optimizer
60
-
+ OpenBLAS instead of MKL ([details](https://github.com/banderlog/opencv-python-inference-engine/issues/5#issuecomment-599563729))
61
60
+ No [ITT](https://software.intel.com/en-us/articles/intel-itt-api-open-source)
62
61
+ No [IPP](https://software.intel.com/en-us/ipp)
63
62
+ No [Intel Media SDK](https://software.intel.com/en-us/media-sdk)
@@ -70,12 +69,7 @@ For additional info read `cv2.getBuildInformation()` output.
70
69
71
70
### Versioning
72
71
73
-
~~The first 3 letters are the version of OpenCV, underscore, then inference engine (dldt/openvino) version, underscore, package version.
74
-
E.g, `4.5.1_2120.2_0` -- first version of based on 4.5.1 OpenCV package with 2021.2 inference engine module.
75
-
Package versions are not continuously numbered -- each new OpenCV-dldt version pair starts its own numbering.~~
76
-
77
-
Above stuff is not [PEP440](https://www.python.org/dev/peps/pep-0440/) compliant. Had to switch to `YYYY.MM.DD`
78
-
72
+
`YYYY.MM.DD`, because it is the most simple way to track opencv/openvino versions.
79
73
80
74
## Compiling from source
81
75
@@ -86,28 +80,19 @@ I am using Ubuntu 18.04 [multipass](https://multipass.run/) instance: `multipass
86
80
### Requirements
87
81
88
82
From [opencv](https://docs.opencv.org/master/d7/d9f/tutorial_linux_install.html), [dldt](https://docs.opencv.org/master/d7/d9f/tutorial_linux_install.html),
89
-
[ffmpeg](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu), [openBLAS](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu) and [ngraph](https://www.ngraph.ai/documentation/buildlb)
90
-
91
-
+`build-essential`
92
-
+`>=cmake-3.11`
93
-
+`autoconf` (for ngraph)
94
-
+`libtool-bin` (for ngraph)
95
-
+`git`
96
-
+`pkg-config`
97
-
+`python3-dev`
98
-
+`virtualenv`
99
-
+`chrpath`
100
-
+`libusb-1.0-0-dev` (for MYRIAD plugin)
101
-
+`nasm` (for ffmpeg)
83
+
[ffmpeg](https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu), and [ngraph](https://www.ngraph.ai/documentation/buildlb)
102
84
103
85
```bash
104
86
# We need newer `cmake` for dldt (fastest way I know)
Copy file name to clipboardExpand all lines: create_wheel/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# README
2
2
3
-
This is a pre-built [OpenCV](https://github.com/opencv/opencv) with [dldt](https://github.com/opencv/dldt) module package for Python3.
4
-
You need that module if you want to run models from [Intel's model zoo](https://github.com/opencv/open_model_zoo/).
3
+
This is a pre-built [OpenCV](https://github.com/opencv/opencv) with [Inference Engine](https://github.com/openvinotoolkit/openvino) module package for Python3.
4
+
You need that module if you want to run models from [Intel's model zoo](https://github.com/openvinotoolkit/open_model_zoo).
5
5
6
6
It built with `ffmpeg` and `v4l` but without GTK/QT (use matplotlib for plotting your results).
7
7
Contrib modules and haarcascades are not included.
0 commit comments