# GIMP-ML : Semantics for GNU Image Manipulation Program
### [YouTube](https://www.youtube.com/channel/UCzZn99R6Zh0ttGqvZieT4zw) [Instagram](https://www.instagram.com/explore/tags/gimpml/) [Manual](https://github.com/kritiksoman/GIMP-ML/wiki/User-Manual) [Preprint](https://arxiv.org/abs/2004.13060) [Medium](https://medium.com/@kritiksoman)
Updates:
[August 2] Added deep matting and k-means.
[July 17] MonoDepth and Colorization models have been updated.
# Screenshot of Menu
![image1](https://github.com/kritiksoman/tmp/blob/master/screenshot.png)
# Installation Steps
[1] Install [GIMP](https://www.gimp.org/downloads/).
[2] Clone this repository: git clone https://github.com/kritiksoman/GIMP-ML.git
[3] Open GIMP and go to Preferences -> Folders -> Plug-ins, add the folder gimp-plugins and close GIMP.
[4] Download [weights.zip](https://drive.google.com/open?id=1mqzDnxtXQ75lVqlQ8tUeua68lDqUgUVe) (1.48 GB) and save it in gimp-plugins folder.
[5] Open terminal and run :
```bash installGimpML.sh```
```bash moveWeights.sh ```
[6] Open GIMP.
# Common Issues
[1] No output on running plugin: Please right click on layer and remove alpha channel before using plugins.
[2] GIMP-ML menu not visible: Do following and restart GIMP.
```
sudo apt install gimp-python
cd gimp-plugins
chmod -x *
chmod +x *.py
```
# Citation
Please cite using the following bibtex entry:
```
@article{soman2020GIMPML,
title={GIMP-ML: Python Plugins for using Computer Vision Models in GIMP},
author={Soman, Kritik},
journal={arXiv preprint arXiv:2004.13060},
year={2020}
}
```
# License
| Tools | License |
| ------------- |:-------------:|
| facegen | CC BY-NC-SA 4.0 |
| deblur | BSD 3-clause |
| faceparse | MIT |
| deepcolor | MIT |
| monodepth | MIT |
| super-resolution | MIT |
| deepmatting | Non-commercial purposes |
| deeplab | MIT |