Precompiled binaries are available for Linux and macOS through GitHub releases. The binaries are distributed with a precompiled CPU version of Tensorflow.
Building sticker has the following requirements:
- A reasonably modern Rust compiler.
- Tensorflow built as a dynamic library (the Python module is only to construct/write the graph).
Install the dependencies using Homebrew:
$ brew install rustup-init libtensorflow
# Install/configure the Rust toolchain.
$ rustup-init
Then compile and install sticker:
$ cd sticker
$ cargo install --path sticker-utils
sticker should then be installed in ~/.cargo/bin/sticker