biigle / laserpoints

:m: BIIGLE module to perform a heuristic laser point detection on images
GNU General Public License v3.0
0 stars 0 forks source link

Fatal error division by zero #45

Open mzur opened 2 years ago

mzur commented 2 years ago
/var/www/vendor/biigle/laserpoints/src/config/../resources/scripts/detect.py:58: RuntimeWarning: divide by zero encountered in double_scalars
  aqm = (flen * width) / a * (flen * height) / a
Traceback (most recent call last):
  File "/var/www/vendor/biigle/laserpoints/src/config/../resources/scripts/detect.py", line 77, in <module>
    "message": "The estimated image area is too large (max is 50 sqm but was {} sqm).".format(round(aqm)),
OverflowError: cannot convert float infinity to integer