aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: e48555868fe77a982e8690f3f793cec2d2fe509a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Extract-green-color

Extract green color from a photo of LCD Writing Tablet.

## Requirements

* [GNU Guile](https://www.gnu.org/software/guile/) >= 2.2.7
* [Guile-CV](https://www.gnu.org/software/guile-cv/index.html) >= 0.2.1

## Installation

### Install with Guix

Add `tojo-tokyo` channel to `~/.config/guix/channels.scm`:

    (cons* (channel
            (name 'tojo-tokyo)
            (url "https://git.tojo.tokyo/tojo-tokyo-guix-channel.git")
           %default-channels)

And proceed following:

    guix pull
    guix install extract-green-color

### Install from the tarball

To install from the tarball, proceed the following:

    wget https://files.tojo.tokyo/extract-green-color/extract-green-color-1.0.0.tar.gz
    tar xvf extract-green-color-1.0.0.tar.gz
    cd extract-green-color
    ./configure
    make
    make install

## Usage

To extract green color from `input.png` to `output.png`, proceed the following:

    extract-green-color.scm input.png output.png

To see more details, run `extract-green-color.scm --help`.

## License

GNU GPLv3+