-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add caire image resizer as sample function. #36
Comments
It seems interesting, can I take a shot at this? |
Perhaps @esimov could take a look at it? My only concern is whether the resizing would time-out. |
I will give it a try once i will came back from vacation. Is there a given timeout set for the returning function? |
Yes we can configure it. Most return in under 10s though. Enjoy your break |
@alexellis i would opt for a json as an input source. What do you think? |
I think that might be a good choice. The users would just have to know how to input the data. Maybe we should extend the UI to create samples/examples of inputs? |
Hey @alexellis i have integrated Caire as an OpenFaaS function. Here is the PR #41. Please check it and let me know if something is missing or needs to be corrected. |
I think we should add an image resizer into the store.
This one looks to have shot up to popularity with 8k stars: https://github.com/esimov/caire
It does smart things like scale/resize images while retaining the scale for faces, it can even extend the width of images etc.
Not sure of the best user interface, we could use a string like a human-readable sentence - or JSON as the input. JSON is obviously easier. Human-readable string may be: "Resize this URL https:// to 100 pixel width"
The text was updated successfully, but these errors were encountered: