UFOID / UFO-Detector

UFO Detector
http://ufoid.net/
GNU General Public License v3.0
54 stars 8 forks source link

Segmentation fault on wrong camera size (Raspberry) #69

Closed hekkup closed 3 months ago

hekkup commented 7 years ago

If camera size is set wrong in the settings, it causes segmentation fault in Raspberry Pi. Tested with OpenCV 3.2.0 which might have to do something with it. Setting correct camera dimensions in config file will run normally. Segfault doesn't happen in PC side (Linux) even if camera dimensions are incorrect (OpenCV 3.1.0).

UFOID commented 7 years ago

I have noticed that as well. The current ways to handle wrong specified resolution or other camera issues don't seem to catch the error on Raspberry