https://github.com/s8sg/image-filter-flow
Flow that apply filter on resized image
https://github.com/s8sg/image-filter-flow
faas-flow openfaas openfaas-function
Last synced: 6 months ago
JSON representation
Flow that apply filter on resized image
- Host: GitHub
- URL: https://github.com/s8sg/image-filter-flow
- Owner: s8sg
- Created: 2019-07-23T12:21:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-23T14:40:04.000Z (about 6 years ago)
- Last Synced: 2025-04-06T10:14:22.131Z (6 months ago)
- Topics: faas-flow, openfaas, openfaas-function
- Language: Go
- Homepage:
- Size: 699 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# image-filter-flow
Flow that apply filter effect on resized image## Dependency
### Filters
##### coherent-line-drawing
> source: https://github.com/esimov/openfaas-coherent-line-drawing
Need input to be in image mode
> Use more filter just by changing the filter query### Image Resizer - ResizeImageMagick
> Source: https://github.com/openfaas/faas/tree/master/sample-functions/ResizeImageMagick## Getting started
Clone
```
https://github.com/s8sg/image-filter-flow.git
```
Build
```
faas template pull https://github.com/alexellis/opencv-openfaas-template
faas template pull https://github.com/s8sg/faas-flow
faas build
```
Deploy
```
faas deploy
```
Invoke
```
cat openfaas-logo.jpg | faas invoke image-filter-flow --query="filter=coherent-line-drawing" > output.jpg
```