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
[1] Provides a set of OpenVino based plugins that add AI features to GIMP. <br>
15
+
[1] Provides a set of OpenVINO™ based plugins that add AI features to GIMP. <br>
16
16
[2] Serve as a refrence code for how to make use of OpenVino in GIMP application for inferencing on Intel's' CPU & GPU <br>
17
17
[3] Add AI to routine image editing workflows. <br>
18
18
@@ -25,30 +25,50 @@ Please raise a PR for any new features, modifactions or bug fixes.
25
25
26
26
## Installation Steps
27
27
28
+
### Install OpenVINO™
29
+
- Download and install [OpenVINO™](https://github.com/openvinotoolkit/openvino/releases) for your operating system.
30
+
- Note that these plugins have been tested with 2023.1.0 and 2023.2.0
31
+
- For Intel® Core™ Ultra support, you need to download and install OpenVINO™ from the archive. Do not use pypi for installation.
32
+
33
+
28
34
### Windows
29
35
Skip steps 1 and 2 if you already have Python3 and Git on Windows
30
36
31
37
#### 1. Install Python
32
-
- Download a Python installer from python.org. Choose Python 3.7, 3.8, 3.9 and make sure to pick a 64 bit version. For example, this 3.9.13 installer: https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe <br>
38
+
- Download a Python installer from python.org. Choose Python 3.9 or 3.10 and make sure to pick a 64 bit version. For example, this 3.9.13 installer: https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe <br>
33
39
- Double click on the installer to run it, and follow the steps in the installer. Check the box to add Python to your PATH, and to install py. At the end of the installer, there is an option to disable the PATH length limit. It is recommended to click this. <br>
34
40
35
41
#### 2. Install Git
36
42
- Download and install [GIT](https://git-scm.com/)
- run install script - this will create the virtual environment "gimpenv3", install all required packages and will also walk you through models setup. <br>
4. Run install script - this will create the virtual environment "gimpenv3", install all required packages and will also walk you through models setup. <br>
56
+
```
57
+
openvino-ai-plugins-gimp\install.bat
58
+
```
59
+
You will be prompted to setup the AI models used with OpenVINO™. 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.
47
60
*You can re-run "run install script" step later again to install & setup models that you may have missed.* <br>
48
61
49
62
3. Start the GIMP application, and add the gimpenv3 path that was printed when running the above step to the list of plugin folders [Edit-> Preferences-> Folders-> Plugins]. <br>
50
-
Example: ```Plug-ins in GIMP : <path\to>\gimpenv3\lib\site-packages\gimpopenvino\plugins``` Add this path to [Edit-> Preferences-> Folders-> Plugins] in GIMP <br>
51
-
4. Restart GIMP, and you should see 'OpenVINO-AI-Plugins' show up in 'Layer' menu <br>
Note that you need to run setupvars.bat everytime you start GIMP. Creating a .bat file to do these steps may be helpful.
52
72
53
73
### Linux
54
74
This plugin is tested on Ubuntu 22.04.
@@ -89,21 +109,31 @@ ninja -C _build
89
109
sudo ninja -C _build install
90
110
```
91
111
#### 5. Install Plugins
92
-
1. Clone, 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.
3. 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.
122
+
```
96
123
chmod +x openvino-ai-plugins-gimp/install.sh
124
+
source /opt/intel/openvino/setupvars.sh
97
125
./openvino-ai-plugins-gimp/install.sh
98
126
```
127
+
You will be prompted to setup the AI models used with OpenVINO™. 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.<br>
99
128
*You can re-run "run install script" step later again to install & setup models that you may have missed.* <br>
100
-
2. Setup the environment Note that you will need to do these steps everytime you start GIMP
129
+
130
+
5. 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]. <br>
131
+
6. Restart GIMP, and you should see 'OpenVINO-AI-Plugins' show up in 'Layer' menu <br>
4. 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]. <br>
106
-
5. Restart GIMP, and you should see 'OpenVINO-AI-Plugins' show up in 'Layer' menu <br>
107
137
108
138
# OpenVINO™ Image Generator Plugin with Stable Diffusion
0 commit comments