Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Calculation uses width instead of height? #1

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

Calculation uses width instead of height? #1

pakdev opened this issue Nov 2, 2021 · 0 comments

Comments

@pakdev
Copy link

pakdev commented Nov 2, 2021

According to your article:
image

However, your code divides by width:
Distance1 = 11.5*(img.shape[1]/float(w))

Shouldn't that be:
Distance1 = 11.5*(img.shape[1]/float(h))

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant