dewarp
dewarp copied to clipboard
Playing with the RasberryPi, odd lenses, and dewarping.
I have an error. ImportError: Cannot load OpenCV library which is required by SimpleCV But I have cv2. How can I fix this error? Python 2.7 Windows 10
python2.7 dewarp.py BUILDING MAP! ERROR: Traceback (most recent call last): File "dewarp.py", line 78, in xmap,ymap = buildMap(Ws,Hs,Wd,Hd,R1,R2,Cx,Cy) File "dewarp.py", line 20, in buildMap map_x = int(np.zeros((Hd,Wd),np.float32)) TypeError: 'float' object...
using rpi camera v2 - should be the only difference ERROR: Traceback (most recent call last): File "dewarp.py", line 68, in R2x = vals[2][0] IndexError: list index out of range
Hello, Im trying to test your code but when im running it with python dewrap.py. I gets the following error: pi@raspberrypi ~/Downloads/dewarp-master $ python dewarp.py ERROR: Traceback (most recent call...
Now uses numpy array operations instead of iterating over elements. Profiling shows runtime on my machine dropped from 7.045s to 0.017s (!!) Should make it much nicer to run on...