VirtualCam
VirtualCam copied to clipboard
Distortion coefficient
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
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
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.
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
+1 where's the vcam source?
+1 where's the vcam source?
You can do the following in terminal
python3
>>> import vcam
>>> import os
>>> os.path.dirname(vcam.__file__)
indeed. i meant "where is the vcam source in github so i can fix it for everyone?"