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

Distortion coefficient #3

Open
ADAS-Iv opened this issue Apr 21, 2021 · 7 comments
Open

Distortion coefficient #3

ADAS-Iv opened this issue Apr 21, 2021 · 7 comments

Comments

@ADAS-Iv
Copy link

ADAS-Iv commented Apr 21, 2021

Hello,

I'm trying to use GUI.py but I'm having some troubles with distortion coefficient: I see variation in the chessboard pattern only when I put the coefficients at their max value

@lxzrv
Copy link

lxzrv commented May 5, 2021

Hi! Faced with that problem too.
To fix it you should assign dtype of KpCoeff in vcam lib to any np.float type

Hello,

I'm trying to use GUI.py but I'm having some troubles with distortion coefficient: I see variation in the chessboard pattern only when I put the coefficients at their max value

@vgrllc
Copy link

vgrllc commented Jun 10, 2021

I just changed:

self.KpCoeff = np.array([0,0,0,0,0,0,0,0]

to:

self.KpCoeff = np.array([0,0,0,0,0,0,0,0], dtype=float)

in the vcam.py source and it is working.

@b-hakim
Copy link

b-hakim commented Sep 26, 2021

I just changed:

self.KpCoeff = np.array([0,0,0,0,0,0,0,0]

to:

self.KpCoeff = np.array([0,0,0,0,0,0,0,0], dtype=float)

in the vcam.py source and it is working.

Works for me!

Author need to make that change @kaustubh-sadekar

@truher
Copy link

truher commented Jun 14, 2022

+1 where's the vcam source?

@ahtsan
Copy link

ahtsan commented Jun 16, 2022

+1 where's the vcam source?

You can do the following in terminal

python3
>>> import vcam
>>> import os
>>> os.path.dirname(vcam.__file__)

@truher
Copy link

truher commented Jun 16, 2022

indeed. i meant "where is the vcam source in github so i can fix it for everyone?"

@henrikmidtiby
Copy link

I have managed to locate the source for the vcam python module and then added it to this fork of the project.

henrikmidtiby@918443d

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

7 participants