kscottz / dewarp

Playing with the RasberryPi, odd lenses, and dewarping.
147 stars 52 forks source link

Type error: 'float' object cannot be interpreted as an index #5

Open wrightwoldscientific opened 6 years ago

wrightwoldscientific commented 6 years ago

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 cannot be interpreted as an index

yo-shari commented 5 years ago

I have this issue too!!!