vaticwella

module
v0.0.0-...-62298a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2019 License: MIT

README

Vaticwella

Build Status

Overview

A service to process images using image processing techniques, and return the edited image. Service has: Super Sampling, Median filter, binary filter

To build: (go to main directory) go build vaticwella.go

To test: (top level directory) go test ./...

Docker

Dockerhub image: https://hub.docker.com/r/horvatic/vaticwella

To pull image from dockerhub: docker pull horvatic/vaticwella

To build a new docker image: (go to main directory) docker build -t vaticwella .

To run image: docker run --publish 8080:8080 --name vaticwella --rm vaticwella

Running The Service

host/{filter}?sa={searchArea}&runInParallel={ToRunInParallel}

Post an image to localhost:8080

ss = super sampling

mf = mean filter

bf = binary filter

sa (int) = search area

runInParallel (bool) = Using parallel processing

supported image formats: gif, jpeg, png

Example:

localhost:8080/mf?sa=10&runInParallel=false

localhost:8080/bf?sa=10&runInParallel=true

Directories

Path Synopsis
src
main command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL