# GIMP-ML
## [Wiki](https://github.com/kritiksoman/GIMP-ML/wiki) [Instagram](https://www.instagram.com/explore/tags/gimpml/) [Medium](https://medium.com/@kritiksoman) [Preprint](https://arxiv.org/abs/2004.13060) [YouTube](https://www.youtube.com/watch?v=U9k1k7IpAlg&list=PLo9r5wFmpD5dLWTyo6NOiD6BJjhfEOM5t)
Semantics for GNU Image Manipulation Program.
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/GIMP-ML/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}
}
```