
By
16.05.2019 | 20 minutes reading time
Tweet
At
The
But first of all, thanks again to the

In the last blog post I already showed you how to cut out the snails. But that was very complicated. So this time I would like to show you how to do it more easily.
In order for you to be able to follow the instructions, you need some Linux knowledge. If you get stuck at some point, ask someone who can help you.
You can find the source code for the snail cutting tool on
$ git clone https://github.com/jdobber/mollex.git
$ cd mollex
$ meson --prefix=$HOME --buildtype=debug build
$ cd build
$ ninja
Now you should find the program mollex
in the directory build
. With ninja install
you can install the program with the possibility of not entering the full path again, when you’re using it next time.
Try this in a new terminal. After entering mollex
you should see something like this:
Usage: mollex [options] source destination
Extract snails from images.
Options:
-h, --help Displays this help.
-v, --version Displays version information.
--verbose Show debug information.
--json Write metadata as JSON to stdout.
Arguments:
source Source image to process.
destination Destination directory.
Now we create two directories where we store our pictures and our cut out snails:
$ mkdir bilder bilder/schnecken
$ cd bilder
In the
Now we download the picture (
wget
in the terminal. Afterwards you paste the address you copied above. Here it looks like this:
wget http://gbif.naturkundemuseum-berlin.de/CDV2018/Mollusken/Arten/ZMB_Mol_100095_1.jpg
Now we can start cutting out. For this we open the mollex
app:
mollex ZMB_Mol_100095_1.jpg schnecken
It takes a moment. If everything went well, the cut out snails are in the directory schnecken
(snails). Here it looks like this:

Have fun with it! Try to take another picture. In the next blog posts we will show you how to use the snails in your own creative projects.