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
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,16 +12,30 @@ Remove previously installed versions of `cv2`
12
12
pip3 install opencv-python-inference-engine
13
13
```
14
14
15
+
## Examples of usage
15
16
16
-
## Why
17
+
I'll do more straightforward and well-documented examples of usage in the foreseeable future. But for now, please see the tests folder.
18
+
19
+
You will need to preprocess data as a model requires and decode the output. A description of the decoding *should* be in the model documentation with examples in open-vino documentation, however, in some cases, the original article may be the only information source. Some models are very simple to encode/decode, others are tough (e.g., PixelLink in tests).
20
+
21
+
22
+
## Downloading intel models
23
+
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
+
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/)
27
+
28
+
29
+
## Description
30
+
31
+
32
+
### Why
17
33
18
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).
19
35
Well-known [opencv-python](https://github.com/skvark/opencv-python) can't do this.
20
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).
21
37
22
38
23
-
## Description
24
-
25
39
### Limitations
26
40
27
41
+ Package comes without contrib modules.
@@ -59,12 +73,6 @@ For additional info read `cv2.getBuildInformation()` output.
59
73
The 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.
60
74
61
75
62
-
## Downloading intel models
63
-
64
-
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))
65
-
66
-
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/)
67
-
68
76
69
77
## Compiling from source
70
78
@@ -201,7 +209,8 @@ Our opensource MKL-DNN experiment will end with 125MB `libmklml_gnu.so` and infe
201
209
202
210
#### CUDA
203
211
204
-
I did not try it. And it is not in the package for certain [reasons](https://github.com/banderlog/opencv-python-inference-engine/issues/9).
212
+
I did not try it. But it cannot be universal, it will only work with the certain combination of GPU+CUDA+cuDNN for which it will be compiled for.
213
+
205
214
206
215
+[Compile OpenCV’s ‘dnn’ module with NVIDIA GPU support](https://www.pyimagesearch.com/2020/02/10/opencv-dnn-with-nvidia-gpus-1549-faster-yolo-ssd-and-mask-r-cnn/)
207
216
+[Use OpenCV’s ‘dnn’ module with NVIDIA GPUs, CUDA, and cuDNN](https://www.pyimagesearch.com/2020/02/03/how-to-use-opencvs-dnn-module-with-nvidia-gpus-cuda-and-cudnn/)
0 commit comments