Giter Site home page Giter Site logo

deepshapegrammars's Introduction

DeepShapeGrammars

Implementation of shape grammars with deep learning template matching in GIMP 3.

WARNING

This plugin is not fully implemented yet!

Installation

The plug-in is implemented in Python 3, so you need the 2.99 development version of GIMP to install it. To get the GIMP development version install flatpak if you haven't already:

sudo apt install flatpak

Add repositories to flatpak:

flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo

Install GIMP:

flatpak install flathub-beta org.gimp.GIMP

Test if Gimp installation is working:

flatpak run org.gimp.GIMP//beta

Under Filter > Development > Python-Fu > Python Console you should see something like:

GIMP 2.99.10 Python Console 
Python 3.9.9 (main, Nov 10 2011, 15:00:00) 
[GCC 11.2.0]

Now close GIMP, and get the pip3 installation script:

wget https://bootstrap.pypa.io/get-pip.py

Run the script with the Gimp internal Python 3 interpreter:

flatpak run --command=python org.gimp.GIMP get-pip.py

Now position yourself into the folder where you have downloaded Deep Shape Grammars and install the requirements.txt:

flatpak run --command=python org.gimp.GIMP -m pip install -r requirements.txt

Now with everything setup, run the installation script:

./install.sh

Start GIMP again, and if everything worked well, you should now see Deep Shape Grammars in the Filters > Artistic menu.

deepshapegrammars's People

Contributors

mschatten avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Kostas Georgiou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.