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 feature to convert python list of numpy images to grid images #23
Add feature to convert python list of numpy images to grid images #23
Conversation
Hi @kylehounslow, thanks for contributing. Can you tell me a little more about this functionality? Specifically, it would be a nice to see a screenshot of the output of your code. I imagine the intended functionality is to create a fixed size montage of images, but I just want to make sure. Often it's really helpful to see a screenshot of the input and output to ensure I'm understanding the intended functionality matches the code. |
Hi @jrosebr1, you bet. The following is the code to be added to
Example:
Output:
Output: Let me know your thoughts. |
@kylehounslow Thanks for sharing the example input and output, that is super helpful. I'm ready to go ahead and merge this in, I would just request changing the name of the function from In OpenCV "lingo" the word "mosaic" more accurately reflects what this function does. |
@jrosebr1 "mosaic" sounds way better. Go ahead and make the change. Glad to have this merged in and will be back to contribute when I can. |
@jrosebr1 I changed the function signature to |
Done! Thank you for your contribution @kylehounslow. I also think this will make a nice PyImageSearch blog post in the future -- I'll likely demo this functionality on the blog. |
@jrosebr1 cool! Will stay tuned. |
Hi Adrian,
I really like what you're doing with imutils and your blog, keep it up!
I'd like to submit a feature
make_grids_of_images
to imutils as part of theconvenience.py
module if you approve:Brief:
Often I need to crawl image datasets which have large, convoluted folder structures. I find it useful to create some grid images to visualise the dataset as well and share with my colleagues.
Example usage - "The Perfect Desktop Background":
Let me know what you think and feel free to refine/use as you wish.
Cheers,
Kyle