|
1 | | -# Install OpenVINO |
2 | | -1. Download the latest [OpenVINO™](https://github.com/openvinotoolkit/openvino/releases) for your version of Ubuntu. |
3 | | - |
4 | | - https://github.com/gblong1/openvino-ai-plugins-gimp/assets/22227580/79ce7302-4f53-4451-89a2-47d3ef8a29c8 |
5 | | - |
6 | | - |
7 | | -3. Extract the archive |
8 | | - ```sh |
9 | | - tar -xvf <ov-release-name>.tar.gz |
10 | | - ``` |
11 | | -4. Create an intel directory under `/opt` and move the extracted files to that directory |
12 | | - ```sh |
13 | | - sudo mkdir /opt/intel |
14 | | - sudo chown <user>:<group> /opt/intel |
15 | | - mv <ov-release-name> /opt/intel/. |
16 | | - ``` |
17 | | -5. Link the release as `openvino` under `/opt/intel` |
18 | | - ```sh |
19 | | - cd /opt/intel |
20 | | - ln -sf <ov-release-name> openvino |
21 | | - ``` |
22 | | - |
23 | 1 | # Build GIMP |
24 | 2 | 1. Create a directory where you will download and build all of the sources for GIMP |
25 | 3 | ```sh |
|
73 | 51 | 2. Run install script, and download models. The following steps will create the virtual environment "gimpenv3", install all required packages and will also walk you through models setup. |
74 | 52 | ```sh |
75 | 53 | chmod +x openvino-ai-plugins-gimp/install.sh |
76 | | - source /opt/intel/openvino/setupvars.sh |
77 | 54 | ./openvino-ai-plugins-gimp/install.sh |
78 | 55 | ``` |
79 | 56 | At the end of plugin setup, you will be prompted to setup the AI models used with OpenVINO™. Before proceeding, make note of the plugin directory and add that to the plugin path for GIMP before proceeding with model download. |
80 | 57 | Start the GIMP application (`gimp-2.99`), and add the gimpenv3 path that was printed when running the above step to the list of plugin folders [Edit-> Preferences-> Folders-> Plugins]. |
81 | 58 |
|
82 | | -https://github.com/gblong1/openvino-ai-plugins-gimp/assets/22227580/1bab09ae-9383-4d53-9615-eb87d2212e82 |
83 | | - |
84 | 59 | Choose the models that you would like to setup, keeping in mind that choosing to download all of them may take time and considerable disk space. |
85 | 60 |
|
86 | 61 | *You can re-run "run install script" step later again to install & setup models that you may have missed.* |
87 | 62 |
|
88 | 63 | # Verify Installation |
89 | 64 | Start GIMP, ensuring to setup the environment variables correctly, and you should see 'OpenVINO-AI-Plugins' show up in 'Layer' menu |
90 | 65 | ```sh |
91 | | - source /opt/intel/openvino/setupvars.sh |
92 | 66 | export GI_TYPELIB_PATH=/usr/lib/x86_64-linux-gnu/girepository-1.0:/usr/local/lib/x86_64-linux-gnu/girepository-1.0 |
93 | 67 | gimp-2.99 |
94 | 68 | ``` |
95 | 69 |
|
96 | | -https://github.com/gblong1/openvino-ai-plugins-gimp/assets/22227580/a6222235-2017-45f8-9594-f49ab4107a70 |
97 | 70 |
|
0 commit comments