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 input file as parameter, auto-detecting image size #14

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Cirromulus
Copy link

@Cirromulus Cirromulus commented Apr 9, 2022

This PR adds a command line parameter for the input image, fixing #2.
Will generate the loss images and .obj in the same folder with the same name as the original image.

Somewhat unrelated, I also added a dynamic number of passes, terminating when the loss compared to the previous run converges (arbitrarily when the improvement is only one percent).
This allows for more precision, if the algorithm is able to.
If this feature is not desired, I can add a separate PR for that and remove it from here.

@Cirromulus Cirromulus changed the title Add input file as parameter, auto-detecting resolution Add input file as parameter Apr 9, 2022
@Cirromulus Cirromulus changed the title Add input file as parameter Add input file as parameter, auto-detecting image size Apr 9, 2022
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

Successfully merging this pull request may close these issues.

1 participant