PaintsChainer GIMP 2.8 plug-in
This plug-in write main.pid file in run directory on PaintsChainer root.
$ cd $HOME/src/PaintsChainer
$ mkdir run
Move painter.py in the same directory as cgi-exe.py.
$ mv painter.py cgi-bin/paint_x2_unet/
Edit setting in paints-chainer.py:
PAINTS_CHAINER_ROOT = os.environ['HOME'] + '/src/PaintsChainer'
Move paints-chainer.py in GIMP plug-ins directory (not scripts directory).
$ mv paints-chainer.py $HOME/.gimp-2.8/plug-ins/
GIMP plug-in must be executable (on Unix).
$ chmod +x $HOME/.gimp-2.8/plug-ins/paints-chainer.py
Run painter.py on PaintsChainer root.
$ cd $HOME/src/PaintsChainer
$ python cgi-bin/paint_x2_unet/painter.py
start
load model
Launch GIMP (Options for debug):
$ gimp-2.8 -c --verbose
On GIMP, open your line image (as line layer). Add a transparent layer (as color hint layer) above the line layer. Select the color hint layer, and run plug-in through menu: Filters/Artistic/_Paints Chainer