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

Unusual resizing of the output image art #1

Open
Shiny-Akash opened this issue Aug 4, 2020 · 0 comments
Open

Unusual resizing of the output image art #1

Shiny-Akash opened this issue Aug 4, 2020 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Shiny-Akash
Copy link
Owner

The dimensions of the image printed on the terminal is hard coded . Is there any way to make it select a size that suits the current input image dimensions.

From line 26 in make_art.py:

height, width = image.shape
new_width = int(width / 20)
new_height = int(height / 40)
resized_image = cv2.resize(image, (new_width, new_height),)

The Input Image aspect ratio is not preserved . The output art is resized abnormally for images with one dimension far greater than the other .

@Shiny-Akash Shiny-Akash added good first issue Good for newcomers help wanted Extra attention is needed labels Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant