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

Could you make this into a library? #6

Open
adayton1 opened this issue Apr 12, 2018 · 0 comments
Open

Could you make this into a library? #6

adayton1 opened this issue Apr 12, 2018 · 0 comments

Comments

@adayton1
Copy link

First of all, it would be great to be able to install this using pip.

To be able to use this as a library in a python script would be great! Something along the lines of:

import faststyle
faststyle.stylize_image( img, output_img, model_path, ... )

It would be nice if it worked on a filepath or an image already opened by cv2. It would have to train for each size of image, so you'd probably have to instantiate an object with the given dimensions of your image. It would also be nice to use the with keyword so that the model doesn't have to stay in memory the whole time.

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

1 participant