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

Scaling Issue #13

Open
alfialdo opened this issue Nov 2, 2021 · 0 comments
Open

Scaling Issue #13

alfialdo opened this issue Nov 2, 2021 · 0 comments

Comments

@alfialdo
Copy link

alfialdo commented Nov 2, 2021

The stackImages() function didn't scale the image even after the 'scale' parameter being specified.

Just change this line:

sizeW= imgArray[0][0].shape[1]
sizeH = imgArray[0][0].shape[0]

To:

sizeW= int(imgArray[0][0].shape[1] * scale)
sizeH = int(imgArray[0][0].shape[0] * scale)

and remove the other scale variables

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