-
Notifications
You must be signed in to change notification settings - Fork 7
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
Crashing, bad settings. #3
Comments
Which is correct isn't it?
|
Thanks for reporting this issue! From the looks of it, I think it is because the sprite height is >= half of the canvas height, so one of the computed regions gets a height of zero, causing openCV to be unhappy. Maybe try with canvas dimensions 3001 x 2001 ? I will try to reproduce the issue when I get some time |
sprite_n is necessary because say you have 1021 sprites, you may want to do a grid of 3232=1024 and tell the program to omit the last 3 cells, instead of having a 11021 spritesheet. |
Ah... yeah I get it... Would it be possible to generate a mask file, like the one above, then edit it manually... to create more irregular shapes (like jigsaw pieces) or even a thresholded photo.. then pass that in as a param, rather than those regular ellipses? |
Here are my project files, not that I expect you have time, just in case it sheads light on things... |
So both my style and target pic are 3000x2000 pixels.
My preset_xml is set to ...
and yet it always crashes like this,
I am attempting to create images that are made of recognisable fragments, so I want my sprite width to be quite big, and for the target image to be recognisable, but part style image... a bit like this picture of David Cameron UK MP.
https://www.inprnt.com/gallery/everythingability/pigs-ears-3/
It's the halfwayness I like...
The text was updated successfully, but these errors were encountered: