Skip to content
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

Open
alexellis opened this issue Aug 13, 2018 · 8 comments
Open

Add caire image resizer as sample function. #36

alexellis opened this issue Aug 13, 2018 · 8 comments

Comments

@alexellis
Copy link
Member

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"

@martindekov
Copy link

It seems interesting, can I take a shot at this?

@alexellis
Copy link
Member Author

Perhaps @esimov could take a look at it? My only concern is whether the resizing would time-out.

@esimov
Copy link
Contributor

esimov commented Aug 29, 2018

I will give it a try once i will came back from vacation. Is there a given timeout set for the returning function?

@alexellis
Copy link
Member Author

Yes we can configure it. Most return in under 10s though. Enjoy your break

@esimov
Copy link
Contributor

esimov commented Sep 9, 2018

@alexellis i would opt for a json as an input source. What do you think?

@alexellis
Copy link
Member Author

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?

@esimov
Copy link
Contributor

esimov commented Sep 16, 2018

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.

@psyhomb
Copy link

psyhomb commented Apr 21, 2019

It's definitely not powerful as caire but it is simple and it is written for OpenFaaS => #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants