blob: 7e35f360f356698f117ee7f78e54a00c86de88f7 (
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
48
49
50
51
52
53
54
55
56
57
58
|
# 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
### Install from the source
To install from the source, proceed the following:
git clone https://git.tojo.tokyo/extract-green-color.git
cd extract-green-color
./bootstrap
./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+
|