interactionresearchstudio / NaturewatchCameraServer

A Python / OpenCV camera server to stream Pi camera content to a remote client through a website.
https://mynaturewatch.net
GNU General Public License v3.0
103 stars 48 forks source link

fully re-setup the camera in the event of an error #5

Closed MrChaz closed 6 years ago

MrChaz commented 6 years ago

Sometimes there is some kind of timeout / error when getting the low-res stream (internet not super helpful). This fully recreates the camera. It also takes the write lock off the saving of the files in favour of copying the high-res image array as I think that might have been causing it to save blank images