Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lupino/process-image

An image process system.
https://github.com/lupino/process-image

haskell image-processing

Last synced: about 1 month ago
JSON representation

An image process system.

Awesome Lists containing this project

README

        

# process-image

An image process system.

# Build

Recommand build `process-image` with [`stack`](https://docs.haskellstack.org/en/stable/README/)

git clone https://github.com/Lupino/process-image.git
cd process-image
mkdir bin
echo 'local-bin-path: bin' >> stack.yaml
stack build
stack install

Build `upload-file.go`

export GOPATH=`pwd`
cd app
go get -d
go build upload-file.go
mv upload-file ../bin
cd ..

Install `periodicd`

wget https://github.com/Lupino/haskell-periodic/releases/download/v1.1.4.0/periodic-linux-v1.1.4.0.tar.bz2
cd bin
tar xvf ../periodic-linux-v1.1.4.0.tar.bz2
cd ..

# Quick start

./bin/periodicd
./bin/process-image config.yml
./bin/upload-file -bucket youbucket -accessKey youkey -accessID youid

# Process an image

periodic submit save icon.png -w @icon.png