OmniCV-Lib
OmniCV-Lib copied to clipboard
fisheye2equirect Problem
https://stackoverflow.com/questions/72891231/python-omnicv-fisheye-camera
It doesn't work properly. help me.
Hi, I run the code and got the same problem as yours. Did you solve the problem after?
@johnmmm I couldn't solve it. sorry
Hi, I have solved this problem. It is because of the wrong use of the '\n'in line 116 and 117 in file omnicv.py.
self.map_x = np.multiply(r, np.cos(theta)).T.astype(np.float32)
+ self.Cx
In this line, the self.Cx actually not added to self.map when running the code, which led to this wrong answer.