https://github.com/horvatic/vaticwella
A service to process images using image processing techniques, and return the edited image.
https://github.com/horvatic/vaticwella
docker-image filter golang image-processing microservice restful-api
Last synced: 6 months ago
JSON representation
A service to process images using image processing techniques, and return the edited image.
- Host: GitHub
- URL: https://github.com/horvatic/vaticwella
- Owner: horvatic
- License: mit
- Archived: true
- Created: 2016-12-31T23:28:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-25T01:46:03.000Z (over 6 years ago)
- Last Synced: 2024-05-30T05:57:03.902Z (almost 2 years ago)
- Topics: docker-image, filter, golang, image-processing, microservice, restful-api
- Language: Go
- Size: 8.82 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vaticwella
[](https://travis-ci.org/horvatic/vaticwella)
## 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